centos6上安装 Subversion,步骤很简单。
1、sudo yum install subversion
2、sudo /usr/sbin/useradd svn
sudo passwd svn
3、su svn
mkdir repositories
4、cd repositories
svnadmin create myproject
5、You need to edit "myproject/conf/svnserve.conf" and uncomment the following lines:
anon-access = none
auth-access = write
password-db = passwd
6、edit the password file "myproject/conf/passwd" adding a new user and password
[users]
john = foobar123
7、svnserve -d -r /home/svn/repositories
8、svn://svn@hostname/myproject
ref:http://www.electrictoolbox.com/install-subversion-centos/
hooks
post-commit:
export LANG=zh_CN.UTF-8
svn update --username lyw --password lyw123 /work/htdocs/lijiabeibei.com
本文只是简单介绍了svn的安装步骤,未对其配置作详细介绍,有兴趣的朋友可以搜索下本站相关的文章。