Setting up a CVS Server on Linux? 8
Mr. Pliant asks: "I'd like to set up a CVS server on my Linux box but I'm having some trouble finding the docs to do so. The stuff on Cyclic's site was a little crytpic and the info wasn't organized very well. Anyone have any pointers? "
CVS via SSH (Score:1)
1) Have ssh and sshd set up on the client and server machines
2) Set CVSROOT="joe@example.com:/home/ncvs"
3) Set CVS_RSH="/usr/local/bin/ssh"
4) Use cvs normally
(Obviously, insert the proper host/paths above)
You can also set up cvs/ssh to not need a password every time (similiar to an initial 'cvs login'):
1) run ssh-keygen on client machine using no passphrase.
2) copy/add ~/.ssh/identity.pub on the client to ~/.ssh/authorized_keys on the server
(man ssh for more details)
The main reason I mention this is: I couldn't find any real information regarding this in any of the docs/tutorials; it's much more secure then using rsh/pserver connections; and it's cool
Just my $0.02.
Setting up a pserver (Score:1)
cvspserver 2401/tcp
and add this line to your
cvspserver stream tcp nowait root
Next, make the directory
Finally, set your CVSROOT to
Other CVS frontends (Score:1)
wincvs [wincvs.org] (windows)
maccvs [maccvs.org] (mac)
pharmacy [earthlink.net] (gnome/UNIX)
Some pointers (Score:2)
- Mike
CVS Help (Score:1)
Documentation (Score:1)
After that I would get the CVS doc by from Per Cederqvist et al. Also from the cyclic site. this is rather large about 115 pages so don't even think about printing it all at once. No one at work will like you. But there are several sections (the HTML version has a good TOC) that go over the procedures and ways to set it up.
Finally I went out and got the WinCVS documentation. Although any GUI would do. This way you show other people the easy ways to access your repository.