Apache??????ù???
???????????? ???????[ 2014/8/11 11:18:06 ] ?????????????????? ???ù???
??????????Apache
????????????http://httpd.apache.org/
????1. ???Apache
????# tar zxvf httpd-2.2.11.tar.gz
????# cd httpd-2.2.11
????# ./configure --prefix=/usr/local/apache --enable-so
????//??????????????????--enable-so
????# make
????# make install
????2. ????????????????Apache????
????# vi /etc/rc.d/rc.local
????//??rc.local????????/usr/local/apache/bin/apachectl –k start??
????????????Apache
????1. ???httpd.conf???
????# vi /usr/local/apache/conf/httpd.conf
????1?? ?????????·??
???????????Apache???????????????????????????ò????ServerRoot?????λ??“/usr/local/apache”?????????£?
????2?? ???ü???IP?????????
???????????????????IP?????TCP80???????????£?
????Listen 80
???????????????????????????Listen????????????????????????????????磺
????Listen 192.168.99.9:80
????Listen 172.16.0.20:8080
????3?? ???????????E-mail
???????ServerAdmin???????ù????E-mail????????????Email????root@guoxuemin.cn
????4?? ???÷???????????????
????????ServerName???????÷???????????????????????????????????????IP????????????????IP????192.168.99.9??
????5?? ??????????·??
?????????????ò???DocumentRoot???÷????????????·???????磬????·?????/usr/local/apache2/htdocs
????6?? ??????????
????Apache???????????index.html?????????Directory Index??????????????磬??index.php???????????????index.php index.html
????7???????
?????????????????????http://192.168.99.9?????????????
????2. ?????????
???????<Directory ??·??>??</Directory>???????????????磺
????<Directory “/var/www/icons”>
????Options Indexes MultiViews
????AllowOverride None
????Order allow??deny
????Allow from all
????</Directory>
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11