1. Environment
centos6.4
2. Install svn
yum -y install subversion
3. Configuration
Create repository directory
mkdir /var/www/svndata
4. Create repository
Create a new Subversion project
cd /var/www/svndata
svnadmin create njlrxx
Configure to allow user jiqing to access
cd /var/www/svndata/njlrxx/conf
vi svnserve.conf
anon-access=none
auth-access=write
password-db=passwd
Note: There must be no space in front of the modified file, otherwise an error occurs when starting the svn server
vi passwd
[users]
#<user1>=<password1>
#<user2>=<password2>
jiqing=123456
5. The client connects to
svn co svn://ip/njlrxxusername
:jiqingpassword
:123456
svn installation and configuration through yum under linux
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326698830&siteId=291194637
Recommended
Ranking