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