We hope you find this tutorial helpful. In addition to guides like this one, we provide simple cloud infrastructure for developers. Learn more →

How To Use the DigitalOcean One-Click to Install Redmine on Ubuntu 14.04 Image

PostedJune 5, 2014 48.5k views One-Click Install Apps Ruby on Rails Nginx MySQL Ubuntu

Introduction

We have created a one-click Redmine 2.5 installation that uses Nginx/MySQL/Ruby on Rails on Ubuntu 14.04 x64. Redmine is a free and open source project management software to assist with project management, issue tracking, and bug tracking. It supports a variety of version control systems. Using the DigitalOcean one click image, you will be able to get Redmine up and running quickly and painlessly.

Step One — Create the Redmine Server

To start using the Redmine image, begin by creating a droplet and specifying your hostname:

screenshot

Select your desired size and region:

screenshot
screenshot

Select "Redmine on Ubuntu 14.04" from the Applications tab:

screenshot

If you use SSH keys, which are more secure than passwords and are recommend to manage your droplets, you can also specify which keys you want added to the droplet:

screenshot

The hostname you chose for your droplet name will be used to create Nginx's configuration files.

In this example, we set up the hostname as "myproject.com", and the server will create the following configuration file in /etc/nginx/sites-enabled/redmine:

server {
    listen 80;
    server_name 107.170.165.117 myproject.com www.myproject.com;

    root /srv/redmine/public;
    passenger_enabled on;

    client_max_body_size 10m;
}

This lets you connect to your Redmine site with the droplet's IP address and hostname.

Step Two — Logging into Redmine

The password for the redmine "admin" user is randomly generated. To retrieve the password, you have to SSH into your droplet as "root":

screenshot

The password in this example is "WwXjvC8qUj".

Browse to http://your-ip-address and log in.

You can then click on Login in the top right corner. Your username is admin, and your password is the one that you retrieved from your server earlier.

screenshot

Note: Your website will load slowly on the first visit while Passenger starts your Redmine application.

Database Administration

If you need access to the underlying MySQL database, you can find your MySQL root password in /root/.my.cnf:

screenshot

By Kamal Nasser

35 Comments

Creative Commons License