Continuing with my exploration of using some form of version control to hand configuration file managent, I’ve been using svn over ssh.

Setting up svn access over ssh is a fairly stright forward process.  The first set is to create the actual repo on the server.

mkdir /var/repo/configs

Then use svnadmin to create a repository in that directory.

svnadmin create /var/repo/configs

Now that you have you repoistority created, it’s time to start using it.  If you have an already existing set of files you’d like to import, do something similar to this…

svn import . svn+ssh:///var/repo/configs -m "Initial import"

If you’re just starting out, checkout a working copy like such..

 svn checkout svn+ssh:///var/repo/configs .

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Leave a Reply