Linux(CentOS)?μ?apache???????????????
???????????? ???????[ 2015/3/30 14:03:38 ] ???????????ù??? ??????? ?????? ????
????????????
????yum install httpd
????yum install mysql-server
????yum install php
????yum install php-mysql
???????WEB????????Apache
????1??web???????????
????2??Apache?????
????3??????
????http://www.netcraft.com/?????apache?????????г??????
????????????????ngnix????????????????????????????к?apache??????μ?о????????????η~~~
????????Apache???????????????
????1???????????service httpd start/stop/restart/reload/condrestart/status/configtest/graceful/help
????2??????????/etc/init.d/httpd start/stop/.....
????3?????????????????ntsysv+????
????????Apache???????????????
????1??WEB?????
????/var/www Apache??????????
????/var/www/html ???WEB????WEB???
????/var/www/cgi-bin CGI???????
????/var/www/html/manual Apache WEB?????????
????2?????????
????.htaccess ?????????????????.htaccess?????????????????????????????????
????/etc/httpd/conf/httpd.conf Apache WEB???????????????
????3????????
????/etc/rc.d/init.d/httpd WEB????????????????????
????/etc/rc.d/rc3.d/S85httpd ?????м?????/etc/rc3.d?????????/etc/rc.d/init.d?е???????
????4????????
????/usr/sbin ???Apache WEB?????????????????ó????λ??
????/usr/doc/ ????Apache WEB?????????
????/var/log/http ????Apache ????????λ??
???????????????
????1????Apache????????apachectl -C
????2????Apache?????????????????飺apachectl -t
????3????Apache???????ò?????apachectl -V
????4????Apache???????飺apachectl -l
?????塢httpd.conf???????
?????????????????
????httpd.conf?????????????????????
????1. ???????????????????Apache?????????????????????????????
????2. ?????????????????????????????????????????????????????????????ò???
????3. ??????????????????????????ò???
???????У????д???????“”??????У??????????????????????????????Сд??“#”???????
?????????????????httpd.conf?е??????????
????1??????????????·??
???????????????Apache????????????????????????????????????????"/etc/httpd"??????????conf??logs????????????????"ServerRoot"/etc/httpd""??????????á?
????2??????Apache??????IP????????
????Apache????????????п???IP??????TCP 80???????????????????????Listen?????????????????????????????????????÷??????????192.168.0.94??80???????????httpd.conf?н?????????????Listen 192.168.0.94:80????????????????8080??????????"Listen 192.168.0.94:8080"????????????????????????????????????????????????????????????????????????????"http://192.168.0.94:8080"???????з???????????????Linux??IP??192.168.0.94??windows??IP??192.168.0.225
????3?????????????????????????
???????????????????????????????????????????????????????????????????????棬??????????????????????????????й???????????????????????????ServerAdmin????????ù?????????????????????"ServerAdmin xinyuan365@sohu.com"??
??????
???·???
??????????????????
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