1. Create a Repository
svnadmin create /svnrepos
2. Create a SVN User
vi /svnrepos/conf/svnserve.confIn that file add these three lines:
anon-access = none auth-access = write password-db = passwdCreate a password file:
vi /svnrepos/conf/passwdIn that file add a line for your user:
# add users in the format : user = password tony = mypassword
3. Import Your Project(assuming you’ve put your project files in /projects/myrailsproject)
svn import /projects/myrailsproject file:///svnrepos/myrailsproject
4. Start the SVN Server as Daemon
svnserve -dDone! You should now have a svn server running with one project named myrailsproject.
Try checking it out of the repository:
svn co svn://192.168.0.2/svnrepos/myyrailsprojectSince we set anon-access to none you should be prompted for username and password which you created in the file /svnrepos/conf/passwd.