我想确保apache2服务已停止。如何检查Apache2是否在Ubuntu中停止?
1. I need to verify if apache2 is installed or not.
当我输入:
sudo /etc/init.d/apache2 stop
我:
sudo: /etc/init.d/apache2: command not found
这是否意味着未安装的Apache2?还是安装在另一个地方?
2. check apache2 process:
当我输入:
ps a | grep apache2
我:
10448 pts/4 S+ 0:00 grep --color=auto apache2
这是否意味着Apache2的运行?
3. http://localhost test
我:
Google Chrome could not connect to localhost
我如何验证的Apache2被停止?
=> superuser.com ... – 2013-04-22 20:26:01
java为什么被标记。 – w4etwetewtwet 2013-04-22 20:26:46
你必须实际给apache一个命令.... – Colleen 2013-04-22 21:01:13