Thursday, August 16, 2007

Services start processing in Ubuntu

1. in Ubuntu the default run level is 2, so anything run from /etc/rc2.d which are link to /etc/init.d (Add or remove from here)

2. for manually start apache, run like sudo /etc/init.d/apache start, following run the command /usr/sbin/apachectl.....

3. if you want to use another version other than Ubuntu version, you have to go to /path/to/apachectl start. remember setup log and other PID... like in /etc/init.d/apache

No comments: