Environmental centos6.4
Server: 192.168.2.231
Install SVN
official website Download:http://subversion.apache.org/packages.html
SVN client:TortoiseSVN, official website download:http://tortoisesvn.net/downloads.html
A.yum Install Subversion
B. create a new directory to store all SVN files
# MKDIR/SVN
C. create a new resource warehouse
# svnadmin Create/svn/project # ls/svn/project/conf db format hooks locks README.txt
Directory use Description:
l Hooks directory: directory where hook script files are placed
l Locks Directory: the directory used to place Subversion db lock files and db_logs lock files to track the clients accessing the vault
l Format file: is a text file with only an integer in it, indicating the version number of the current vault configuration
l conf directory: Is the configuration file of this warehouse (user access account, permissions, etc.) of the Warehouse
D. configuring The SVN service configuration file svnserver.conf file
# vi/svn/project/conf/svnserve.conf [General] anon-access = None Auth-access = Write password-db =/svn/project/c onf/passwd authz-db =/svn/project/conf/authz Realm = My Test Repository #这是个提示信息
Save do not leave blank before annotations are removed
E. add two access users and Passwords
# VI/SVN/PROJECT/CONF/PASSWD [users] hangzhou = 123456 Lixi = 123456 Liujin = 123456
Save with no spaces
F. configuring authorization files for new users
# Vi/svn/project/conf/authz [groups] admin = Lixi,liujin user = Hangzhou [/] @admin = RW @user = r * =
Save with no spaces
start svn service
Svnserve-d-r/svn/project/
[[Email protected]_168_2_223 conf]# Ps-ef | grep SVN
Root 897 1 0 12:18? 00:00:00 svnserve-d-r/svn/project/
Root 767 0 12:57 pts/3 00:00:00 grep svn
H. using Client connections
clients that use windows
Open TortoiseSVN Repository Browser Tools
in the in the URL, enter:
svn://192.168.2.231 Enter, prompt for user name and password
650) this.width=650; "style=" Float:none; "title=" 2222.jpg "src=" http://s3.51cto.com/wyfs02/M01/6F/65/ Wkiom1wbnkzzpnizaaftgvouhco890.jpg "alt=" Wkiom1wbnkzzpnizaaftgvouhco890.jpg "/>
650) this.width=650; "style=" Float:none; "title=" 1111.jpg "src=" http://s3.51cto.com/wyfs02/M01/6F/65/ Wkiom1wbnk2bb993aaevzyevtbg387.jpg "alt=" Wkiom1wbnk2bb993aaevzyevtbg387.jpg "/>
The SUV service was built successfully
This article is from the "Fluffy Duck" blog, please be sure to keep this source http://woshitieren.blog.51cto.com/2466034/1671553
SVN server Setup under Linux