Apache autostart

Posted by: admin at 11 Monday 8th, 2008

Start and restart Apache server is configured to start automatically.
The server has been previously set as follows.
 # cd /usr/local/etc/rc.d
# cp /usr/local/apache2/bin/apachectl /usr/local/etc/rc.d/apache.sh
# chmod 0755 /usr/local/etc/rc.d/apache.sh 
It is, apachectl start to start with it recently is as follows.
/etc/rc.local
 # Start Apache
/usr/local/apache2/bin/apachectl start 
apachectl will pass through if you do not know how to install different versions and looks in the following way.
 # which apachectl 

Filed under Web server (Apache2) |

Leave a Comment