Apache2 安装配置
上一篇 /
下一篇 2010-08-30 17:05:47
/ 个人分类:配置管理
Apache2
51Testing软件测试网9ElUv%}解压安装51Testing软件测试网;@Bv)}(uBT
[root@localhost src]# tar -zvxf httpd-2.0.61.tar.gz
'v2p%xIF:[SIK0[root@localhost src]# cd httpd-2.0.61
-_\%pGZ6rN051Testing软件测试网!mE9gOgN[root@localhost src]# ./configure --prefix=/usr/local/apache2 --enable-deflate --enable-cache --enable-file-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --enable-forward --enable-expires --enable-speling --enable-so --with-mpm=worker51Testing软件测试网u\ X o
P
[root@localhost src]# make51Testing软件测试网 d[
UA!a;z C
[root@localhost src]# make install
7?vT#qpHZ\0C EY2gf%E1E`2_0
}d.L/{,Z/V051Testing软件测试网)f_,}/`4PqzkNL1、 关闭和启动Apache2测试51Testing软件测试网
K$|4VZ[kY!L,j
进入到Apache2的安装目录启动Apache2测试看是否安装成功51Testing软件测试网KxE8T_!D@
Ux6s4iI@f0 cd /apache2/bin51Testing软件测试网vt4@"@0m
x1EWjbo SQ
./apachectl start 或者 ./httpd -k start
^3zf.ee9AF0 在浏览器的地址栏输入http://localhost 或者 http://IP地址 即可看到运行结果.表示安装和运行成功.51Testing软件测试网#nlT
dSe
51Testing软件测试网({Mm8W,n-e9gi
相关常用命令: