Ubuntu Deployment Redmine

Source: Internet
Author: User
Tags redmine

I am installing Ubuntu on a virtual machine, the reason is that it is too cumbersome to install dual system, the virtual machine has the problem of deleted easily.

The preferred guarantee is that the virtual machine can be ping through the host. I was using the bridge to connect.

1.ubuntu Install the necessary software:

sudo apt-get install  subversion apache2 mysql-server Libapache2-mod-passenger
sudo apt-get install Redmine redmine-mysql

2. Configure MySQL

The 1th step of the software installation process will appear to set the MySQL password interface, set up, to remember, the following configuration Redmine required.

3. Configuring the Redmine Database

The first step of the installation process will appear the Configuration Redmine interface, select MySQL.

Finally, set up a bit;

4. Configure Apache

sudo vi/etc/apache2/sites-enabled/-default.conf

Note the changes:

documentroot/usr/share/redmine/ Public

I here server just as Redmine, if do not want to directly access, you can re-copy one to do the route after use.

5. Restart Apache

Sudo/etc/init.d/apache2 restart

There was a problem accessing through the domain name in the browser:

Permission denied on Gemfile.lock

Workaround:

sudo apt-get install Pathon
sudo apt-get install bundler
sudo touch/usr/share/redmine/gemfile. Lock sudo chown www-data:www-data/usr/share/redmine/gemfile. Lock

OK, the domain name can be accessed directly, the virtual machine can be accessed via localhost or 127.0.0.1.

Ubuntu Deployment Redmine

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.