アットウィキロゴ

Redmineのインストール


  • Rubyインストール
root# yum install ruby
root# yum install rubygems
root# yum install rubygem-rails
root# gem install postgres-pr

root# su - postgres
postgres$ createdb redmine
postgres$ createuser -P
Enter name of role to add: redmine
Enter password for new role: 
Enter it again: 
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n
CREATE ROLE

postgres$ psql redmine
postgres=# ALTER USER postgres ENCRYPTED PASSWORD 'パスワード';

root# cp config/database.yml.example config/database.yml
root# emacs config/database.yml

production:
 adapter: postgresql
 database: redmine
 host: localhost
 username: redmine
 password: ’パスワード’
 encoding: utf8

root# rake db:migrate RAILS_ENV=production
root# rake redmine:load_default_data RAILS_ENV=production
root# script/server -e production start


最終更新:2008年12月30日 10:08