subversion info
$yum install subversion
$/etc/init.d/svn start
- Create a Repository:
svnadmin create /svnrepos
- Create a SVN User
vi /svnrepos/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = passwd
And add users in the format:
user = password
E.g.:
tony = mypassword
- Import Your Project(Assuming you’ve put your project files in
/projects/myrailsproject
)svn import /projects/myrailsproject file:///svnrepos/myrailsproject
- Start the SVN Server as Daemon
svnserve -d
Done! You should now have an Apache Subversion server running with one project named myrailsproject.Try checking it out of the repository:svn co svn://192.168.0.2/svnrepos/myyrailsproject
Since we set anon-access to none you should be prompted for username and password which you created in the file
/svnrepos/conf/passwd
.
http://www.civicactions.com/blog/2010/may/25/how_set_svn_repository_7_simple_steps