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
If you need more details, you can refer to http://www.souzz.net/online/apachemanual/install.html#download

本文提供了一步一步的指南来安装Apache HTTP服务器,包括下载、解压、配置、编译、安装和定制等关键步骤。
2900

被折叠的 条评论
为什么被折叠?



