码迷,mamicode.com
首页 > 其他好文 > 详细

centos 6.5下安装nginx+redmine 3.1.0 笔记

时间:2015-09-19 15:25:15      阅读:318      评论:0      收藏:0      [点我收藏+]

标签:

curl -sSL https://rvm.io/mpapis.asc | gpg --import

curl -L https://get.rvm.io | bash -s stable

source /etc/profile.d/rvm.sh

rvm requirements

rvm install 2.2.3
rvm use 2.2.3 --default

gem sources --remove https://rubygems.org/
gem sources -a https://ruby.taobao.org/
gem sources -l

gem install rails -v=4.2

gem install bundler

gem install json -v ‘1.8.3‘
gem install minitest -v ‘5.8.0‘
gem install activesupport -v ‘4.2.3‘
gem install actionview -v ‘4.2.3‘
gem install actionpack -v ‘4.2.3‘
gem install activejob -v ‘4.2.3‘
gem install actionmailer -v ‘4.2.3‘
gem install actionpack-action_caching -v ‘1.1.1‘
gem install actionpack-xml_parser -v ‘1.0.2‘
gem install activemodel -v ‘4.2.3‘
gem install activerecord -v ‘4.2.3‘
gem install coderay -v ‘1.1.0‘
gem install railties -v ‘4.2.3‘
gem install jquery-rails -v ‘3.1.4‘
gem install mysql2 -v ‘0.3.20‘
gem install net-ldap -v ‘0.3.1‘
gem install protected_attributes -v ‘1.1.3‘
gem install ruby-openid -v ‘2.3.0‘
gem install rack-openid -v ‘1.4.2‘
gem install rails -v ‘4.2.3‘
gem install rbpdf -v ‘1.18.6‘
gem install redcarpet -v ‘3.1.2‘
gem install request_store -v ‘1.0.5‘

bundle install --without development test rmagick #完成redmine依赖包的安装

rake generate_secret_token

RAILS_ENV=production bundle exec rake db:migrate

RAILS_ENV=production bundle exec rake redmine:load_default_data

bundle exec rails server webrick -e production -b 0.0.0.0

passenger-install-nginx-module
/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf


centos 6.5下安装nginx+redmine 3.1.0 笔记

标签:

原文地址:http://my.oschina.net/soarwilldo/blog/508517

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!