Recent need to build a network to access external SVN server, so he thought to build on the existing server.
System: CentOS 7.0 x86_64 (64bit) (pagoda panel)
server: Mitutoyo `cloud of free cloud server
a: install svnserve
> yum -y install Subversion
Second, create a repository directory
> mkdir / var / svn / svnrepos
Third, create a svn version library
> svnadmin create / var / svn / svnrepos / xxxx (xxxx you expect repository name, can be customized)
Fourth, the configuration changes
into the conf
> cd / var / svn / svnrepos / xxxx / conf
modify authz file information, file added to the end:
[/]
zhangsan = RW
modifying the passwd file information, file added at the end:
zhangsan = 123456
modify the svnserve.conf, before removing the pound sign to the following:
anon-Access = Read
the auth = Write Access-
password-DB = passwd
the authz = authz -db
realm = My First Repository
V. start svn server
>svnserve -d -r /var/svn/svnrepos
Set up SVN server on a Linux server.
Guess you like
Origin www.cnblogs.com/haibo2087/p/11238253.html
Recommended
Ranking