<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>leantime Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/leantime/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 07 Aug 2021 21:31:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Install Leantime on Ubuntu 20.04</title>
		<link>https://www.osradar.com/leantime-project-management-ubuntu-server/</link>
					<comments>https://www.osradar.com/leantime-project-management-ubuntu-server/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 13 Aug 2021 00:31:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[leantime]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31585</guid>

					<description><![CDATA[<p>Hello, friends. Project management is something that we have to take into account in our organization or workgroup. So, in this post, you will learn how to install Leantime on Ubuntu 20.04. Introducing to Leantime Leantime is a straightforward open-source project management system to make your ideas reality It is that kind of web application [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/leantime-project-management-ubuntu-server/">Install Leantime on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="has-line-data">Hello, friends. Project management is something that we have to take into account in our organization or workgroup. So, in this post, you will learn how to install Leantime on Ubuntu 20.04.</p>



<h2 class="code-line"><a id="Introducing_to_Leantime_2"></a>Introducing to Leantime</h2>



<p class="has-line-data"><strong><a href="https://leantime.io/" target="_blank" rel="noreferrer noopener">Leantime </a>is a straightforward open-source project management system to make your ideas reality</strong></p>



<p class="has-line-data">It is that kind of web application that allows us to manage our projects quickly and easily. For example, with Leantime you can plan your long-term roadmap and break down milestones into clear tasks that you can assign to your team members.</p>



<p class="has-line-data">One of the best things about this application is that it requires little resources as it is a web application created with PHP. For this very reason, Leantime can be installed on many different operating systems which allows for a lot of choices.</p>



<p class="has-line-data">So, in this post, you will learn how to install it step by step.</p>



<h2 class="code-line"><a id="Install_Leantime_on_Ubuntu_2004_12"></a>Install Leantime on Ubuntu 20.04</h2>



<p class="has-line-data">So, connect via SSH to your server and upgrade it.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p class="has-line-data">After this, then we can start the installation itself.</p>



<h3 class="code-line"><a id="Install_LAMP_on_Ubuntu_2004_21"></a>Install LAMP on Ubuntu 20.04</h3>



<p class="has-line-data">Since this is a web application, we can then use LAMP. So if you want to install it, then our post will help you with that.</p>



<p class="has-line-data">Also, you have to install these PHP modules as well as other necessary packages.</p>



<pre class="wp-block-preformatted">php php-mysql php-curl php-curl php-curl php-json php-cgi php-xmlrpc php-gd php-mbstring unzip</pre>



<p class="has-line-data">Once you have them installed, then we can continue.</p>



<h3 class="code-line"><a id="Create_a_new_database_on_MariaDB_31"></a>Create a new database on MariaDB</h3>



<p class="has-line-data">Leantime requires a database handler to store the generated data. So, we already have MariaDB installed, but it is convenient to create a new database as well as a dedicated user for Leantime.</p>



<p class="has-line-data">So, open the MariaDB shell</p>



<pre class="wp-block-preformatted">sudo mysql -u root -p</pre>



<p class="has-line-data">Then, create the database, the user, and his permissions</p>



<pre class="wp-block-preformatted">CREATE DATABASE leantime;
GRANT ALL PRIVILEGES ON leantime.* TO 'user'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;</pre>



<p class="has-line-data">You can change the database name, user, and password to whatever you want.</p>



<p class="has-line-data">Then exit the shell.</p>



<pre class="wp-block-preformatted">exit;</pre>



<h3 class="code-line"><a id="Download_Leantime_51"></a>Download Leantime</h3>



<p class="has-line-data">Now you can download Leantime. To do this, we will use the <code>wget</code> command</p>



<pre class="wp-block-preformatted">cd /tmp/
wget https://leantime.io/download?wpdmdl=7413 -O leantime.zip
--2021-08-07 17:16:57--  https://leantime.io/download?wpdmdl=7413
Resolving leantime.io (leantime.io)... 52.41.34.197
Connecting to leantime.io (leantime.io)|52.41.34.197|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29635461 (28M) [application/zip]
Saving to: ‘leantime.zip’

leantime.zip                              100%[=====================================================================================>]  28.26M  4.17MB/s    in 7.1s

2021-08-07 17:17:05 (3.99 MB/s) - ‘leantime.zip’ saved [29635461/29635461]</pre>



<p class="has-line-data">Then, unzip it in the Apache root directory.</p>



<pre class="wp-block-preformatted">sudo unzip leantime.zip -d /var/www/html/leantime</pre>



<p class="has-line-data">So, make Apache the owner of the folder.</p>



<pre class="wp-block-preformatted">sudo chown -R www-data:www-data /var/www/html/leantime</pre>



<p class="has-line-data">And assign appropriate permissions to it:</p>



<pre class="wp-block-preformatted">sudo chmod -R 755 /var/www/html/leantime</pre>



<p class="has-line-data">The next step is to enable the default Leantime configuration. To do this, just rename the sample file.</p>



<pre class="wp-block-preformatted">sudo mv /var/www/html/leantime/config/configuration.sample.php /var/www/html/leantime/config/configuration.php</pre>



<p class="has-line-data">Edit the configuration file to set our database parameters.</p>



<pre class="wp-block-preformatted">sudo nano /var/www/html/leantime/config/configuration.php</pre>



<p class="has-line-data">And set the database name, user, and password.</p>



<pre class="wp-block-preformatted">/* Database */
public $dbHost="localhost"; //Database host
public $dbUser="user"; //Database username
public $dbPassword="password"; //Database password
public $dbDatabase="leantime"; //Database name</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="774" height="243" src="https://www.osradar.com/wp-content/uploads/2021/08/1-3.png" alt="1.- Configuring the Leantime database" class="wp-image-31618" srcset="https://www.osradar.com/wp-content/uploads/2021/08/1-3.png 774w, https://www.osradar.com/wp-content/uploads/2021/08/1-3-300x94.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/1-3-768x241.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/1-3-696x219.png 696w" sizes="(max-width: 774px) 100vw, 774px" /><figcaption>1.- Configuring the Leantime database</figcaption></figure>



<p class="has-line-data">Next, you have to create a new Virtualhost for Leantime.</p>



<pre class="wp-block-preformatted">sudo nano /etc/apache2/sites-available/leantime.conf</pre>



<p class="has-line-data">Add the following</p>



<pre class="wp-block-preformatted">&lt;VirtualHost *:80>
    ServerAdmin admin@leantime.osradar.test
    DocumentRoot /var/www/html/leantime/
    ServerName leantime.osradar.test

    &lt;Directory /var/www/html/leantime/>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        allow from all
    &lt;/Directory>

    ErrorLog /var/log/apache2/leantime.osradar.test-error_log
    CustomLog /var/log/apache2/leantime.osradar.test-access_log common
&lt;/VirtualHost></pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="957" height="363" src="https://www.osradar.com/wp-content/uploads/2021/08/2-2.png" alt="2.- Creating a new Virtualhost for Leantime" class="wp-image-31619" srcset="https://www.osradar.com/wp-content/uploads/2021/08/2-2.png 957w, https://www.osradar.com/wp-content/uploads/2021/08/2-2-300x114.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/2-2-768x291.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/2-2-696x264.png 696w" sizes="(max-width: 957px) 100vw, 957px" /><figcaption>2.- Creating a new Virtualhost for Leantime</figcaption></figure>



<p class="has-line-data">Remember to change the value of <code>ServerName</code> to your server and <code>ServerAdmin</code> as well as anything else you see fit.Save the changes and close the editor.</p>



<p class="has-line-data">So, enable the new Virtualhost.</p>



<pre class="wp-block-preformatted">sudo a2ensite leantime</pre>



<p class="has-line-data">And the <code>rewrite</code> Apache module and to apply the changes, restart Apache.</p>



<pre class="wp-block-preformatted">sudo a2enmod rewrite
sudo systemctl restart apache2</pre>



<h3 class="code-line"><a id="Enabling_HTTPS_with_Lets_Encrypt_105"></a>Enabling HTTPS with Let’s Encrypt</h3>



<p class="has-line-data">This step, although optional, is recommended because it guarantees that all the information that circulates is secure.</p>



<p class="has-line-data">So, install Certbot and its Apache plugin.</p>



<pre class="wp-block-preformatted">sudo apt install certbot python3-certbot-apache</pre>



<p class="has-line-data">And now generate the certificate as follows</p>



<pre class="wp-block-preformatted">sudo certbot --apache --d [your-domain]</pre>



<p class="has-line-data">This way, after accepting the license terms and adding your email address, the certificates will be generated and installed.</p>



<p class="has-line-data">You can restart Apache.</p>



<pre class="wp-block-preformatted">sudo systemctl restart apache</pre>



<p class="has-line-data">Now, to finish the job</p>



<h3 class="code-line"><a id="Complete_the_installation_125"></a>Complete the installation</h3>



<p class="has-line-data">Now open your favorite web browser and go to <code>https://your-domain/install</code> where you will see the screen to create the new user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="511" src="https://www.osradar.com/wp-content/uploads/2021/08/3-1-1024x511.png" alt="3.- Leantime install screen" class="wp-image-31620" srcset="https://www.osradar.com/wp-content/uploads/2021/08/3-1-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/3-1-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/3-1-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/3-1-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/3-1-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/3-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Leantime install screen</figcaption></figure>



<p class="has-line-data">After creating it, you will be informed that the process has been successful and you can log in.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="518" src="https://www.osradar.com/wp-content/uploads/2021/08/4-1024x518.png" alt="4.- Leantime installed" class="wp-image-31621" srcset="https://www.osradar.com/wp-content/uploads/2021/08/4-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/4-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/4-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/4-696x352.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/4-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/4.png 1349w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Leantime installed</figcaption></figure>



<p class="has-line-data">Once logged in, you will be able to enjoy a tour of the application.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="518" src="https://www.osradar.com/wp-content/uploads/2021/08/5-1024x518.png" alt="5.- Welcome to Leantime screen" class="wp-image-31622" srcset="https://www.osradar.com/wp-content/uploads/2021/08/5-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/5-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/5-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/5-696x352.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/5-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/5.png 1349w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Welcome to Leantime screen</figcaption></figure>



<p class="has-line-data">and then you will see the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="518" src="https://www.osradar.com/wp-content/uploads/2021/08/6-1024x518.png" alt="6.- Leantime dashaboard" class="wp-image-31623" srcset="https://www.osradar.com/wp-content/uploads/2021/08/6-1024x518.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/6-300x152.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/6-768x388.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/6-696x352.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/6-1068x540.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/6.png 1349w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Leantime dashaboard</figcaption></figure>



<p class="has-line-data">So, enjoy it-</p>



<h2 class="code-line"><a id="Conclusion_137"></a>Conclusion</h2>



<p class="has-line-data">In this post, you have learned how to install Leantime on Ubuntu 20.04. This application will help your team to manage the projects you need.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/leantime-project-management-ubuntu-server/">Install Leantime on Ubuntu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/leantime-project-management-ubuntu-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
