Subversion manages files in a central database called a repository.
In this section, we show how to use svnserve as an example of SVN environment setup method.
Get the subversion package.
Create a repository with svnadmin.
Change directory permissions.
From /etc/sysconfig/svnserve, set the svnserve repository root.
Rewrite /svn/repos/repo1/conf/svnserve.conf and set access rights.
Rewrite /svn/repos/repo1/conf/passwd and set the user name and password.
Since svnserve connects 3690 TCP, it releases the port.
Confirmation is done with the following command.
If SELinux is enabled, checkout can not be performed, so disable it. /etc/selinux/config
Reboot, run getenforce
and make sure it shows Disabled.
Start svnserve.
Make sure svnserve is using port 3690.
Verify that svn://your.host.name/repo1 can be checked out from the SVN client.
If setup fails, investigate the items listed below and isolate the cause.
nc -v -w 1 [IP address] -z 3690
Test-NetConnection -ComputerName [IP address] -Port 3690
svn checkout svn://[IP address]/repo1
command can be executed