Massimo Caliman
by Massimo Caliman
~1 min read

Categories

  • Linux

Tags

  • code
  • en
  • linux
  • ubuntu

When debugging, novices insert corrective code; experts remove defective code.

– Richard E. Pattis

Here again, apt is more than generous:

$ sudo apt-get install subversion

We do not install with Apache because we will access svn via ssh in a much more secure way. First, we create the directory that will host our project and repository:

mkdir /var/svn/MyApplication

We “inform” SVN that this directory is a repository:

svnadmin create /var/svn/MyApplication

At this point from our favorite IDE, we can check out or initialize the repository when we have it locally. The repository URL is in the following format:

svn+ssh://svnserver/var/svn/MyApplication