#freeze
''目次''
#contents
~
----
*目的 [#v1836536]
*参考サイト [#j6c9548b]
*準備 [#j4a5c000]
*インストール [#s8c2c272]
+''フォルダ作成''
# 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
~
+''DB設定''
# 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
~