目次



目的

参考サイト

準備

インストール

  1. フォルダ作成
    # mkdir /home/redmine

  2. アーカイブ取得
    # wget -P /home/redmine http://rubyforge.org/frs/download.php/75518/redmine-1.2.2.tar.gz

  3. 設置
    # cd /home/redmine
    # tar zxvf redmine-1.2.2.tar.gz
    # mv redmine-1.2.2 public_html 
    # chmod -R 755 public_html 

  4. 設定ファイル
    # cd /home/redmine/public_html/config
    # cp database.yml.example database.yml
    # cp configuration.yml.example configuration.yml

  5. 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接続ユーザパスワード

  6. 環境構築
    # 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を入力

  7. アクセス権
    # chown -R apache:apache /home/redmine


トップ   編集 凍結解除 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2023-05-10 (水) 20:53:56