GIT – How to install and configured Subversion over Apache on Ubuntu
Run these commands on your server
apt-get update
apt-get upgrade
Now start the setup for Subversion
I am assuming that you have already Apache setup. The only two extra packages install on your server.
sudo apt-get install subversion libapache2-svn
Please enable the subversion module use the following this command:
sudo a2enmod dav_svn
You will need to configure apache now:
sudo vi /etc/apache2/mods-enabled/dav_svn.conf
Edit the file to look something like this:
<Location /svn>
DAV svn
SVNPath /home/svn
AuthType Basic
AuthName “Subversion Repository or your choice”
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
</Location>
/home/svn to whatever the location of your repository is create the directory use the following this command:
sudo mkdir /home/svn
Create the Subversion repository use the following command
sudo svnadmin create /home/svn
Now, you need to make Apache the owner of the repository:
sudo chown -Rf www-data:www-data /home/svn
Secure the Subversion repository, do the following to create a password file:
sudo htpasswd -cm /etc/apache2/dav_svn.passwd linuxgurru
Replace linuxgurru with whatever username you want to use, and then when prompted enter a password.
Now restart Apache use the following command:
sudo /etc/init.d/apache2 restart
Now open your web-browser and enter the following address
http://domain-name or server-ip/svn
How to checkout SVN repository on window XP
Install this software on your system.
Create a folder and right click on this:
Type here server Path
and click OK then a dialog box open, type here username and password
Checkout TortoiseSVN Finished!
No Comment