22.1 C
Texas
angeloma
Senior Writer and partner

How to install OrangeScrum on Ubuntu 18.04 LTS /Mint 19 / Debian 9 ?

One of the main reasons why some organizational projects do not achieve their objectives is due to lack of planning. That is why today I will teach you how to install OrangeScrum on Ubuntu 18.04.

OrangeScrum is a fantastic open source project management software. It is ideal for small and medium-sized companies or work teams that are looking for orders and systematize the steps to carry out the project in question.

With this program, you will be able to plan, start, scale and launch your project in a very orderly way. You can Create and assign tasks with utmost clarity and timelines. Track task progress, contribute to the discussion threads, provide timely updates and track time spent on tasks effortlessly.

So, let’s install OrangeScrum on Ubuntu 18.04 LTS.

1. Upgrade the system

- Advertisement -

First of all, it is convenient to update the system. This ensures that all security updates are installed.

:~$ sudo apt update && sudo apt upgrade

1.- Upgrading the system
1.- Upgrading the system

The consequence of doing this step is that you will have the safety patches installed and your system will be more reliable and safer.

2. Install Apache web server

To install OrangeScrum on Ubuntu 18.04 you need an HTTP web server. There are many options, but the most recommended for this program is Apache web server.

:~$ sudo apt install apache2

2.- Installing apache web server
2.- Installing apache web server

Next, enable and start the apache service:

:~$ sudo systemctl enable apache2
:~$ sudo systemctl start apache2

3.- Enabling apache service
3.- Enabling apache service

Next, you can check the apache service.

:~$ sudo systemctl status apache2

4.- Checking the apache service
4.- Checking the apache service

Now, open your web browser and go to HTTP://IP_SERVER. If you this something like this, then, apache is correctly installed.

5.- Apache default page on Ubuntu 18.04
5.- Apache default page on Ubuntu 18.04

Now is PHP’s turn.

3. Install PHP

OrangeScrum is developed in PHP. Specifically in CakePHP. Therefore, it is necessary to install this language and its modules. Here I will also install other packages necessary for OrangeScrum to run smoothly.

:~$ sudo apt install unzip wget php7.2 php7.2-bcmath php7.2-cgi php7.2-cli php7.2-common php-curl php7.2-dba php7.2-enchant php7.2-fpm php7.2-gd php7.2-imap php7.2-intl php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-opcache php-imagick php-memcache php7.2-soap php7.2-tidy php7.2-xml php7.2-zip libapache2-mod-php7.2 xvfb libfontconfig wkhtmltopdf

6.- Installing PHP 7.2 and others required packages
6.- Installing PHP 7.2 and others required packages

Then, you have to edit the PHP configuration file.

:~$ sudo nano /etc/php/7.2/apache2/php.ini

In this file, you have to set this options.

post_max_size = 200M
upload_max_filesize = 200M
max_execution_time = 300
memory_limit = 512M
max_input_vars = 5000

7.- Editing PHP config file
7.- Editing PHP config file

Note: To make the process easier, you can press CTRL + W to find exactly the parameter to edit.

Finally, restart apache2.

:~$ sudo systemctl apache2

Now, you can proceed with MariaDB.

4. Install MariaDB

MariaDB is a relational database manager derived from MySQL. To use OrangeScrum correctly you need to install it.

:~$ sudo apt install mariadb-server

8.- Installing MariaDB
8.- Installing MariaDB

Next, you can set a root password with mysql_secure_installation script. You can also configure other things.

:~$ sudo mysql_secure_installation

9.- Using mysql_secure_installation to secure the MariaDB installation
9.- Using mysql_secure_installation to secure the MariaDB installation

After defining the root password, you will be asked other questions. I answered N, N, Y, Y.

Next, you have to create the Database and user for OrangeScrum.

:~$ sudo mysql -u root -p
CREATE DATABASE orangescrum;
GRANT ALL PRIVILEGES ON orangescrum.* TO 'orangescrumuser'@'localhost' IDENTIFIED BY 'orangescrumbpss';
FLUSH PRIVILEGES;
exit;

10.- Creating the databse and user on MariaDB for OrangeScrum
10.- Creating the database and user on MariaDB for OrangeScrum

Next, create a file to disable strict mode for MariaDB.

:~$ sudo nano /etc/mysql/conf.d/disable_strict_mode.cnf

And add the following:

[mysqld]
sql_mode="IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

11.- Disabling the strict mode on MariaDB
11.- Disabling the strict mode on MariaDB

Finally, restart MariaDB.

:~$ sudo systemctl restart mariadb

And that’s all for MariaDB.

5. Install OrangeScrum

Now, you can install OrangeScrum. However, first download it.

:~$ cd /tmp
:~$ wget https://www.orangescrum.org/free-download/418ae4d8ef1309695804a7837cd4fc65/ubuntu18-php7 -O orangescrum-ubuntu18-php7.zip

12.- Download and install OrangeScrum
12.- Download and install OrangeScrum

Once the installation is complete, decompress the file.

:~$ unzip orangescrum-ubuntu18-php7.zip

13.- Decompressing the file
13.- Decompressing the file

Next, copy the folder to the Apache document root on /var/www/html/

:~$ sudo cp -r orangescrum-orangescrum-ubuntu18-php7 /var/www/html/orangescrum-master

Change the directory to orangescrum-master.

:~$ cd /var/www/html/orangescrum-master

Now, copy the orangeScrum database to the local instance. This is necessary to initialize the database.

:~$ sudo mysql -u orangescrumuser -p orangescrumdb < database.sql

14.- Initializing the Database
14.- Initializing the Database

Then, it is necessary to place the MariaDB credentials in the database.php file of OrangeScrum.

:~$ sudo nano app/Config/database.php

And put your credentials.

class DATABASE_CONFIG {

public $default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'orangescrumuser',
'password' => 'password',
'database' => 'orangescrumdb',
'prefix' => '',
'encoding' => 'utf8',
);
}

Obviously, replace whatever you have to replace. For example, the password.

15.- Setting the MariaDB credentials on OrangeScrum
15.- Setting the MariaDB credentials on OrangeScrum

Next, it is necessary to set the credentials to the SMTP email server.

:~$ sudo nano app/Config/config.ini.php

And put your information.

16.- Setting the email server credentials
16.- Setting the email server credentials

Change the owner of the folder. Next, change the permissions.

:~$ sudo chown -R www-data:www-data /var/www/html/orangescrum-master/
:~$ sudo chmod -R 775 /var/www/html/orangescrum-master/

And enable the PHP and Apache modules. Finally, restart apache.

:~$ sudo phpenmod mbstring
:~$ sudo a2enmod rewrite
:~$ sudo a2enmod headers
:~$ sudo systemctl restart apache2

17.- Changing the permissions to the folders.
17.- Changing the permissions to the folders.

Now, you have the complete the installation on the web browser.

6. Accessing to the Web Interface

The last step is to access the web interface through the web browser. To perform the Login process.

Go to HTTP://IP_SERVER/orangescrum-master/

18.- OrangeScrum log in screen
18.- OrangeScrum log in screen

Create the user and then log in.

Then, you will see this.

19.- OrangeScrum dashboard
19.- OrangeScrum dashboard

And that’s it.

Conclusion

In any organization it is necessary to have a planning before starting a large project or a more basic one. So, OrangeScrum emerges as a very appealing alternative for small and medium enterprises.

You can also read “How to install Wekan on Debian 9“.

Please share this article with your friends.

 

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article