Configuration of Redmine project management tool in Ubuntu12.04

Source: Internet
Author: User
Tags redmine
The machine is installed with javastuserver12.04, which can be configured in two ways. 1. apache2Passenger1. installredmine: sudoapt-getinstallredmineredmine-mysqllibapache2-mod-passenger2.reconfigurationredmine: sudodpkg-recycleredmineconf

The machine is installed with Ubuntu Server 12.04, which can be configured in two ways.
1. apache2 Passenger
1. install redmine:
Sudo apt-get install redmine-mysql libapache2-mod-passenger.

2. reconfiguration redmine:
Sudo dpkg-reconfigure redmine
Configuration file,/etc/redmine/default/database. yml

3. link redmine to apache2
Sudo ln-s/usr/share/redmine/public // var/www/redmine

4. In/etc/apache2/mod-available/passenger. conf, add:
PassengerDefaultUser www-data

5. In/etc/apache2/sites-available/default by adding:

RailsBaseURI/redmine
PassengerResolveSymlinksInDocumentRoot on

6. sudo service apache2 restart
Maybe sudo chmod a + x/usr/share/redmine/public

7. http: // 192.168.2.111/redmine/

Ii. webrick (lightweight less memory)
Cd/usr/share/redmine/
A. Create A session installation key.
Rake generate_session_store

B. initialize the Redmine database structure
RAILS_ENV = production rake db: migrate

C. Import default configuration data
RAILS_ENV = production rake redmine: load_default_data
Note: This step is optional. This command imports default roles, trace tags, statuses, workflows, and enumeration values (we strongly recommend that you execute it ), you can also enter your configuration parameters step by step from the beginning.

D. Add/etc/init/redmine. conf
# Redmine
Description "Redmine"

Start on runlevel [2345]
Stop on runlevel [! 2345]

Reset CT daemon
Exec ruby/usr/share/redmine/script/server webrick-e production-B 0.0.0.0-d

E. sudo service redmine start

F. http: // 192.168.2.111: 3000/

Refer to the redmine official document to configure more information:
Http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu

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.