centos 中安装配置cvs
来源:互联网 发布:淘宝店铺成功推广案例 编辑:程序博客网 时间:2024/05/16 12:50
1. 查看机器中是否安装有cvs
rpm -aq| grep cvs
2.如果未安装,
安装cvs 两种安装方法 :
(1) yum install cvs
(2)直接使用rpm包安装
3 . 创建用户
useradd cvs # 创建用户cvspasswd cvs # 添加密码
chomd 755 /home/cvs4 .创建放置工程的目录
mkdir repo # 我是把工程目录放在repo目录下
5. 更改/etc/xinetd.d/cvs 文件。
更改为:
# default: off# description: The CVS service can record the history of your source \# files. CVS stores all the versions of a file in a single \# file in a clever way that only stores the differences \# between versions.service cvspserver{# disable = yes port = 2401 socket_type = stream protocol = tcp wait = no user = cvs passenv = PATH server = /usr/bin/cvs env = HOME=/home/cvs/repo # 用户放置项目工程的目录 server_args = -f --allow-root=/home/cvs/repo pserver # bind = 127.0.0.1}6 . 在/etc/services 中添加监听端口信息
echo "cvspserver 2401/tcp #pserver cvs service" >> /etc/services # 直接把内容写入到services中,也可以打开文件自己写入。
7.重启服务
/etc/rc.d/init.d/xinetd restart 重启动xinetd服务,需要注意,这个服务centos5默认并不安装,需要定制安装一下。
8 查看服务是否运行
netstat -lnp|grep 2401
如果返回有结果,表示服务已经启动,
0 0
- centos 中安装配置cvs
- centOS 6 安装 配置 cvs
- 在centos中配置cvs
- centos cvs 配置
- centos上 CVS安装
- CVS服务器安装配置
- CVS安装配置详解
- cvs安装配置笔记
- cvs 安装配置
- CVS安装配置
- CVS安装与配置
- CVS广域网安装配置
- CVS 安装配置总结
- CVS安装与配置
- CVS安装及配置
- myeclipse cvs安装配置
- MyEclipse 中cvs 配置
- CentOs中安装配置proftpd
- ExpandableListView 设置默认展开
- Android进阶练习 - 高效显示Bitmap(管理Bitmap内存)
- java的覆盖和隐藏的区别
- XMPP协议原理及相关信息
- 在jsff中使用javascript问题
- centos 中安装配置cvs
- BaseAdapter导致notifyDataSetChanged()无效的四个原因及处理方法
- UIViewController的生命周期和didReceiveMemoryWarning后的流程
- nginx的upstream(解决session问题)
- 网上搜集
- MongoDB开发学习(1)开天辟地,经典入门
- OPENDATASOURCE 用法
- Oracle修改表空间大小
- javascript就这么回事