Linux安装配置apache
2015-09-15 15:37
495 查看
1.获取软件: http://httpd.apache.org/ httpd-2.2.21.tar.gz
wget http://apache.fayea.com//httpd/httpd-2.2.31.tar.gz
2.安装步骤:
解压源文件:
运行./configure 命令进行编译源代码,
--prefix=/usr/local/apach2 是设置编译安装到的系统目录,
--enable-s 参数是使httpd服务能够动态加载模块功能,
--enable-rewrite 是使httpd服务具有网页地址重写功能。
3.启动apache:
/usr/local/apache2/bin/apachectl start
转自:http://www.cnblogs.com/fly1988happy/archive/2011/12/14/2288064.html
wget http://apache.fayea.com//httpd/httpd-2.2.31.tar.gz
2.安装步骤:
解压源文件:
1 tar zvxf httpd-2.2.21.tar.gz 2 cd httpd-2.2.21 3 ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite 4 make 5 make install
运行./configure 命令进行编译源代码,
--prefix=/usr/local/apach2 是设置编译安装到的系统目录,
--enable-s 参数是使httpd服务能够动态加载模块功能,
--enable-rewrite 是使httpd服务具有网页地址重写功能。
3.启动apache:
/usr/local/apache2/bin/apachectl start
转自:http://www.cnblogs.com/fly1988happy/archive/2011/12/14/2288064.html
相关文章推荐
- apache配置视频随意拖动播放功能
- Linux apache的运行用户和用户组
- mac osx下配置apache
- apache2.4 建虚拟目录
- 如何为Apache JMeter开发插件(一)
- apache 的常用:1反射赋值方法 2数组追加字符、填充fill、集合转化为数组
- apache虚拟目录配置
- 局域网中其他电脑访问我的电脑上的apache服务器
- CentOS6.5 PHP5.4.0+Apache2.4.1+MySQL5.5.21 编译安装
- Linux 安装 Apache
- apache和php扩展问题
- Apache Thrift的简单使用
- 在CentOS5.2+apache2.2下安装配置mod_ssl
- 在apache2.2 php5.3.6 mysql5.5下出现#1366号mysql错误解决办法
- Building a Movie Recommendation Service with Apache Spark & Flask - Part 2
- Building a Movie Recommendation Service with Apache Spark & Flask - Part 1
- windows xp 下Ubuntu虚拟机安装及Apache安装测试
- Apache CXF Tutorial – WS-Security with Spring
- Apache Camel异常处理
- Web Services Tutorial with Apache CXF