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. ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
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. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
Quote:
satimis |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php apache2 mysql | pansarevai | Web servers | 1 | 03-05-2008 12:06 AM |
| run a command automatically after every 10 mins | vikas027 | Shell scripting | 1 | 11-01-2007 07:24 PM |
| Redhat Enterprise Linux RHEL - Start service on boot | chimu | Getting started tutorials | 0 | 01-26-2007 07:29 PM |
| VirtualHost Problems on Apache2 | rcordeiro | Linux software | 3 | 11-08-2006 10:30 PM |
| debian apache2 cgi-bin location | Linux software | 1 | 01-24-2006 06:44 PM | |