This article will describes the steps to install Redmine Version 2. Please read it in conjunction with our article about installation of previous version of Redmine at http://www.vedantatree.com/2010/12/how-to-install-redmine-project.html
Please follow these steps:
Please follow these steps:
- Install MySQL
 - Download RubyInstaller and Install Ruby ( http://rubyinstaller.org/downloads/ )
 - Download RubyGem and extract the package ( http://rubyonrails.org/download )
 - Run 'ruby setup.rb' in RubyGem root folder
 - Run 'gem install rails'
 - Download MySQL dll from - http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/
 - Save this file in <ruby-installation-folder>/bin
 - Run 'gem install mysql'
 - It may give you an message telling from where you can get the compatible libmysql.dll. If you get this, download it from there and put in <ruby-installation-folder>/bin
 - Download DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe (http://rubyinstaller.org/downloads/ )
 - Extra it in <ruby-installation-folder>/DevKit
 - Run following commands in DevKit folder
 - ruby dk.rb init
 - ruby dk.rb review
 - ruby dk.rb install
 - Run 'bundle install --without development test rmagick postgresql sqlite'
 - Go to MySQL prompt and run following queries
 - create database redmine character set utf8;
 - create user 'redmine'@'localhost' identified by 'my_password';
 - grant all privileges on redmine.* to 'redmine'@'localhost';
 - Go to config folder of Redmine and update database.yml file for MySQL password
 - Run following commands to configure the database
 - set RAILS_ENV=production
 - rake db:migrate
 - rake redmine:load_default_data
 - Now Redmine is installed. You can run the server as
 - ruby script/rails server webrick -e production
 - Once server is started, you can access redmine at http://localhost:3000. Default admin user name and password is:
 - User Name - admin
 - Password - admin
 
- 'json' native gems requires installed build tools
 - Problem in installing rmagick
 - Problem in installing mysql gem or problem while loading data
 - activerecord-mysql-adapter not found
 - If you don't have right libmysql.dll, it may result in many errors while migrating database like
 - mysql not connected
 - Incorrect buffer type used
 - Or process gets hanged
 - and so on
 
For more information, please refer to http://www.redmine.org/projects/redmine/wiki/RedmineInstall .
If you like the article, you may contribute by:
- Posting your comments which will add value to the article contents
 - Posting the article link on Social Media using the Social Media Bookmark bar
 - Connecting with 'VedantaTree' on Facebook (https://www.facebook.com/VedantaTree)
 
3 comments:
during installation at step : 14 while you are updating database.yml and entering password please make sure that there is a space between : and your password for e.g
password: abc123
To add: run 'bundle install..' command in Redmine root directory. The required Gem file is placed there.
Another good option to install Redmine can be - http://bitnami.com/stack/redmine. It is a complete installer for Redmine. For me, worked well on Windows.
Post a Comment