Linux / UNIX Tech Support Forum
This is a discussion on How to start Apache2 automatically at boot within the Web servers forums, part of the Mastering Servers category; Hi folks, VMWare Server Ubuntu 7.04 server amd64 (Host) CentOS 5 x86_64 (Guest) I need to start Apache2 at boot. ...
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 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 Code:
-rwxr-xr-x 1 root root 2497 Mar 15 2007 xinetd B.R. satimis |
| Sponsored Links | ||
|
|
|
||||
|
Apache2 is not started using xinetd. You need to use /etc/init.d/httpd script.
RHEL / CentOS uses - ntsysv command to setup boot service Code:
ntsysv Debian / Ubuntu user has sysvconfig command Code:
sudo sysvconfig
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
|
|||
|
Quote:
satimis |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Debian Apache2 Enable PHP and Perl | pansarevai | Web servers | 3 | 21-11-2008 01:11 AM |
| run a command automatically after every 10 mins | vikas027 | Shell scripting | 1 | 01-11-2007 07:24 PM |
| Redhat Enterprise Linux RHEL - Start service on boot | chimu | Getting started tutorials | 0 | 26-01-2007 07:29 PM |
| VirtualHost Problems on Apache2 | rcordeiro | Linux software | 3 | 08-11-2006 10:30 PM |
| debian apache2 cgi-bin location | Linux software | 1 | 24-01-2006 06:44 PM | |