Start apache
Were do you put the start up command to start apache when
I boot up? At present I have to boot from a terminal when I start up my laptop. |
bscho,
It's just a few steps: 1. make a symbolic link from /usr/local/apache/bin/apachectl to /etc/rc.d/init./httpd 2. make a symbolic link from /etc/rc.d/init.d/httpd to /etc/rc.d/rc3.d/S30httpd 3. make a symbolic link from /etc/rc.d/init.d/httpd to /etc/rc.d/rc5.d/S30httpd 4. make a symbolic link from /etc/rc.d/init.d/httpd to /etc/rc.d/rc3.d/K04httpd 5. make a symbolic link from /etc/rc.d/init.d/httpd to /etc/rc.d/rc5.d/K04httpd If you need it, the command is Code:
ln -s /usr/local/apache/bin/apachectl /etc/rc.d/init./httpd **This is assuming you have compiled Apache from source HTH |
You can run the following command as root:
Code:
chkconfig apache2 on Good luck! |
start apache
Quote:
Do you know the local page that you can put these commands on? There is a file rclocal you can put such commands on. |
I think the file you are referring to is actually /etc/rc.local
You could start apache from there, just remember to also include the argument 'start' to kick it off. add the line /usr/local/apache2/bin/apachectl start to /etc/rc.local |
start apache
Quote:
|
All times are GMT -5. The time now is 07:16 PM. |