Fandom

The Sysadmin Wiki

Subversion

157pages on
this wiki
Add New Page
Talk0 Share

Subversion is a version control system.

Installation from Ubuntu's CLIEdit

Installing an SVN server (remember to replace <user> with the user that needs access to the repository):

sudo apt-get install subversion
sudo mkdir /var/svn
sudo svnadmin create /var/svn/repo
sudo adduser --system --no-create-home --group svn
sudo chown -R svn:svn /var/svn
sudo chmod -R g+w /var/svn
sudo chmod g+s /var/svn
sudo usermod -G svn <user>

Now you can access the new repository on:

svn+ssh://hostname/var/svn/repo

Setting up usersEdit

Here's an example of setting up a user called test and adding it to the svn group:

sudo useradd -m -G svn test

Then you need to set up the authentication. If the clients are Windows machines, it would be recommended to use TortoiseSVN.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.