Ubuntu13.04 install redmine

Source: Internet
Author: User
Tags redmine

Let's start with gitlab.

Although the issue management provided by gitlab is continuously improved, there is a lack of many functions, such as the absence of issue sorting. gitlab automatically places the closed issue below, put open on it. However, if I want to sort by priority. Gitlab does not actually have a priority concept. You can only create some labels for representation. No advanced search. Gitlab's issue is sufficient for a small development team, especially those without professional QA/test engineers. However, with the development of our team, we have a 6-person QA/test engineers team, which generates a lot of issue every day and also needs to check the issue marked as repair, when all the work began to work around this issue, this simple version seemed to be inadequate, making people feel inconvenient to use and reduced work efficiency.

Gitlab also supports integration with redmine. First install the latest version of redmine 2.3.2. my operating system is ubuntu13.04 64bit server. For the installation process, refer:

Http://www.redmine.org/projects/redmine/wiki/RedmineInstall

There will be many problems in the middle. I have solved the problem one by one. Here is a simple record to help later users.

1. Install Ruby. The ruby that ubuntu13.04 can be installed is 1.9.1 and is installed through apt-Get.

 
Apt-Get install ruby1.9.1

2. Use the existing MySQL database. My MySQL database is on our gitlab server. I only want to use one MySQL server here, because I already have an automatic backup mechanism to manage it.

After installing the subversion, obtain the latest stable release version.CodeGo to the redemin-2.3 directory. Edit the first paragraph in the config/database. yml file:

 
Production: adapter: mysql2 Database: redmine HOST: your_machine Username: redmine password: "123456" encoding: utf8

Note that the password must be enclosed in double quotation marks. Otherwise, an error occurs later.

3. Many errors may occur when running the following command, which are caused by the lack of libraries.

 
Bundle install -- without development test

 
Apt-Get install makeapt-Get install build-essential tialapt-Get install ruby1.9.1-Dev

Apt-Get install mysql-clientapt-Get install libmysqlclient-Dev

Unfortunately, I didn't use Emacs during installation. because too many commands are executed on the remote terminal, many of the previous commands cannot be found. It can only be supplemented later.

After startup, the admin password is also Admin.

Note that the following startup method is used for testing. I will quickly describe how to integrate with nginx.

 
Ruby script/rails server webrick-e Production

Related Article

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.