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
First of all, it is convenient to update the system. This ensures that all security updates are installed.
:~$ sudo apt update && sudo apt upgrade
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
Next, enable and start the apache service:
:~$ sudo systemctl enable apache2 :~$ sudo systemctl start apache2
Next, you can check the apache service.
:~$ sudo systemctl status apache2
Now, open your web browser and go to HTTP://IP_SERVER
. If you this something like this, then, apache is correctly installed.
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
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
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
Next, you can set a root password with mysql_secure_installation script
. You can also configure other things.
:~$ sudo mysql_secure_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;
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"
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
Once the installation is complete, decompress the file.
:~$ unzip orangescrum-ubuntu18-php7.zip
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
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.
Next, it is necessary to set the credentials to the SMTP email server.
:~$ sudo nano app/Config/config.ini.php
And put your information.
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
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/
Create the user and then log in.
Then, you will see this.
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.