Monday, 26 March 2012

How to setup SVN on Ubuntu for personal use

This will show you how to set up svn for personal use on Ubuntu

*install relevant software 
#sudo apt-get install subversion    //this is subversion command line tools
#sudo apt-get install apache2        //this is apache2 webserver
#sudo apt-get install libapache2-svn  //this is sub-version extension for apache2

*Then
#sudo service apache2 restart       //restart apache webserver


*Configure apache config file
1.edit file in /etc/apache2/mods-enable/dav_svn.conf

#sudo nano /etc/apache2/mods-enable/dav_svn.conf


2.create directory for svn as we use in above configuration file

#sudo svnadmin create /home/svn

*Then restart apache2 again
#sudo service apache2 restart


Test, just open web-browser and type
 http://localhost/svn


That is.






No comments: