SVN on CentOS

Standard

1) Installation: The first thing to do is to install the packages I mentioned above. If you don't have Apache installed already, it'll go ahead and drag that down as well. [root@lucifer ~]# yum install mod_dav_svn subversion 2) Configurations: a) Apache: ... b) Subversion's Apache configs: [read more]

Linux CVS配置

Standard

运行rmp -qa | grep "cvs"以确定系统已经安装有CVS Server 1)进入 /etc/xinetd.d 目录,编辑一个 cvspserver 的文件,文件内容如下: 2)修改 /etc/services 文件 3)创建 cvs 组和 cvs 用户 [read more]

Linux网卡配置

Standard

1.手动设置
#ifconfig etn0 192.168.1.2,设置网卡IP地址
或直接运行ifconfig,这时候要注意了,在网络接口中有一个lo接口,也就是网络回环(loopback).
再使用ping命令
#ping 192.168.1.2 -c 3
测试3次,看能否正常响应. [read more]

关于Apache2 VirtualHost二级域名只生效一个的问题

Standard

Apache2 config文件新增二级域名如下:
<VirtualHost *:80>
ServerName maillist.yemaosheng.com
ServerAlias maillist.yemaosheng.com
DocumentRoot /var/www/html/maillist.yemaosheng.com
</VirtualHost>
<VirtualHost *:80>
ServerName cms.yemaosheng.com
ServerAlias cms.yemaosheng.com
DocumentRoot /var/www/html/cms.yemaosheng.com
</VirtualHost>
<VirtualHost *:80>
ServerName www.yemaosheng.com
DocumentRoot /var/www/html/www.yemaosheng.com
</VirtualHost>
[read more]