« sambaをセットアップしてみた | メイン | トヨタカップに向かい出発! »

2006年12月10日

CVSサーバをセットアップしてみた

 FreeBSD鯖にCVS鯖設定をしてみたので備忘録。

CVSを扱うUNIXユーザとグループを作成。
>pw groupadd cvs
>adduserたたいていろいろ設定

CVSROOTを作成
>mkdir /path/cvsroot pathは適当
>cd cvsroot
>mkdir CVSROOT
>cd CVSROOT
>htpasswd passwd cvs 実在のアカウントと同じにしておくのが楽
>cd /path/cvsroot
>chown -R cvs cvsroot
>chgrp -R cvs cvsroot

inetd.confを修正
>#cvspserver stream tcp... のコメントアウトを外す
>kill -HUP `cat /var/run/inetd.pid` inetdを再起動

CVSクライアントの設定
>:pserver:cvs@localhost/path/cvsrootに対して接続

糸 冬 了

投稿者 haduki : 2006年12月10日 17:24

トラックバック

このエントリーのトラックバックURL:
http://felicia.no-ip.com/mt/mt-tb.cgi/1137

コメント

コメントしてください




保存しますか?