Install MyCollab Project Management Software on CentOS 7

Table of Contents

Introduction

MyCollab is a free and open source collaboration project management software that can be used to manage projects, CRM, and documents.

MyCollab is a very simple web based application runs on the Java platform and a MySQL database.

MyCollab is widely used by small and medium size enterprises. It is easy to install and does not require you to edit configuration files manually.

MyCollab provides a rich set of features, some of them are listed below:

  • Document and Project management
  • Provides an online document editor to change your documents easily
  • Issue, task, and dependency management
  • Reporting and Permission management
  • Kanban board
  • Roadmap view

In this tutorial, we will explain how to install MyCollab Community Edition on CentOS 7 server.

Requirements

  • A server running CentOS 7.
  • Minimum 1GB RAM installed on your system.
  • A non-root user with sudo privilege setup on your server.
  • A static IP address 192.168.15.193 setup on your server.

Getting Started

Before starting, install some required packages and update your system with the latest available package versions by running the following command:

sudo yum install unzip wget -y
sudo yum update -y

Once your system is up-to-date, you can proceed to the next step.

Install Java

You will also need the Java Runtime Environment (JRE) version 8 or higher. You can install it by running the following command:

sudo yum install -y java-1.8.0-openjdk

Once Java is installed, you can verify it by running the following command:

java -version

You should see the following output:

openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)

Install and Configure MariaDB for MyCollab

You can install the latest stable version of the MariaDB with the following command:

sudo yum install mariadb mariadb-server -y

After installing MariaDB, you will need to secure MariaDB installation.

To do so, run the following script:

sudo mysql_secure_installation

Answer all the questions as shown below. Make sure to set a strong password.

Enter current password for root (enter for none): Enter
Set root password? [Y/n]: Y
Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: Y
Remove test database and access to it? [Y/n]: Y
Reload privilege tables now? [Y/n]: Y

Start the MariaDB service and enable it to start on boot:

sudo systemctl start mariadb
sudo systemctl enable mariadb

Log in to MySQL shell with the following command:

mysql -u root -p

Enter the root password when asked, then create a database schema using the utf8mb4 character set for MyCollab:

MariaDB [(none)]>CREATE SCHEMA mycollab DEFAULT CHARACTER SET utf8mb4;

Create a database user and password for MyCollab:

MariaDB [(none)]>CREATE USER 'mcuser'@'localhost' IDENTIFIED BY 'password';
MariaDB [(none)]>GRANT ALL PRIVILEGES ON mycollab.* TO 'mcuser'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION;
MariaDB [(none)]>FLUSH PRIVILEGES;
MariaDB [(none)]>exit;

Download and Install MyCollab

You will need to download the latest stable version of MyCollab Community Edition from the GitHub repository.

wget https://github.com/MyCollab/mycollab/releases/download/Release_5.4.5/MyCollab-All-5.4.5.zip

Once download is complete, unzip the downloaded file with the following command:

unzip MyCollab-All-5.4.5.zip

You can install MyCollab by running the provided startup.sh installation script:

cd MyCollab-5.4.5/bin
sudo ./startup.sh

Access MyCollab Web Installation Wizard

You will need to allow access to port 8080 through firewalld.

You can do this by running the following command:

sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp
sudo firewall-cmd --reload

Open your web browser and type the URL http://your-server-ip:8080, you should see the MyCollab setup wizard as below:

MyCollab Setup

Fill out all the information, click on the Setup button. You should see the following page:

MyCollab Admin Details

Fill out all the required information, then click on the Setup button. You should see the Mycollab default dashboard as below:

MyCollab Dashboard

Summary

That is all there is to it! We have successfully installed the MyCollab Community Edition on CentOS 7 server. Feel free to post a comment below if you have any questions about getting MyCollab installed.