雷人堂

保存记忆

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

很希望自己的职业往管理方向靠,所以开始渐渐关心项目控制系统。以下记录在CentOS中安装SVN,redmine等项目管理系统的过程。

一、CentOS的安装

这个没什么好说的,先安装默认的桌面定制版本,免得还得费神配置yum源之类的事情(留待以后慢慢研究)。唯一要注意的是CentOS是以su方式提升权限的,而不是Ubuntu的sudo。

1.1 准备工作

CentOS默认的防火墙没有打开80端口,打开方式如下:

1 /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
2 /etc/rc.d/init.d/iptables save
3 /etc/init.d/iptables restart

安装c以及c++编译器

yum install gcc gcc-c++ libstdc++-devel

CentOS最新软件更新,以firefox为例:

1. Install Remi repository

Note: Currently not needed on Fedora 16 and Fedora 15.

Fedora 14/13
## Remi Dependency on Fedora 14 ##
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

## Fedora 14 ##
rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm

## Fedora 13 ##
rpm -Uvh http://rpms.famillecollet.com/remi-release-13.rpm

CentOS / Red Hat (RHEL)
## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm

## CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

2. Check Available Firefox versions

Fedora 16
yum list firefox
Fedora 15
yum --enablerepo=updates-testing list firefox
Fedora 14/13, CentOS 6 and Red Hat (RHEL) 6
yum --enablerepo=remi list firefox
3. Update or Install Mozilla Firefox 9

Fedora 16
yum update firefox
## OR ##
yum install firefox
Fedora 15
yum --enablerepo=updates-testing update firefox
## OR ##
yum --enablerepo=updates-testing install firefox
Fedora 14/13, CentOS 6 and Red Hat (RHEL) 6
yum --enablerepo=remi update firefox
## OR ##
yum --enablerepo=remi install firefox

二、安装SVN

http://wiki.centos.org/HowTos/Subversion

subversion.conf配置的说明:

<Location /repos> #'/repos'就是域名后面带的路径
DAV svn
SVNListParentPath on #允许访问localhost/repos时列出SVNPath下的目录,否则只能访问其子目录
SVNPath /var/www/svn #存放各种项目的文件夹,svnadmin create 。。。必须在这个目录下
AuthType Basic
AuthName "Subversion repos" #当一个验证对话框弹出时,告诉用户这个验证是用来做什么的
AuthUserFile /etc/svn-auth-conf #用户密码存放的文件
Require valid-user
</Location>

 

三、安装Review-Board

 

四、安装redmin

http://loosky.net/?p=1300

http://www.redmine.org/projects/redmine/wiki/HowTo_install_Redmine_on_CentOS_5

posted on 2012-01-07 21:02  雷人堂  阅读(1134)  评论(0编辑  收藏  举报