CentOS5.4x

1、首先下载apache2.2 下载地址:http://mirrors.sohu.com/apache/httpd-2.2.16.tar.gz

2、然后下载SVN

a) 包:subversion-deps-1.6.12.tar.gz

i. 地址:http://subversion.tigris.org/downloads/subversion-deps-1.6.12.tar.gz

b) susubversion-1.6.12.tar.gz  地址:

i. http://subversion.tigris.org/downloads/subversion-1.6.12.tar.gz 

3、然后解析Apache2,安装

4、tar -zxvf httpd-2.2.16.tar.gz

5、安装Apache

a) ./configure -prefix=/opt/web/apache2 --enable-mods-shared=all --enable-so

b) Make

c) Make install

6、检查APACHE是否安装成功:

启动apache:/opt/web/apache2/bin/apachectl start

7、安装Svn

8、首先解压: tar -zxvf subversion-deps-1.6.12.tar.gz

9、然后解压:tar -zxvf susubversion-1.6.12.tar.gz 

10、安装命令:

a) ./configure --prefix=/opt/web/subversion --with-apxs=/opt/web/apache2/bin/apxs --with-apr=/opt/web/httpd-2.2.16/srclib/apr  --with-apr-util=/opt/web/httpd-2.2.16/srclib/apr-util

11make  make install

12、此时服务器已经安装完成,然后建立仓库,/opt/web/subversion/bin/svnadmin create /opt/web/repository  

13、配置权限:chown -R apache:apache /opt/web/repository 

14、修改apache配置文件httpd.conf中的 User 和Group 为

User apache

Group apache

猜你喜欢

转载自guming123416.iteye.com/blog/773742
5.4