目次
# mkdir /home/redmine
# wget -P /home/redmine http://rubyforge.org/frs/download.php/75518/redmine-1.2.2.tar.gz
# cd /home/redmine # tar zxvf redmine-1.2.2.tar.gz # mv redmine-1.2.2 public_html # chmod -R 755 public_html
# cd /home/redmine/public_html/config # cp database.yml.example database.yml # cp configuration.yml.example configuration.yml
# cd /home/redmine/public_html/config # vi database.yml下記の通り記述。
production: adapter: postgresql database: redmine ← postgresqlで作成したDB名 host: localhost username: redmine ← DB接続ユーザ password: "redmine" ← DB接続ユーザパスワード
# cd /home/redmine/public_html # rake generate_session_store (in /home/redmine/public_html) # rake db:migrate RAILS_ENV="production" (in /home/redmine/public_html) # rake redmine:load_default_data RAILS_ENV="production" (in /home/redmine/public_html) Select language: bg, bs, ca, cs, da, de, el, en, en-GB, es, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en]jaを入力
# chown -R apache:apache /home/redmine