centos 6.5下安裝nginx+redmine 3.1.0 筆記

來源:互聯網
上載者:User

標籤:

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 筆記

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.