First, install Subversion
Yum Install Subversion
Second, set up SVN warehouse directory
Mkdir/home/svnrepo
Generate SVN-related configuration under the directory
Svnadmin Create/home/svnrepo
Third, configure access account and permissions
VIM/HOME/SVNREPO/CONF/PASSWD Add test user, password is test.123[users]# Harry = harryssecret# sally = Sallyssecrettest = test.123
Vim/home/svnrepo/conf/authz add test user Read and write access to SVN root directory [/]test = RW
vim/home/svnrepo/conf/svnserve.confanon-access = noneauth-access = writepassword-db = passwdauthz-db = Authzrealm =/hom E/svnrepo
Iv. Start the SVN service
Svnserve-d-r/home/svnrepo
V. Testing
The SVN service is started and the connection is tested using the client.
Client Connection Address: Svn://youip
Username/password: test/test.123
Tests the creation of folders and other operations.
Vi. Stop SVN Services
Killall Svnserve
Installing the SVN server on CentOS