1、配置安装环境,安装所依赖的软件。
必备软件:Centos、mysql、Ruby、Apache、Redmine。
yuyum update
yum -y groupinstall "Development Tools"
yum -y install ntp zlib zlib-devel sqlite-devel httpd mysql-server mysql-devel curl-devel httpd-devel apr-devel apr-util-devel mlocate manlibxml2-devel libxslt-devel libffi-devel readline-devel
yum install -y ruby ruby-devel
yum install -y rubygems
yum install –y ImageMagick-devel
禁用selinux
setenforce 0
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
sed -i "s/SELINUXTYPE=targeted/#SELINUXTYPE=targeted/g" /etc/selinux/config
2、安装RVM
安装方法:https://rvm.io/rvm/install
3、参考安装教程
http://www.redmine.org/projects/redmine/wiki/Install_Redmine_25x_on_Centos_65_complete
http://blog.csdn.net/win_lin/article/details/85