- # /etc/init.d/apache2 start
- $ sudo /etc/init.d/apache2 start
- # /etc/init.d/apache2 restart
- $ sudo /etc/init.d/apache2 restart
- # /etc/init.d/apache2 stop
- $ sudo /etc/init.d/apache2 stop
- /etc/init.d/mysql start
- /etc/init.d/mysql stop
- /etc/init.d/mysql restart
ubuntu下apache和mysql的命令
原文:http://www.cnblogs.com/yuwensong/p/4541163.html