centos 安装svn

卸载

yum remove subversion

安装

yum -y install subversion

仓库目录

mkdir -p /home/svn/project

版本目录

svnadmin create /home/svn/project

主目录切换

cd /home/svn/project/conf

服务配置

vim svnserve.conf
anon-access = read              
auth-access = write          
password-db = passwd         
authz-db = authz                  
realm = /home/svn/project  

权限配置

vim authz
admin = admin
[/]
@admin = rw

用户配置

vim passwd

[users]
# harry = harryssecret
# sally = sallyssecret
admin = 123456

停止运行

killall svnserve

启动

svnserve -d -r /home/svn/project

你可能感兴趣的:(之前博客搭建,centos,svn,linux)