环境:centos 5.5 32位
- tar -zxvf subversion-deps-1.6.17.tar.gz
- cd subversion-1.6.17
- cd apr
- ./configure
- make
- make install
- cd ..
- cd apr-util/
- ./configure --with-apr=/usr/local/apr/
- make
- make install
- cd ../
2 安装apache
- tar -zxvf httpd-2.2.17.tar.gz
- cd httpd-2.2.17
- ./configure --prefix=/usr/local/httpd --enable-dav --enable-so --enable-maintainer-mode --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr/bin/apu-1-config
- make && make install
3 安装subversion
- tar -zxvf subversion-1.6.17.tar.gz
- cd subversion-1.6.17
- ./configure --with-apxs=/usr/local/httpd/bin/apxs --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr
- make
- make install
4、查看subversion两个动态库有没有安装成功
5、配置SVN
- <Location /svn>
- DAV svn
- SVNParentPath /data/svn/repos
- AuthType Basic
- AuthName "Subversion repository"
- AuthUserFile /data/svn/passwd
- AuthzSVNAccessFile /data/svn/auth
- Require valid-user
- </Location>
6、建立SVN存储仓库
7、建立本地访问控制文件
- [groups]
- adminadmin_group = admin
- server_group = liuhaiqing,test
- [/]
- @admin_group = rw
- @server_group = rw
9 更改目录所有者
chown –R daemon. daemon /data/svn/repos