centos5.6 apache+svn+ssl 源码安装和配置
1.下载资源
httpd-2.2.20.tar.gz、subversion-deps-1.6.17.tar.gz、 susubversion-1.6.17.tar.gz、zlib-1.2.3.tar.gz
2.源码安装apache
tar zxvf httpd-2.2.20.tar.gz cd httpd-2.2.20 ./configure --prefix=/usr/local/apache --enable-dav --enable-modules=so -- enable-dav-fs --enable-maintainer-mode --enable-rewrite --with-apr=/usr/local/apr-httpd --with-apr-util=/usr/local/apr-util-httpd make && make install
3.源码安装subversion
tar zxvf subversion-deps-1.6.17.tar.gz tar zxvf susubversion-1.6.17.tar.gz cd susubversion-1.6.17 ./configure --prefix=/usr/local/subversion --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apr-httpd --with-apr-util=/usr/local/apr-util-httpd --with-ssl --with-zlib=/usr/local/zlib --enable-maintianer-mode make && make install
4、设置apache为系统自启动服务
创建apache启动脚本
ln-s/usr/local/apache/bin/apachectl/etc/init.d/apache
修改 /etc/init.d/apache vi /etc/init.d/apache
在#!/bin/sh下添加以下内容
# # chkconfig: - 85 15 # description: Apache is a World Wide Web server. # processname: apache
添加apache为系统服务(开机启动)
chkconfig --add apache chkconfig apache on
相关推荐
瓜牛呱呱 2020-11-12
柳木木的IT 2020-11-04
yifouhu 2020-11-02
lei0 2020-11-02
源码zanqunet 2020-10-28
源码zanqunet 2020-10-26
一叶梧桐 2020-10-14
码代码的陈同学 2020-10-14
lukezhong 2020-10-14
lzzyok 2020-10-10
anchongnanzi 2020-09-21
clh0 2020-09-18
changcongying 2020-09-17
星辰大海的路上 2020-09-13
abfdada 2020-08-26
mzy000 2020-08-24
shenlanse 2020-08-18
zhujiangtaotaise 2020-08-18
xiemanR 2020-08-17