Leantime is an open-source project management tool that allows you to manage projects, track progress and collaborate with your team.
In this tutorial, we will show you how to install Leantime on your Fedora Server Latest.
Before we start with the installation process, make sure that you have:
Since Leantime is a web-based application, we need Apache, PHP, and MariaDB on our system. You can use the following command to install them:
sudo dnf install httpd php mariadb-server
Once you have installed these packages, start the Apache and MariaDB services and enable them to start on system boot:
sudo systemctl start httpd
sudo systemctl start mariadb
sudo systemctl enable httpd
sudo systemctl enable mariadb
In this step, we will create a database for Leantime in MariaDB. To do so, first log in to the MariaDB database using the following command:
sudo mysql -u root
Once you are logged in, create a new database called leantime:
MariaDB [(none)]> CREATE DATABASE leantime;
Create a new user called leantimeuser and set a password for it:
MariaDB [(none)]> CREATE USER 'leantimeuser'@'localhost' IDENTIFIED BY 'password';
Grant all privileges to the leantime user on the leantime database:
MariaDB [(none)]> GRANT ALL PRIVILEGES ON leantime.* TO 'leantimeuser'@'localhost';
Flush the privileges to apply the changes:
MariaDB [(none)]> FLUSH PRIVILEGES;
Exit the MariaDB shell using the following command:
MariaDB [(none)]> exit
In this step, we will download and install Leantime on our system.
Download the latest version of Leantime by using the following command:
sudo wget https://github.com/Leantime/leantime/releases/download/v2.1.4/leantime_2.1.4.tar.gz
Extract the downloaded file in the Apache document root directory:
sudo tar -xvzf leantime_2.1.4.tar.gz -C /var/www/html/
Rename the extracted directory to leantime:
sudo mv /var/www/html/leantime_2.1.4 /var/www/html/leantime
Set the ownership of the leantime directory to the Apache user:
sudo chown -R apache:apache /var/www/html/leantime
In this step, we will configure Leantime to use the database we created in step 2.
Open the configuration file using the following command:
sudo nano /var/www/html/leantime/app/config/settings.php
Find the following lines in the file:
'db.driver' => 'mysql',
'db.host' => 'localhost',
'db.database' => 'leantime',
'db.username' => 'root',
'db.password' => '',
Replace them with the following lines:
'db.driver' => 'mysql',
'db.host' => 'localhost',
'db.database' => 'leantime',
'db.username' => 'leantimeuser',
'db.password' => 'password',
Save the changes and exit the file.
In this step, we will access Leantime using a web browser.
Open your web browser and type the following URL in the address bar:
http://localhost/leantime
You should see the Leantime login page. Use the default username and password to log in:
Congratulations, you have successfully installed Leantime on your Fedora Server Latest.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!