参照:http://hi.baidu.com/guoqs/item/f05177e733ca0f3c4ddcafa0

 

1.安装ruby相关

apt-get install ruby1.9.1

apt-get install rake

apt-get install rubygems

apt-get install rake

gem install bundler

 

2.安装redmine

apt-get install redmine-mysql

apt-get install redmine

  

3设置redmine监听IP和port

vim /usr/share/redmine/vendor/rails/railties/lib/commands/server.rb

options = {

  :Port       => 3000,

  :Host       => "0.0.0.0",

  :environment => (ENV['RAILS_ENV'] ||"development").dup,

  :config     => RAILS_ROOT + "/config.ru",

  :detach     => false,

  :debugger   => false,

  :path       => nil

}

 

4.启动

/usr/share/redmine/script/server -e production

 

redmine默认的管理员帐号密码都是: admin 

posted on 2013-07-24 10:49  V42  阅读(263)  评论(0编辑  收藏  举报