|
|

楼主 |
发表于 2004-3-7 10:31:14
|
显示全部楼层
刚刚试了一下到/usr/local/apache2/bin下执行
#./httpd
显示
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
在浏览器输入127.0.0.1出现Apache的欢迎页了~
就是不知道教程里说到
/etc/rc.d/init.d/httpd start
和
/usr/local/bin/apachectl start
是什么,为什么无法运行
是不是编译安装到的时候系统没有自动创建脚本到那几个地方呢?
官方到的说明文档里是这样说的
$ ./configure --prefix=PREFIX
$ make
$ make install
$ PREFIX/bin/apachectl start
NOTES: * Replace PREFIX with the filesystem path under which
Apache should be installed. A typical installation
might use "/usr/local/apache2" for PREFIX (without the
quotes).
也是要到apache的bin目录下运行apachectl start呀,教程中所说的
# /etc/rc.d/init.d/httpd start
和
# /usr/local/bin/apachectl start
是不是老板本的Apache才有? |
|