在CentOS 5.5 部署Apache HTTP服务器 2.0

来源:LinuxIDC.com 作者:LinuxIDC.com
  

1.download

[root@localhost ]# lynx http://www.apache.org/dist/httpd/httpd-2.2.19.tar.gz

2.extract

[root@localhost ]# gzip -d httpd-2.2.19.tar.gz

[root@localhost ]# tar -xvf httpd-2.2.19.tar

3.Configure as default

[If you need customed configure, please  run "./configure --help" for details. ]

[root@localhost ]# ./configure

4.Compile

[for this step, maybe you need install gcc first. You can run "yum install gc" to install gc ]

[root@localhost ]# make

5.Install

[root@localhost ]# make install

6.Customize

[root@localhost ]# vi PREFIX/conf/httpd.conf

 

7.start and stop

[root@localhost ]# PREFIX/bin/apachectl start

[root@localhost ]# PREFIX/bin/apachectl stop


时间:2011-10-18 10:29 来源:LinuxIDC.com 作者:LinuxIDC.com 原文链接

好文,顶一下
(2)
66.7%
文章真差,踩一下
(1)
33.3%
------分隔线----------------------------


把开源带在你的身边-精美linux小纪念品
无觅相关文章插件,快速提升流量