11.04惹的祸

刚开始我是按照下面的网页的方法安装的:
http://man.chinaunix.net/newsoft/Apache ... stall.html
截图:
附件:

Screenshot.png [ 91.01 KiB | 被浏览 48 次 ]



安装完之后,我
/usr/local/apache2/bin/apachectl start 来启动,,提示说什么apache-common没有安装吧。。。
那我就 用它提示的sudo安装了...

后来我又按照http://forum.ubuntu.org.cn/viewtopic.php?f=88&t=201981网页里的方法安装
即sudo apt-get install apache2
截图:
附件:

Screenshot-1.png [ 60.11 KiB | 被浏览 48 次 ]



现在我想知道,,这两种方法,会不会造成冲突??
apachectl是什么,是个服务吗,我service apachectl status 得到apachectl: unrecognized service

bells@bells:~$ sudo /usr/local/apache2/bin/apachectl start
httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

bells@bells:~$ sudo /etc/init.d/apache2 start
* Starting web server apache2 [ OK ]

如果我想把我用第一种方法,即编译安装的方式给删除掉,该怎么办??

作者: bellszhu   发布时间: 2011-06-06

不清楚,
以前玩lamp的时候是在新立得里把apache ,mysql 和php一起装了的

作者: qy117121   发布时间: 2011-06-06