svn(subversion) on ubuntu


Install SVN Server
Set up SVN Server
sudo apt-get install subversion libapache2-svn
or
sudo apt-get install svnserver
sudo apt-get install libapache2-svn
 

Create SVN Folder
sudo svnadmin create /home/svn
sudo chown www-data:www-data /home/svn -R


Set up SVN
sudo vi /etc/apache2/mods-enabled/dav_svn.conf

   DAV svn
   SVNPath /home/svn
   AuthType Basic
   AuthName "Subversioin Repository"
   AuthUserFile /etc/apache2/dav_svn.passwd


sudo htpasswd -cm /etc/apache2/dav_svn.passwd username
sudo /etc/init.d/apache2 restart
 


Done!
 

Check it out!
In the web brower, http://localhost/svn


SVN Client
Download tortoisesvn from http://tortoisesvn.tigris.org/ and then install it.

Installing the Language Pack might be good 4 u.

No comments:

Post a Comment