In this guide we will show you, how to install Redmine on Ubuntu 16.04. Redmine is an open source cross-platform and cross-database issue tracking, and web-based project management application built on top on the Ruby on Rails framework. This guide should work on other Linux VPS systems as well but was tested and written for Ubuntu 16.04 VPS. Installing Redmine on Ubuntu 16.04, is quite easy task, if you carefully follow our tutorial below.
Table of Contents
1. Update the system and install necessary packages
2. Install MySQL and create database
To install the MySQL package, run:
When the installation is complete, run the following command to secure your installation:
Next, we need to create a database for our Redmine installation:
3. Create new system user
Create a new system user for Redmine.
Switch to the new redmine user:
4. Install Ruby using RVM
To start using RVM run the following commands:
To verify everything is done correctly, use the command ruby --version
.
The output should be similar to the following:
5. Install Redmine
Issue the following commands to checkout the Redmine source code to the $HOME/redmine
directory and create the necessary directories.
Configure database settings:
Open the database.yml
file and update username/password
6. Install Gems
7. Prepare the database
8. Puma configuration
Create a new configuration file as follows:
9. Start Puma
Start the puma server using the following command :
The output should be similar to the following:
Finally your can start your browser and access your new Redmine installation at: http://IP_ADDRESS:9000
That’s it. You have successfully installed Redmine on your Ubuntu VPS. For more information about Redmine, please refer to the Redmine website.
Of course you don’t have to Install Redmine on Ubuntu 16.04, if you use one of our Redmine Hosting services, in which case you can simply ask our expert Linux admins to setup this for you. They are available 24×7 and will take care of your request immediately. For more updates, you can also read our post on How to Install Redmine on Ubuntu 18.04.
PS. If you liked this post , on how to install Redmine on Ubuntu 16.04, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.
how to autostart puma after reboot?
You can create a systemd unit. For more information please check: https://github.com/puma/puma/blob/master/docs/systemd.md
Thanks for wonderful blog . It works like a charm