安装apache后输入apache start一直出现:
之后输入apachectl start,会提示:
httpd (pid 4084) already running
之后输入root@ubuntu:/etc/init.d# ./apache2 start
会有提示:[ ok ] Starting apache2 (via systemctl): apache2.service.
此时服务器启动,在浏览器中输入IP地址,就可以出现: