码迷,mamicode.com
首页 > 数据库 > 详细

ubuntu下apache和mysql的命令

时间:2015-05-30 23:54:32      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:

    1. // Apache  
    2. //Task: Start Apache 2 Server /启动apache服务  
    3. # /etc/init.d/apache2 start  
    4. //or  
    5. $ sudo /etc/init.d/apache2 start  
    6. //Task: Restart Apache 2 Server /重启apache服务  
    7. # /etc/init.d/apache2 restart  
    8. //or  
    9. $ sudo /etc/init.d/apache2 restart  
    10. //Task: Stop Apache 2 Server /停止apache服务  
    11. # /etc/init.d/apache2 stop  
    12. //or  
    13. $ sudo /etc/init.d/apache2 stop   
    14. // Mysql  
    15. /etc/init.d/mysql start  
    16. /etc/init.d/mysql stop  
    17. /etc/init.d/mysql restart 

ubuntu下apache和mysql的命令

标签:

原文地址:http://www.cnblogs.com/yuwensong/p/4541163.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!