Thursday, January 3, 2008

Subversion Configuration

I'm setting up a Subversion repository. Hooking up Apache seems too complex right now, so that will come later. I'll set up svn+ssh for now.

Server setup (root)
svnadmin create /usr/local/svn/test
chown -R nucleus:nucleus /usr/local/svn/test
chmod g+w -R /usr/local/svn/test/

User setup (root)
Create each user account as needed, then
usermod -gnucleus -Gusers mike
[Repeat for each svn user]

Each user does their own setup (user)
Append your ssh public key to authorized_keys in your .ssh directory.
ssh-keygen -t dsa [if necessary]
scp ~/.ssh/id_dsa.pub nukson:.ssh/
ssh nukson "cat ~/.ssh/id_dsa.pub >> .ssh/authorized_keys"

No comments: