Results 1 to 2 of 2
Hi folks, VMWare Server Ubuntu 7.04 server amd64 (Host) CentOS 5 x86_64 (Guest) I need to start Apache2 at boot. I have xinetd installed and could not figure out how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-02-2008 #1
- Join Date
- Sep 2004
How to start Apache2 automatically at boot
Ubuntu 7.04 server amd64 (Host)
CentOS 5 x86_64 (Guest)
I need to start Apache2 at boot. I have xinetd installed and could not figure out how to set it for such a function.
# ls /etc/xinetd.d/Code:
chargen-dgram discard-stream gssftp tcpmux-server chargen-stream echo-dgram klogin time-dgram daytime-dgram echo-stream krb5-telnet time-stream daytime-stream eklogin kshell discard-dgram ekrb5-telnet rsync
# ls -l /etc/rc.d/init.d/ | grep xinetdCode:
-rwxr-xr-x 1 root root 2497 Mar 15 2007 xinetd
Besides I tried to reconfigure Apache2 and cound not find dpkg-reconfigure which is Debian package. What will be its equivalent on CentOS? Is there yum repo providing this package? TIA
- 02-02-2008 #2
There is no need to use xinetd in this case. You have to do
#chkconfig httpd on
#service httpd start