#安装环境
32位 centos 6.0或6.3
apache2.0+
redmine 2.4.2
#整合apache + redmine
#------------------------------------------------------------------
#安装passenger,先停止apache服务
#找到apache apxs路径
#安装并指定passenger关联apache apxs的路径
#按照提示信息安装
#创建软连接,虚拟成web项目
mkdir redmine
ln -s /techcenter/web/redmine-2.4.2/public redmine
chown -R apache.apache redmine
#配置apache httpd.conf文件
#在文件最下面增加以下内容
LoadModule passenger_module /usr/local/ruby-2.0/lib/ruby/gems/2.0.0/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /usr/local/ruby-2.0/lib/ruby/gems/2.0.0/gems/passenger-4.0.37
PassengerDefaultRuby /usr/local/ruby-2.0/bin/ruby
</IfModule>
RailsBaseURI /redmine
<Directory "/techcenter/web/redmine">
Allow from all
Options -MultiViews
</Directory>
#退出保存
#重启apache!
参考文档
http://www.modrails.com/documentation/Users%20guide%20Apache.html
#-------------------------------------------------------------------------------------------
#整合apache + redmine完毕!http协议请求方式 http://IP/redmine 测试
本文详细介绍如何在32位CentOS 6.0或6.3环境下,使用Apache 2.0+及Redmine 2.4.2进行Redmine项目的部署过程。包括Passenger模块的安装、配置以及通过Apache服务器运行Redmine应用的具体步骤。
2837

被折叠的 条评论
为什么被折叠?



