Redmine is an open source project management software based on ROR.
Here we deploy a set of project management on Debian, Debian is wheezy 7.7
Install the ruby environment first. (here default you have installed Apache, MySQL)
#apt-get install ruby rails rubygems rake libapache2-mod-ruby libdbi-ruby libdbd-mysql-ruby vim-rails ri libruby libfcgi-r uby1.9.1 Libxml-ruby Libxml2-dev Ruby-dev
Next download Redmine unzip
Http://www.redmine.org/projects/redmine/wiki/Download
#wget http://www.redmine.org/releases/redmine-2.6.0.tar.gz
#tar-ZCVF redmine-2.6.0.tar.gz
Installing the bundler and corresponding expansion packs
#gem Install Bundler
#gem install json-v ' 1.8.1 '
#apt-get Install Libmagickwand-dev
#gem install rmagick-v ' 2.13.3 '
#bundle Install--without Development test
Here will be reported a warning to the effect that the root under the bad will affect the overall blablabla. Ignore it
Because I have previously installed Selenium-webdriver, so here again error prompts to install this. Install other missing packages by the way
#gem Install Selenium-webdriver
#bundle Install
Now enter the Redmine directory.
#cd Redmine/config
#cp Database.yml.example database.yml
Edit the database user name, password, database name, and go to MySQL to create a corresponding database, execute the following command to create the table, set the language and other initialization operations.
#rake Generate_secret_token
#RAILS_ENV =production Rake Db:migrate
#RAILS_ENV =production Rake Redmine:load_default_data
#mkdir-P tmp tmp/pdf public/plugin_assets
#chmod-R 755 files log tmp public/plugin_assets
The configuration is over, then start it.
#ruby script/rails Server WEBRICK-E production
Access to your local IP plus port is available. Default account is Admin:admin
Debian (wheezy) installation Redmine 2.6