博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ubuntu下apache和mysql的命令
阅读量:6886 次
发布时间:2019-06-27

本文共 471 字,大约阅读时间需要 1 分钟。

    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 

转载于:https://www.cnblogs.com/yuwensong/p/4541163.html

你可能感兴趣的文章
邮件服务器迁移方案让企业邮箱安心“搬家”
查看>>
Reflect
查看>>
Linux下的串口系列---struct termios结构体
查看>>
squid代理服务器
查看>>
Exchange Server 2010 SP1 安装时提示“无法检测SMTP连接器”
查看>>
用例设计大全(整理)
查看>>
如何建立高效的测试团队
查看>>
C++中引用的定义及使用
查看>>
cacti+nagios+ntop网络系统监控
查看>>
我的友情链接
查看>>
C++ 与 JAVA 的区别
查看>>
磁盘分区脚本
查看>>
ubuntu 12.4 zeromq-2.2 binding language java
查看>>
CentOS6.2下搭建LVS(DR)+Keepalived实现高性能高可用负载均衡服务器
查看>>
Spring boot 连接多数据源
查看>>
我的友情链接
查看>>
使用FastDFS搭建图片服务器单实例篇
查看>>
Linux系统中掩耳盗铃的sudo配置
查看>>
C# yeild使用
查看>>
C语言编写cgi程序(下)
查看>>