标签:ubuntu 启动 .net target ref sdn replace strong apache2
Linux系统为Ubuntu
一、启动apache服务
# /etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start
or service apache2 restart //经常用这个
二、重启apache服务
# /etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
三、停止apache服务
# /etc/init.d/apache2 stop
启动mysql数据库
sudo /etc/init.d/mysql start
重启
sudo /etc/init.d/mysql restart
关闭
sudo /etc/init.d/mysql stop
标签:ubuntu 启动 .net target ref sdn replace strong apache2
原文地址:http://www.cnblogs.com/aln0825/p/7343576.html