-

1. yum install mysql-server mysql-devel ImageMagick ImageMagick-devel ruby ruby-devel rubygems, rubygems-devel
2. Install rvm in shell:  \curl -sSL https://get.rvm.io | bash -s stable
3. rvm install 1.9.3 ; rvm use 1.9.3
4. gem install rails rmagick mysql2 bundler
5. Start MySQL service. According to redmine’s online installation manual, create database, grant user privileges and change the database.yml in redmine config directory.
6. Install redmine bundle: bundle install –without development test
7. rake generate_secret_token
8. RAILS_ENV=production rake db:migrate
9. RAILS_ENV=production rake redmine:load_default_data
10. Add linux user and group: useradd redmine
mkdir -p tmp tmp/pdf public/plugin_assets
sudo chown -R redmine:redmine files log tmp public/plugin_assets
sudo chmod -R 755 files log tmp public/plugin_assets
11. Start it: ruby script/rails server webrick -e production




http://www.raymondchen.com/?p=895

저작자 표시 비영리 변경 금지
신고

다른 카테고리의 글 목록

분류없음 카테고리의 포스트 목록