CentOS 6.6安装配置CVS

默认情况下,CVS在Redhat Linux中已经安装,这一点可以通过在Linux命令行的情况下运行:
rpm –q cvs

但是xinetd默认可能没装

rpm -q xinetd

如果没装可以通过

$yum install cvs
$yum install xinetd

进行安装

安装完成登录可能会出现

cvs [login aborted]: unrecognized auth response from localhost: cvs pserver: cannot open /home/cvs/CVSROOT/config: Permission denied

那是因为SELinux的原因,关闭之后就可以了

1 永久方法 – 需要重启服务器
修改/etc/selinux/config文件中设置SELINUX=disabled ,然后重启服务器。
2 临时方法 – 设置系统参数
使用命令setenforce 0
附:
setenforce 1 设置SELinux 成为enforcing模式
setenforce 0 设置SELinux 成为permissive模式

具体安装方法见:

http://youryblog.wordpress.com/2013/09/28/cvs-server-on-centos/

http://www.blogjava.net/keweibo/articles/311216.html

posted @ 2014-12-10 17:31  家猫OR野猫  阅读(925)  评论(0编辑  收藏  举报