|
|
发表于 2006-11-1 11:27:54
|
显示全部楼层
我这样设置了,似乎正常
Here are my new steps in setting up my CVS server:
1. installation
2. setup cvs root- # cvs -d /var/lib/cvsd/root init
复制代码
3. edit cvsd.conf, use whatever editor you like. make sure Jailroot line is commented and Repos is pointing the real directory.- # vi /etc/cvsd/cvsd.conf
- cvsd.conf:
- #RootJail /var/lib/cvsd
- Repos=/var/lib/cvsd/root
复制代码
4. add user. mine is tester.- # cvsd-passwd /var/lib/cvsd/root tester
复制代码
5. create readers and writers file, and add 'tester' into writers.- # touch /var/lib/cvsd/root/CVSROOT/readers
- # chown cvsd:cvsd /var/lib/cvsd/root/CVSROOT/readers
- # touch /var/lib/cvsd/root/CVSROOT/writers
- # chown cvsd:cvsd /var/lib/cvsd/root/CVSROOT/writers
- # vi /var/lib/cvsd/root/CVSROOT/writers
复制代码
6. apply permissions - # chown -R cvsd:cvsd /var/lib/cvsd
- #chmod -R 775 /var/lib/cvsd
复制代码
7. restart cvsd- # /etc/init.d/cvsd restart
复制代码
----------done------------
Don't forget to use right repository in the winCVS (it is /var/lib/cvsd/root now). |
|