This is a discussion on Re: Apache2 starting at boot time within the Apache Web Server forums, part of the Web Server and Related Forums category; > Go to /etc/init.d and enter the command > ln -s /usr/local/apache2/bin/apachectl httpd > &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> Go to /etc/init.d and enter the command > ln -s /usr/local/apache2/bin/apachectl httpd > > Next, go to /etc/rc5.d and enter the following command (after seeing the > explanation below): > ln -s /etc/init.d/httpd S90httpd > > A bit of explanation: The first command creates a symlink in /etc/init.d to > the apachectl executable. The second command creates another symlink, this > time in the rc5.d directory. Before you make that second symlink, run this > command: > runlevel (or you might have to give the full path, probably: > /sbin/runlevel) > You should get a number (or two) from this command. I'd just take the > rightmost one (that's your current runlevel), and use that number for the > rc*.d directory. For example, if runlevel gives you > N 4 > execute the second command above in /etc/rc4.d instead of /etc/rc5.d. You'll > probably be dealing with runlevel 5 though. > > Gabriel > You know, I posted this message in one of the Linux forums in Internet and I got no reply. I posted this on alt.pl.comp.linux.newbie - no reply. I posted this here, on alt.apache.configuration and voila! You're the only one, that replied to my question. Thanks! It worked! I. O. U. |
| Thread Tools | |
| Display Modes | |
|
|