标签:svn
yum install httpd -y yum install mod_dav_svn subversion -y vim /etc/httpd/conf.d/subversion.conf [root@bogon svn]# cat /etc/httpd/conf.d/subversion.conf LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so <Location /svn/> DAV svn SVNParentPath /svn #<LimitExcept GET PROPFIND OPTIONS REPORT> # Require SSL connection for password protection. # SSLRequireSSL AuthType Basic AuthName "Authorization Realm" #AuthUserFile /svndata/test/conf/passwdfile AuthUserFile /etc/subversion/passwd AuthzSVNAccessFile /etc/subversion/auth Require valid-user #</LimitExcept> </Location> [root@bogon svn]#mkdir -p /svn chown -R apache.apache /svn touch /etc/subversion/passwd /etc/subversion/auth chown own apache.apache /etc/subversion/passwd /etc/subversion/auth yum install php -y
wget https://github.com/mfreiholz/iF.SVNAdmin/archive/stable-1.6.2.zip unzip stable-1.6.2.zip cp -r iF.SVNAdmin-stable-1.6.2/ /var/www/html/svnadmin cd /var/www/html chown -R apache.apache svnadmin cd /var/www/html/svnadmin cd /var/www/html/svnadmin
systemctl restart httpd
trunk是生产环境的包
branches是开发环境的包
tags是每次上线完毕以后项目的trunk的包打一个tag
标签:svn
原文地址:http://blog.51cto.com/wsxxsl/2103444