`

apache的安装

阅读更多

下载apache2.0然后运行

#tar zxvf httpd.tar.gz
#cd httpd-2.0.59
#./configure –prefix=/usr/local/http –enable-so –enable-rewrite
#make
#make install
#make clean

修改httpd.conf

#vi /usr/local/httpd/conf/http.conf
添加
ServerName localhost

运行

#/usr/local/http/bin/apachectl start

自动运行服务

#cp /usr/local/http/bin/apachectl /usr/local/etc/rc.d/http.sh

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics