httpd-2.2.17.tar.gz subversion-1.6.16.tar.gz subversion-deps-1.6.16.tar.gz
安装httpd tar zxvf httpd-2.2.17.tar.gz cd httpd-2.2.17 ./configure --enable-dav --enable-so --enable-maintainer-mode --
prefix=/usr/local/apache2 make && make install /usr/local/apache2/bin/apachet1 start
安装subversion tar zxvf subversion-1.6.16.tar.gz tar zxvf subversion-deps-1.6.16.tar.gz cd subversion-1.6.16 ./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/local/subversion make && make install
建立仓库 /usr/local/subversion/bin/svnadmin create /home/mysvn 整合apache和subversion chown -R apache.apache /home/mysvn chmod -R 777 /home/mysvn
添加用户,整合apache和subversion及权限设置
添加用户 /usr/local/apache2/bin/htpasswd -c /home/mysvn/svn-auth-file wellpan
整合apache和subversion vi /usr/local/apache2/conf/httpd.conf
DAV svn
SVNPath /home/mycvs
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/mysvn/svn-auth-file
Require valid-user
权限设置 vi /home/mysvn/svn-auth-file wellpan:4.XpNFB44J.o2 [repository:/ ] wellpan = wr ~ /usr/local/apache2/bin/apachet1 restart
访问http://192.168.15.169/svn/repository/
相关链接
http://training.51cto.com/art/201005/199680.htm