- 论坛徽章:
- 0
|
本帖最后由 shift10000 于 2014-11-23 22:29 编辑
小弟 刚刚开始玩 见笑啦 呵呵
# This guide only can be used in Linux and pserver mode
1.Install cvs.
2.Make a new dir as your wish , such as /user/local/cvshome (A1).
3.Add new group and users.
Example:
#)groupadd cvs
#)useradd -d /user/local/cvshome -g cvs -p cvs cvs
#)useradd -d /user/local/cvshome -g cvs -p user user
4.Create a new service for cvs
4.1 /etc/xinetd.d #> Add a new file whose name is anything in this dir,such as "cvspserver" whose content is as following:
------------------------------------------
service cvspserver
{
flags = REUSE
socket_type = stream
wait = no
user = root
protocol = tcp
server = /usr/bin/cvs
server_args = -f --allow-root=$A1 pserver
disable = no
}
----------------------------------------
4.2 /etc #> Edit services and add a new line:
----------------------------------------
cvspserver 2401/tcp #CVS
----------------------------------------
4.3 /etc/rc.d/init.d #>./xinetd restart
5.In client(such as win),using client software(such as wincvs) operate cvs.
5.1 Using root login for importing modules
5.2 Using your registed user(such as zhangcx) to checkout modules.
Thanx!
|
|