linux安装apache2
[root@localhost src]# ls httpd-2.2.19.tar.gz
httpd-2.2.19.tar.gz
[root@localhost src]# tar zxvf httpd-2.2.19.tar.gz[root@localhost src]# cd httpd-2.2.19[root@localhost src]# ./configure --prefix=/home/web/apache/ --enable-shared=max --enable-module=rewirte --enable-module=so
[root@localhost httpd-2.2.19]# make[root@localhost httpd-2.2.19]# make install
[root@localhost httpd-2.2.19]/home/web/apache/bin/apachectl start
从浏览器访问apache所在的IP,默认为80端口,http:/localhost
如果出现
IT WORKS
说明apache已经安装完毕
相关推荐
Kafka 2020-09-18
Wepe0 2020-10-30
杜倩 2020-10-29
windle 2020-10-29
minerd 2020-10-28
mengzuchao 2020-10-22
Junzizhiai 2020-10-10
bxqybxqy 2020-09-30
风之沙城 2020-09-24
kingszelda 2020-09-22
大唐帝国前营 2020-08-18
yixu0 2020-08-17
TangCuYu 2020-08-15
xiaoboliu00 2020-08-15
songshijiazuaa 2020-08-15
xclxcl 2020-08-03
zmzmmf 2020-08-03
newfarhui 2020-08-03
likesyour 2020-08-01