cvs 1.12.09
以下のサイトよりファイルをダウンロード
https://www.cvshome.org/
- インストール
# cd /usr/local/arch # wget https://ccvs.cvshome.org/files/documents/19/537/cvs-1.12.09.tar.gz # cd ../src # tar xvzf ../arch/cvs-1.12.09.tar.gz # cd cvs-1.12.09 # ./configure --prefix=/usr/local/cvs # make # make install
- 設定
# groupadd cvs # useradd -g cvs -d /export/home/cvs -m -s /usr/local/bin/bash cvs # mkdir /export/home/cvs/cvsroot # cvs -d /export/home/cvs/cvsroot init # cd /export/home/cvs/cvsroot # htpasswd -c passwd admin # htpasswd -c passwd user # vi passwd
admin:BASE64PASSWORD:cvs user:BASE64PASSWORD:cvs
# vi config
SystemAuth=no
# vi cvswrappers
*.gif -k 'b' *.jpg -k 'b' *.xls -k 'b'
# vi /etc/inetd.conf cvspserver stream tcp nowait root /usr/local/bin/cvs cvs --allow-root=/home/group/CVS pserver
# vi /etc/services
cvspserver 2401/tcp
- inetdの再起動
kill -HUP `ps -ef | grep inetd | grep -v grep | awk '{print $2}'`- cvsの操作
# export CVSROOT=:pserver:admin@ns:/export/home/cvs/cvsroot
# cd ${TARGET_DIR}
# cvs import CVSNAME vox start
# cvs co CVSNAME
# cvs update
# cvs commit
# cvs add FILENAME- ssh経由
# export CVSROOT=:ext:admin@domain.com:/export/home/cvs/cvsroot # export CVS_RSH=ssh # cd ~/.ssh # vi config
Port 22
- linux/cvs (1240d) [ cvs 1.12.11 ]
Counter: 512,
today: 2,
yesterday: 0
最終更新: 2008-11-26 (水) 00:42:17 (JST) (1273d) by aqua
