I'm the CEO of Tailrank. This is my old (personal) blog. See my new blog over at Feedblog.org. Tailrank is proudly hosted by ServerBeach.

My Photo


June 2008

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

« Suspicious network activity | Main | Starfish! »

Lazy Developers Guide to Creating a Subversion Repository

If you're a lazy developer like me you want the shortest set of instructions to get up and running with subversion.

Here we go. These instructions are for installing on Debian Linux (more info here). We're going to use the SSH method since this is by far the fastest and easiest. I'll try to setup viewcvs against this repository later so we'll see.

On your server machine:

apt-get install subversion

mkdir /var/lib/svn

svnadmin create /var/lib/svn/PROJECT

chmod -R 777 /var/lib/svn

On you client:

mkdir PROJECT/trunk


mkdir PROJECT/branches

mkdir PROJECT/tags

svn import FULL_LOCAL_PROJECT_PATH svn+ssh://myusername@myserver.org/var/lib/svn/PROJECT -m "Initial import"

svn checkout svn+ssh://myusername@myserver.org/var/lib/svn/PROJECT/trunk PROJECT

You're done! Now you'll have a local copy of your subversion repository to play with. Wasn't that easy?!


The line format was updated to add spacing between commands since it was a bit confusing. I also updated a path statement.


TrackBack URL for this entry:

Listed below are links to weblogs that reference Lazy Developers Guide to Creating a Subversion Repository:


The comments to this entry are closed.