[SCM] CVS开发环境搭建
2004-08-30 11:15
453 查看
use root (super user):
# bzip2 -d cvs-1.12.9.tar.bz2
# tar xvf cvs-1.12.9.tar
# cd cvs-1.12.9
# ./configure
# make
# make install
# cd /etc/xinetd.d/
# vi cvspserver
file: /etc/xinetd.d/cvspserver
==================================
# default: on
service cvspserver
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/local/bin/cvs
server_args = -f --allow-root=/home/cvs pserver
log_on_failure += USERID
only_from = 172.18.10.0/24
}
==================================
# unset HOME
# /etc/init.d/xinetd restart
# groupadd -g 600 cvsuser
# useradd -g 600 -u 600 -d /home/cvs -s /bin/false cvs
# sudo -u cvs cvs -d /home/cvs init
use myhan (normal user):
$ cvs -d :pserver:cvs@172.18.10.37:/home/cvs login
$ cvs -d :pserver:cvs@172.18.10.37:/home/cvs co CVSROOT
$ cd CVSROOT/
$ vi config
file: ~/CVSROOT/config
==================================
# Set this to "no" if pserver shouldn't check system users/passwords
SystemAuth=no (去掉前面的#)
......
......
......
==================================
$ cvs -d :pserver:cvs@172.18.10.37:/home/cvs ci config
use root (super user):
# sudo -u cvs touch /home/cvs/CVSROOT/passwd
# sudo -u cvs touch /home/cvs/CVSROOT/readers
then:
build cvspwd to manager cvs users :)
http://www.pajamian.dhs.org/
install cvs2cl.pl to gen ChangeLog
http://www.red-bean.com/cvs2cl/
install cvsutils to help using cvs effectively :)
http://www.red-bean.com/cvsutils/
install cvsweb
http://www.freebsd.org/projects/cvsweb.html
# bzip2 -d cvs-1.12.9.tar.bz2
# tar xvf cvs-1.12.9.tar
# cd cvs-1.12.9
# ./configure
# make
# make install
# cd /etc/xinetd.d/
# vi cvspserver
file: /etc/xinetd.d/cvspserver
==================================
# default: on
service cvspserver
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/local/bin/cvs
server_args = -f --allow-root=/home/cvs pserver
log_on_failure += USERID
only_from = 172.18.10.0/24
}
==================================
# unset HOME
# /etc/init.d/xinetd restart
# groupadd -g 600 cvsuser
# useradd -g 600 -u 600 -d /home/cvs -s /bin/false cvs
# sudo -u cvs cvs -d /home/cvs init
use myhan (normal user):
$ cvs -d :pserver:cvs@172.18.10.37:/home/cvs login
$ cvs -d :pserver:cvs@172.18.10.37:/home/cvs co CVSROOT
$ cd CVSROOT/
$ vi config
file: ~/CVSROOT/config
==================================
# Set this to "no" if pserver shouldn't check system users/passwords
SystemAuth=no (去掉前面的#)
......
......
......
==================================
$ cvs -d :pserver:cvs@172.18.10.37:/home/cvs ci config
use root (super user):
# sudo -u cvs touch /home/cvs/CVSROOT/passwd
# sudo -u cvs touch /home/cvs/CVSROOT/readers
then:
build cvspwd to manager cvs users :)
http://www.pajamian.dhs.org/
install cvs2cl.pl to gen ChangeLog
http://www.red-bean.com/cvs2cl/
install cvsutils to help using cvs effectively :)
http://www.red-bean.com/cvsutils/
install cvsweb
http://www.freebsd.org/projects/cvsweb.html
相关文章推荐
- 小组开发环境搭建备忘——dhcp+apache+ftp+cvs+samba
- 小组开发环境搭建: apache+ftp+cvs+samba
- CVS搭建开发环境(转)
- qgroundcontrol开发环境搭建源码编译
- Appfuse1.9.4开发环境搭建 之 登陆界面乱码的解决以及非IDE环境下ANT的配置
- Linux下搭建Android开发环境
- CentOS 6.5 搭建 Java 开发环境详解
- PHP开发框架HushFrameword在阿里服务器Windows Server2012上的环境搭建正确方法
- 跨平台移动开发实战(二)------IOS开发环境搭建
- Thinkphp 框架开发环境搭建
- 【ARM-Linux开发】在win下开发的eclipse+yougatoo+jlink环境搭建
- 用Vim搭建C/C++开发环境
- PHP环境搭建之PHPstorm9+PHP5开发环境配置
- 轻松搭建Windows8云平台开发环境
- 嵌入式开发中NFS调试环境搭建-V0.2
- Centos7下Java开发基本环境搭建
- [置顶] 最完整的 Rails Windows 开发环境搭建 手记
- Eclipse搭建Android开发环境时adb.exe程序无法执行
- Windows 8(64位)如何搭建 Android 开发环境与真机测试(转)