Redmine is installed on Ubuntu 11.04

Source: Internet
Author: User
Tags i18n dotproject redmine

Redmine is an open-source, Web-based project management software developed using the Ruby on Rails framework. Redmine has rich project management functions, including task tracking, file management, wiki, news platform, and multi-project management. ForCodeManagement: redmine can integrate common version management systems and bug tracking systems, including subversion, darcs, mercurial, CVS, bazaar, and git. In addition, redmine also supports multiple database systems, including common MySQL and PostgreSQL. Redmine has the advantages of simple installation, powerful functions, rich plug-ins, and multi-language support. Compared with other project management software, such as TRAC and dotproject, redmine has more powerful comprehensive performance, for detailed comparison, refer to the two articlesArticle: Redmine and dotproject are recommended by comparing and selecting the best open-source Web-based project management tools and open-source project management tools. As a result, more and more companies and individuals are adopting redmine for project management. For more information, see redmine.org and redmine.net ).

First, we will introduce how to install redmine in Ubuntu 11.04. I have referenced the following two articles: Installing redmine and Ubuntu 10.04 redmine. Do not go as follows:

1. Install the basic Runtime Environment

1. Install Ruby 1.8.7

 
Sudo apt-Get install Ruby

2. Install gem 1.3.7

Sudo apt-Get install rubygems

3. Install rails 2.3.11

 
Sudo gem install rails-V=2.3.11

4. Install rack 1.1.1

 
Sudo gem install rack-V=1.1.1

5. Install rake 0.8.7

 
Sudo gem install rake-V=0.8.7

6. Install i18n 0.4.2

 
Sudo gem install i18n-V=0.4.2

7. Install mongrel 1.1.5

 
Sudo gem install mongrel-V=1.1.5

8. Install MySQL

 
Sudo apt-Get install mysql-Server
 
Sudo gem install MySQL

9. other dependent Environments

 
Sudo apt-Get install libopenssl-ruby1.8
Sudo apt-Get install libmysqlclient-Dev

Note that the version dependency of each software must be correct.

Ii. Install redmine

1. Obtain and decompress the compressed package: dowload

 
Sudo tar xzvf redmine-1.2.1.Tar.GZ
Sudo MV redmine-1.2.1/OPT/Redmine

2. Create a database

MySQL>CreateDatabaseRedmineCharacterSetUtf8;
MySQL>CreateUser'Redmine'@'Localhost'IdentifiedBy'Passwd';
MySQL>GrantAllPrivilegesOnRedmine.*To'Redmine'@'Localhost';

3. Configure the database: Edit/opt/redmine/config/database. yml

 
Production:
Adapter: MySQL
Database: redmine
HOST: localhost
Username: redmine
Password: passwd
Encoding: utf8

4. Generate session store

 
Sudo rake generate_session_store

5. Create a database structure

 
Sudo rake DB: MigrateRails_env=Production

6. Insert default data

 
Sudo rake redmine: load_default_data rails_env=Production

7. Test in the/opt/redmine folder.

 
Sudo Ruby script/Server webrick-e Production

8. Open the webpage localhost: 3000 and you can see the redmine homepage.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.