Linux下Apache http 服务器安装配置

 1121  cd /opt
 1122  mkdir apache-httpd-2.2.14
 1123  ls
 1124  cd software/
 1125  ls
 1126  tar zxvf httpd-2.2.14.tar.gz
 1127  ls
 1128  cd httpd-2.2.14
 1129  ls
 1130  ./configure --prefix=/opt/apache-httpd-2.2.14 -enable-so -enable-proxy -enable-proxy-ajp -enable-proxy-http -enable-proxy-ftp -enable-proxy-connect -enable-proxy-balancer
 1131  make
 1132  make install
 1136  cd /opt
 1137  ls
 1138  cd apache-httpd-2.2.14/
 1139  ls
 1140  cd conf/
 1141  ls
 1142  vim httpd.conf  更改Listen端口
 1143  ls
 1144  cd ..
 1145  ls
 1146  bin/apachectl
 1147  bin/apachectl start 启动apache
 1148  bin/apachectl status
 1149  bin/apachectl stop  停止apache

Web 主目录是
[root@gmnode14 htdocs]# pwd
/opt/apache-httpd-2.2.14/htdocs

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值