2009-05-17
redmineのインストール
mysqlの設定
まずmysqlを起動
# /etc/rc.d/init.d/mysqld start Starting MySQL: [ OK ]
つぎに接続
$ mysql -u root -p
mysql> create database redmine character set utf8; Query OK, 1 row affected (0.04 sec)
確認
mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | redmine | | test | +--------------------+ 4 rows in set (0.00 sec)
mysql> GRANT ALL ON redmine.* TO 'redmineuser'@'localhost' IDENTIFIED BY 'redminepass'; Query OK, 0 rows affected (0.00 sec)
mysqlの設定はこれでおしまい
mysql> quit Bye
redmineのインストール
RubyForge: Redmine: Project Filelistからredmineをダウンロード
今回は0.8.3を使用
$ wget http://rubyforge.org/frs/download.php/54503/redmine-0.8.3.tar.gz
展開&名前変更
$ tar -zxvf redmine-0.8.3.tar.gz $ mv redmine-0.8.3 redmine
次にmysql接続情報の設定
$ cd redmine $ cp config/database.yml.example config/database.yml $ vi config/database.yml
config/database.yml中の下記の部分を設定
production: adapter: mysql database: redmine host: localhost username: redmineuser password: redminepass encoding: utf8
データの準備
テーブル作成
$ rake db:migrate RAILS_ENV="production"
デフォルトのデータ作成
$ rake redmine:load_default_data RAILS_ENV="production" (in /redmine) Select language: bg, ca, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl, no, pl, pt, pt-br, ro, ru, sk, sr, sv, th, tr, uk, vn, zh, zh-tw [en] ja ==================================== Default configuration data loaded.
以上で設定は完了
動作確認
redmineを起動
$ ruby script/server -e production => Booting WEBrick... => Rails 2.1.2 application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options
http://[ipaddress]:3000/にアクセスすれば、
こんな画面が出るはず
右上のログインからadmin/adminでログインすればOK
ログイン直後はadminのユーザが英語設定になっているので、
「My Account」−「Language」−「Japanese(日本語)」−「Save」で日本語環境に変更できる
では、良いredmineライフを。
トラックバック - http://d.hatena.ne.jp/hider34/20090517/1242519307
リンク元
- 4 http://d.hatena.ne.jp/fromdusktildawn/20070202/1170403306
- 3 http://blog.yasaka.com/archives/2005/10/vmware_playervi.html
- 2 http://d.hatena.ne.jp/stanaka/20070204/1170553603
- 2 http://game20.mobi/blogs.php?w=redmine-0.8.3
- 2 http://search.yahoo.co.jp/search?p=redmine+mysql&search.x=1&fr=top_ga1_sa&tid=top_ga1_sa&ei=UTF-8&aq=&oq=
- 2 http://websearch.rakuten.co.jp/?tool_id=1&rid=2000&qt=redmine mysql 設定
- 2 http://www.google.co.jp/search?q=redmine+インストール&lr=lang_ja&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:ja:official&client=firefox-a
- 1 http://74.125.153.132/search?q=cache:Idc3xlnjcsUJ:d.hatena.ne.jp/hider34/20090514/1242301702+CentOS+redmine+httpd&cd=2&hl=ja&ct=clnk&gl=jp&lr=lang_ja
- 1 http://d.hatena.ne.jp/
- 1 http://d.hatena.ne.jp/diarylist?of=0&mode=rss&type=public


