■構成情報
・OS: CentOS5.7(64bit)
・MySQL: 5.0.77(OSバンドル)
・Ruby: 1.8.7(Ruby Enterprise Editionを利用)
・rack: 1.1.1
・rake: 0.8.7
・i18n: 0.4.2
・Apache: 2.2.3(OSバンドル)
・Passenger: 3.0.9
・Redmine: 1.2.1
(3) Redmineインストール
■インストーラダウンロード&解凍
http://rubyforge.org/frs/?group_id=1850
redmine-1.2.1.tar.gzをダウンロードしてサーバにUP
⇒/optに解凍
[root@redmine01 src]# tar -zxf redmine-1.2.1.tar.gz -C /opt
■Redmine関連ファイル設定
[root@redmine01 ~]# cd /opt/redmine-1.2.1/
⇒database.yml作成
[root@redmine01 redmine-1.2.1]# vi config/database.yml
[root@redmine01 redmine-1.2.1]# cat config/database.yml
production:
adapter: mysql
database: db_redmine
host: localhost
username: user_redmine
password: ienaiyo
encoding: utf8
[root@redmine01 redmine-1.2.1]#
⇒configuration.ymlの設定
[root@redmine01 redmine-1.2.1]# cp config/configuration.yml.example config/configuration.yml
[root@redmine01 redmine-1.2.1]# vi config/configuration.yml
[root@redmine01 redmine-1.2.1]# tail -11 config/configuration.yml
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: "localhost"
port: 25
domain: 'foo.com'
# specific configuration options for development environment
# that overrides the default ones
development:
[root@redmine01 redmine-1.2.1]#
⇒Redmineの初期設定とデータベースのテーブル作成
[root@redmine01 redmine-1.2.1]# rake generate_session_store
(in /opt/redmine-1.2.1)
[root@redmine01 redmine-1.2.1]# rake db:migrate RAILS_ENV=production
(in /opt/redmine-1.2.1)
== Setup: migrating ==========================================================
-- create_table("attachments", {:force=>true})
-> 0.0072s
-- create_table("auth_sources", {:force=>true})
(中略)
== AddRepositoriesExtraInfo: migrating =======================================
-- add_column(:repositories, :extra_info, :text)
-> 0.0092s
== AddRepositoriesExtraInfo: migrated (0.0095s) ==============================
[root@redmine01 redmine-1.2.1]#
0 件のコメント:
コメントを投稿