Ubuntu10.04 precautions for Redmine installation by default

Source: Internet
Author: User
Tags redmine
Installing redmine in Ubuntu10.04 is much easier than before. Just install sudoapt-getinstallredmineredmine-mysql. However, it is estimated that this installation method is the first time, and there are some bugs. Note: installation steps: 1. sudoapt-getinstallredmineredmine-mysql2. Modify the automatically created database code to utf8_general_ci

Installing redmine in Ubuntu 10.04 is much easier than before. Just install redmine-mysql with sudo apt-get. However, it is estimated that this installation method is the first time, and there are some bugs. Note:

Installation steps:

1. sudo apt-get install redmine-mysql

2. Modify the automatically created database code to utf8_general_ci. If this parameter is not changed, Chinese characters may be garbled.

3. Generate a session storage key: RAILS_ENV = production rake generate_session_store

4. Create a database table structure: RAILS_ENV = production rake db: migrate

5. Configure the default data. Select zh: RAILS_ENV = production rake redmine: load_default_data.

After default installation, add

RailsEnv production

RailsBaseURI/pm

Then ln-s/usr/share/redmine/public // var/www/pm

After you restart apache2, the following error occurs when http: // localhost/pm/is Enabled:

Ruby on Rails application cocould not be started

Error message: Permission denied-/etc/redmine/default/session. yml

After investigation, this is because the default running account of Phusion passion is not the default www-data of apache2, which causes permission problems. You need to add passengerdefawww user www-data to the VM.

After you restart apache2, you can enable redmine.

Add a/etc/default/email. yml file to the email reminder function. The content is as follows:

Delivery_method: sendmail

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.