#java01-inside Build SVN server
#安装SVN服务端
Rpm-qa |grep Subversion
Yum Remove Subversion If you have an older version, you need to first uninstall
Yum Install Subversion-y
Svnserve--version view version to test if installation is successful
Mkdir-p/home/svn/game
Svnadmin Create/home/svn/game
cd/home/svn/game/conf/
Vim Authz
[game:/]
Mopgaming=rw
Vim passwd
[Users]
Mopgaming =mopgaming
Vim svnserve.conf
anon-access= Read
auth-access = Write
Password-db = passwd
Authz-db = Authz
Realm = Game
Svnserve-d-R/HOME/SVN
#设置SVN添加开机自启动服务
Vim/lib/systemd/system/svn.service
[Unit]
DESCRIPTION=SVN Server
After=network.target
[Service]
Typt=forking
Execstart=svnserve-d-R/HOME/SVN
[Install]
Wantedby=multi-user.target
Systemctl Daemon-reload
Systemctl Enable Svn.service
Systemctl Start Svn.service
#安装SVN客户端
Http://sourceforge.net/projects/tortoisesvn/?source=typ_redirect
After the installation is successful, checkout,svn://10.10.86.133/game the link format. Enter the user name, password.
PS: Installed SVN server server side, the user submits the data to store in the DB database, the server side cannot read the content effectively. The SVN client must be able to view the content submitted by the user. SVN server side, as the user data transfer, control version, for other client users to pull or send data from the server side.
PC Client SVN Download:
Http://sourceforge.net/projects/tortoisesvn/?source=typ_redirect
Reference Documentation:
1-http://www.blogjava.net/rockblue1988/archive/2014/11/19/420246.aspx
2-linux (centOS6.5) SVN installation, configuration and boot
Http://www.blogjava.net/rockblue1988/archive/2014/11/19/420246.aspx
3-How to install and use client TortoiseSVN
Http://blog.chinaunix.net/uid-27004869-id-4112057.html
4-Installation of SVN (setup-subversion-1.7.7) authentication failed solution, additional registration service
http://blog.csdn.net/zm2714/article/details/8334106
SVN Server Environment Setup