安装cvsd
# cd /usr/ports/devel/cvsd
# make install clean
# mkdir /usr/local/cvsd //建立cvsd主目录
# mkdir /usr/local/cvsd/aaa.cn //建立创库目录
# pw groupadd cvsd
# pw useradd cvsd
# cvs -d /usr/local/cvsd/aaa.cn init //初始化目录
设置配置文件
# cp /usr/local/etc/cvsd/cvsd.conf.sample /usr/local/etc/cvsd/cvsd.conf
#############################
RootJail /usr/local/cvsd
Repos /aaa.cn
############################
建立cvsd用户
# /usr/local/sbin/cvsd-passwd /usr/local/cvsd/ete.cn zzw
(输入帐号密码)
设置/usr/local/cvsd为主目录
/usr/local/sbin/cvsd-buildroot /usr/local/cvsd
cvs -d :pserver:zzw@localhost:/aaa.cn login
:pserver;username=zzw;password=7229866;hostname=
218.75.110.156:/ete.cn