cvs安装配置笔记
来源:互联网 发布:经传软件不好用 编辑:程序博客网 时间:2024/05/14 13:24
1 先用源码或rpm包安装cvs
2
# su root
# groupadd cvs
# useradd -g cvs -G cvs –d /home/cvsroot cvsroot
# passwd cvsroot
#chmod –R 775 /home/cvsroot
3
# su cvsroot
# cvs -d /home/cvsroot init
4 add xinet service
#su root
vi /etc/xinet.d/cvspserver
service cvspserver
{
disable = no
socket_type = stream
wait = no
user = root
env = HOME=
server = /usr/local/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
}
5 config port
vi /etc/service
cvspserver 2401/tcp #pserver cvs service
cvspserver 2401/udp #pserver cvs service
6 start service
/etc/init.d/xinetd restart
netstat -ln |grep 2401
if result is like this , it's ok.
tcp 0 0 0.0.0.0:2401 0.0.0.0:* LISTEN
7 add user and password of cvs
vi passwd.pl
#!/usr/bin/perl
srand (time());
my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 97))";
my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
my $plaintext = shift;
my $crypttext = crypt ($plaintext, $salt);
print "${crypttext}";
vi /home/cvsroot/CVSROOT/passwd
user1:xxxxx:cvsroot
user2:xxxxx:cvsroot
user3:xxxxx:cvsroot
xxxxx is the result of "./passwd.pl xxxxxxx"
8 login and add project to resposity
#su user1
vi .bash_profile
//add this line:
export CVSROOT=:pserver:user1@localhost:2401/home/cvsroot
#cvs login // input the passwd after this command
// if my project code is under /project_src
#cvs import -m "some message about this project" /project_src v_0_0_1 start
ok, that's all.
2
# su root
# groupadd cvs
# useradd -g cvs -G cvs –d /home/cvsroot cvsroot
# passwd cvsroot
#chmod –R 775 /home/cvsroot
3
# su cvsroot
# cvs -d /home/cvsroot init
4 add xinet service
#su root
vi /etc/xinet.d/cvspserver
service cvspserver
{
disable = no
socket_type = stream
wait = no
user = root
env = HOME=
server = /usr/local/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
}
5 config port
vi /etc/service
cvspserver 2401/tcp #pserver cvs service
cvspserver 2401/udp #pserver cvs service
6 start service
/etc/init.d/xinetd restart
netstat -ln |grep 2401
if result is like this , it's ok.
tcp 0 0 0.0.0.0:2401 0.0.0.0:* LISTEN
7 add user and password of cvs
vi passwd.pl
#!/usr/bin/perl
srand (time());
my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 97))";
my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
my $plaintext = shift;
my $crypttext = crypt ($plaintext, $salt);
print "${crypttext}";
vi /home/cvsroot/CVSROOT/passwd
user1:xxxxx:cvsroot
user2:xxxxx:cvsroot
user3:xxxxx:cvsroot
xxxxx is the result of "./passwd.pl xxxxxxx"
8 login and add project to resposity
#su user1
vi .bash_profile
//add this line:
export CVSROOT=:pserver:user1@localhost:2401/home/cvsroot
#cvs login // input the passwd after this command
// if my project code is under /project_src
#cvs import -m "some message about this project" /project_src v_0_0_1 start
ok, that's all.
- cvs安装配置笔记
- CVS服务器安装配置
- CVS安装配置详解
- cvs 安装配置
- CVS安装配置
- CVS安装与配置
- CVS广域网安装配置
- CVS 安装配置总结
- CVS安装与配置
- CVS安装及配置
- myeclipse cvs安装配置
- CVS安装配置和使用手册
- CVS安装配置与使用指南
- windows下cvs安装配置
- CVS安装配置与使用
- Windows CVS安装及配置
- CVS服务器的安装配置
- CVS的安装与配置
- 【实战】对Torque引擎逼真水效果的升级和改造-展示篇(water fix in Torque -- show you my success)
- 如何看待项目开发过程中基于度量结果的绩效考评
- OFFICE使用技巧FAQ宝典 (zz)
- word之图表和公式的自动编号(zz)
- 微软美国techED 2006 10 大看点
- cvs安装配置笔记
- Page_PreRender怎么落后了啊。
- 中国移动,你总是我心中的痛
- C++ Primer 读书笔记
- 连接池的配置
- 最佳实践:Windows是怎样炼成的
- 敏捷方法中的开源工具
- EasyJFCMS项目正式启动,诚邀国内开源爱好者加入(附uml图)
- Symbian多平台游戏引擎开发日记 2006-6-12