<?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>server Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 27 Sep 2022 16:33:37 +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>Upgrade from Debian 11 to Debian 11.1</title>
		<link>https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/</link>
					<comments>https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 18 Oct 2021 00:57:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32636</guid>

					<description><![CDATA[<p>Hello, dear friends. Many users who are not used to the Linux upgrade system, may be confused about the way it is done. Recently, Debian 11.1 has been released as one of the first maintenance releases of this great version. In this tutorial, you will learn how to upgrade from Debian 11 to Debian 11.1. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/">Upgrade from Debian 11 to Debian 11.1</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, dear friends. Many users who are not used to the Linux upgrade system, may be confused about the way it is done. Recently, <a href="https://www.debian.org/News/2021/20211009" target="_blank" rel="noreferrer noopener">Debian 11.1 has been released</a> as one of the first maintenance releases of this great version. In this tutorial, you will learn how to upgrade from Debian 11 to Debian 11.1.</p>



<h2>Debian 11.1 is available</h2>



<p>This point release mainly adds corrections for security issues, along with a few adjustments for serious problems. Security advisories have already been published separately and are referenced where available.</p>



<p>One of the things the development team emphasizes is that this is not a <a href="https://www.osradar.com/tag/bullseye" target="_blank" rel="noreferrer noopener">new major release of Debian</a>, but a bug-fix release.</p>



<p>Another thing to note is that those who frequently install updates from security.debian.org won&#8217;t have to update many packages, and most such updates are included in the point release. So the importance of always updating the system and doing so frequently is emphasized.</p>



<p>So this is a maintenance release but we still need to get it on the system to avoid security problems.</p>



<p>In this post, we will show you how to do it using the terminal without any problems.</p>



<h2>Upgrade from Debian 11 to Debian 11.1</h2>



<p>The upgrade process is very easy and should not give us any problems. However, it&#8217;s also not a bad idea to back up the most sensitive data on your disk to an external device.</p>



<p>Also, it is a good idea to have as few external repositories on your system as possible.</p>



<p>So, check the current version of Debian.</p>



<pre class="wp-block-preformatted">lsb_release -a<br>No LSB modules are available.<br>Distributor ID: Debian<br>Description: Debian GNU/Linux 11 (bullseye)<br>Release: 11<br>Codename: bullseye</pre>



<p>After that, open a terminal and update the current package.</p>



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



<p>Now perform the system upgrade</p>



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



<p>After this, the process will be finished and you will have Debian 11.1 up and running.</p>



<p>This way the upgrade has been successful and we can continue our work.</p>



<h2>Conclusion</h2>



<p>In this post, you learned how to upgrade Debian 11 to Debian 11.1 to get the latest Debian security features. I hope you found this post useful, although simple, it can be of help to many newbies to the system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/upgrade-from-debian-11-to-debian-11-1/">Upgrade from Debian 11 to Debian 11.1</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/upgrade-from-debian-11-to-debian-11-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Django on Debian 11</title>
		<link>https://www.osradar.com/install-django-debian-11/</link>
					<comments>https://www.osradar.com/install-django-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 05 Oct 2021 23:08:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32490</guid>

					<description><![CDATA[<p>Hello friends. If you are fond of Python but also web development then you have to try Django. This powerful Python-based framework will allow you to develop robust web applications quickly and easily. So, in this post, you will learn how to install Django on Debian 11. Introducing to Django Django is an open-source framework [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-django-debian-11/">Install Django on Debian 11</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello friends. If you are fond of Python but also web development then you have to try Django. This powerful Python-based framework will allow you to develop robust web applications quickly and easily. So, in this post, you will learn how to install Django on Debian 11.</p>



<h2 id="introducing-to-django">Introducing to Django</h2>



<p><a href="https://www.djangoproject.com/" target="_blank" rel="noreferrer noopener">Django </a>is an open-source framework written in Python and based on the MTV (Model Template View) design pattern for developing websites, applications, and APIs (with Django REST Framework).</p>



<p>Django was designed to help us develop applications from concept to completion as quickly as possible. It also takes security seriously and helps us avoid many common security bugs.</p>



<p>Moreover, Django’s ability to scale quickly and flexibly is one of its main advantages. So if you have a website such as a forum that you are going to add features to later, Django is a good alternative.</p>



<p>In addition, Django is incredibly versatile and can be used to build everything from content management systems to social networks and scientific computing platforms.</p>



<p>So, let’s get started.</p>



<h2 id="install-django-on-debian-11">Install Django on Debian 11</h2>



<p>Before getting started with Django, it’s necessary to update the distribution so that we can avoid problems.</p>



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



<p>Now we need to<a href="https://www.osradar.com/how-to-install-pip-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener"> install PIP</a>. This tool will help us with the installation of Django on our system.</p>



<pre class="wp-block-preformatted">sudo apt install python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python-pip-whl python3-wheel
Recommended packages:
  build-essential python3-dev
The following NEW packages will be installed:
  python-pip-whl python3-pip python3-wheel
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 2,309 kB of archives.
After this operation, 3,671 kB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>Next, we have to update PIP to the latest stable version available.</p>



<pre class="wp-block-preformatted">pip3 install -U pip
Requirement already satisfied: pip in /usr/lib/python3/dist-packages (20.3.4)
Collecting pip
  Downloading pip-21.2.4-py3-none-any.whl (1.6 MB)
     |████████████████████████████████| 1.6 MB 7.6 MB/s
Installing collected packages: pip
Successfully installed pip-21.2.4</pre>



<p>Now check the installed version by running the following command</p>



<pre class="wp-block-preformatted">pip3 --version
pip 21.2.4 from /home/angelo/.local/lib/python3.9/site-packages/pip (python 3.9</pre>



<p>Now you can install Django on your system with the help of PIP.</p>



<pre class="wp-block-preformatted">sudo pip3 install Django
Installing collected packages: sqlparse, pytz, asgiref, Django
Successfully installed Django-3.2.7 asgiref-3.4.1 pytz-2021.3 sqlparse-0.4.2</pre>



<p>When you install Django, it will enable the <code>django-admin</code> command that we will use to administer Django. For now, check the installed version.</p>



<pre class="wp-block-preformatted">django-admin --version
3.2.7</pre>



<h3 id="testing-django-on-debian-11">Testing Django on Debian 11</h3>



<p>Now we need to test the installation of Django and for that, we’re going to create a new project</p>



<p>Create a new folder dedicated to the project and go to it</p>



<pre class="wp-block-preformatted">mkdir example
cd example</pre>



<p>You can replace <code>example</code> with any name you want. Now create the new project.</p>



<pre class="wp-block-preformatted">django-admin startproject project</pre>



<p>Replace <code>project</code> with the name you will give to your project.</p>



<p>This will create a folder with the same name that you need to access.</p>



<pre class="wp-block-preformatted">cd project</pre>



<p>Now you need to apply the default settings</p>



<pre class="wp-block-preformatted">python3 manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying admin.0003_logentry_add_action_flag_choices... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
.
.
.</pre>



<p>Next, it’s time to create an admin user for Django.</p>



<pre class="wp-block-preformatted">python3 manage.py createsuperuser
Username (leave blank to use 'angelo'):
Email address: angelo@osradar.com
Password:
Password (again):
Superuser created successfully.</pre>



<p>There you will be asked for a username and password to use.</p>



<p>Now you have to configure Django to allow remote access.</p>



<pre class="wp-block-preformatted">nano project/settings.py
ALLOWED_HOSTS = ['IP_PC']]</pre>



<p>Save your changes and close the editor.</p>



<pre class="wp-block-preformatted">python3 manage.py runserver 0.0.0.0.0:8080
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
October 02, 2021 - 14:45:55
Django version 3.2.7, using settings 'project.settings'
Starting development server at http://0.0.0.0:8080/
Quit the server with CONTROL-C.</pre>



<p>Now open your web browser and go to <code>http://your-pc:8080</code> and you will see the main Django screen.</p>



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



<p>Then, to access the admin panel, go to <code>http://your-pc:8080/admin</code>.</p>



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



<p>After logging in you will see the dashboard.</p>



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



<p>So, enjoy it.</p>



<h2 id="conclusion">Conclusion</h2>



<p>So, Installing Django on our system can help us if we are starting in this world of Python and the web. This process is made easy thanks to tools like PIP.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-django-debian-11/">Install Django on Debian 11</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/install-django-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install ReactJS on Ubuntu 20.04</title>
		<link>https://www.osradar.com/install-reactjs-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-reactjs-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 30 Sep 2021 23:03:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Javascritpt]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32484</guid>

					<description><![CDATA[<p>Hello, friends. Ubuntu 20.04 is a good system to start developing applications and this is well known by most veteran developers. So, today I will show you how to install ReactJS on Ubuntu 20.04 as a first step so you can start using this tool for your web applications. So, first, let’s talk about what [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-reactjs-ubuntu-20-04/">How to install ReactJS 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. Ubuntu 20.04 is a good system to start developing applications and this is well known by most veteran developers. So, today I will show you how to install ReactJS on Ubuntu 20.04 as a first step so you can start using this tool for your web applications.</p>



<p class="has-line-data">So, first, let’s talk about what is ReactJS</p>



<p class="has-line-data"><strong><a href="https://reactjs.org/" target="_blank" rel="noreferrer noopener">ReactJS </a>is an open-source JavaScript library for developing user interfaces.</strong> It was launched in 2013 and developed by Facebook, which also currently maintains it together with a community of independent developers and companies.</p>



<p class="has-line-data">React, as it is also known, represents a solid foundation on which almost anything can be built with JavaScript. It also makes development much easier, as it offers us many ready-made things, which we don’t need to spend time working on.</p>



<p class="has-line-data">An example of this is that <strong>it is used to develop web applications in a more orderly way and with less code than if you use pure Javascript or libraries like jQuery focused on DOM manipulation</strong>. It allows views to be associated with data, so that if the data changes, so do the views.</p>



<p class="has-line-data">For these and other reasons, many developers use it in their front-end projects.</p>



<p class="has-line-data">So, let’s install it.</p>



<h2 class="code-line"><a id="Install_ReactJS_on_UBuntu_2004_14"></a>Install ReactJS on UBuntu 20.04</h2>



<p class="has-line-data">React, as we’ll call it, depends on NodeJS so the first step is to install it on the system.</p>



<p class="has-line-data">So, open a terminal and update the distro completely.</p>



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



<p class="has-line-data">After that, add the NodeJS 14.x repository which is the version we will be working with.</p>



<pre class="wp-block-preformatted">curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -</pre>



<p class="has-line-data">When the process is finished, we can start the NodeJS installation by running the following command</p>



<pre class="wp-block-preformatted">sudo apt install nodejs</pre>



<p class="has-line-data">When finished, you will be able to check the version of NodeJS installed on the system.</p>



<pre class="wp-block-preformatted">node -v
v14.18.0</pre>



<p class="has-line-data">Now it is necessary to install a recent version of NPM to do so run</p>



<pre class="wp-block-preformatted">sudo npm install npm@latest -g</pre>



<p class="has-line-data">Output</p>



<pre class="wp-block-preformatted">/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
/usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
+ npm@7.24.1
added 70 packages from 27 contributors, removed 250 packages and updated 187 packages in 6.975s</pre>



<p class="has-line-data">To install ReactJS then, run the following command</p>



<pre class="wp-block-preformatted">sudo npm install -g create-react-app</pre>



<p class="has-line-data">Query the installed version to check that the installation was successful.</p>



<pre class="wp-block-preformatted">create-react-app --version
4.0.3</pre>



<p class="has-line-data">With this, we can start creating our projects without problems</p>



<h3 class="code-line"><a id="Creating_a_new_ReactJS_project_58"></a>Creating a new ReactJS project</h3>



<p class="has-line-data">To create a new project with ReactJS just run the following command</p>



<pre class="wp-block-preformatted">create-react-app example</pre>



<p class="has-line-data">You have to replace <code>example</code> with the name of your project. This will start the whole process of downloading and configuring the new project.</p>



<p class="has-line-data">When the process is finished, you will see the following output on the screen</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="887" height="403" src="https://www.osradar.com/wp-content/uploads/2021/09/1-7.png" alt="1.- ReactJS installed" class="wp-image-32491" srcset="https://www.osradar.com/wp-content/uploads/2021/09/1-7.png 887w, https://www.osradar.com/wp-content/uploads/2021/09/1-7-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2021/09/1-7-768x349.png 768w, https://www.osradar.com/wp-content/uploads/2021/09/1-7-696x316.png 696w" sizes="(max-width: 887px) 100vw, 887px" /><figcaption>1.- ReactJS installed</figcaption></figure>



<p class="has-line-data">As you can see, you have some commands that you should use when needed. To check that everything went well, run</p>



<pre class="wp-block-preformatted">npm start</pre>



<p class="has-line-data">Now open a web browser and go to <code>http://your-server:3000</code> or <code>http://localhost:3000</code> and you’ll see a screen like this</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="511" src="https://www.osradar.com/wp-content/uploads/2021/09/2-4-1024x511.png" alt="2.- ReactJS on Ubuntu 20.04" class="wp-image-32492" srcset="https://www.osradar.com/wp-content/uploads/2021/09/2-4-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/09/2-4-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/09/2-4.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- ReactJS on Ubuntu 20.04</figcaption></figure>



<p class="has-line-data">So, ReactJS is ready and you can now create great creations with it. Enjoy it!</p>



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



<p class="has-line-data">ReactJS is a great tool on the Front-end side itself gives us answers to many problems arising from the use of JQuery. So, in this post, you learn how to install it on Ubuntu 20.04</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-reactjs-ubuntu-20-04/">How to install ReactJS 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/install-reactjs-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Docker on Debian 11</title>
		<link>https://www.osradar.com/install-docker-debian-server/</link>
					<comments>https://www.osradar.com/install-docker-debian-server/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 20 Sep 2021 05:47:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32142</guid>

					<description><![CDATA[<p>Hello, friends. With Debian 11 up and running, the upgrade work that many sysadmins do begins. Part of it involves installing Docker on Debian 11 so they can deploy their images again without problems on this new system. For those of you who don’t know, Docker is a not-so-old technology for creating and deploying applications [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-docker-debian-server/">Install Docker on Debian 11</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. With Debian 11 up and running, the upgrade work that many sysadmins do begins. Part of it involves installing Docker on Debian 11 so they can deploy their images again without problems on this new system.</p>



<p class="has-line-data">For those of you who don’t know, <strong><a href="https://www.docker.com/" target="_blank" rel="noreferrer noopener">Docker </a>is a not-so-old technology for creating and deploying applications using containers</strong>. Containers allow you to package an application with all the parts you need, such as libraries and other dependencies and deploy it as a single package.</p>



<p class="has-line-data">One of the advantages of using containers is that <strong>we can be sure that our application will run the same on other computers and systems that support Docker</strong> regardless of any custom configuration the machine may have.</p>



<p class="has-line-data">So, as you can see, developers and sysadmin consider Docker essential to do most of the work they do.</p>



<p class="has-line-data">So, let’s install it on Debian 11.</p>



<h2 class="code-line"><a id="Install_Docker_on_Debian_11_10"></a>Install Docker on Debian 11</h2>



<p class="has-line-data">From the official Docker documentation, we are told that there are several methods of installation. One of them is to add the official Docker repository to the system to get the latest stable version available. This is the recommended method.</p>



<p class="has-line-data">So, connect via SSH to your server or open your terminal and make sure the system is up to date.</p>



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



<p class="has-line-data">In case you don’t have <code>sudo</code> access then you will have to run these commands as root.</p>



<p class="has-line-data">If you want to install Docker on your system, you probably don’t have it, but you want to make sure it is not installed. This is especially important in work environments where access is shared.</p>



<pre class="wp-block-preformatted">sudo apt remove docker docker-engine docker.io containerd runc</pre>



<p class="has-line-data">Next, install a few packages needed to complete the tutorial.</p>



<pre class="wp-block-preformatted">sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release</pre>



<p class="has-line-data">After this, add the GPG key from the repository.</p>



<pre class="wp-block-preformatted">curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg</pre>



<p class="has-line-data">And now yes, add the Docker repository for Debian 11</p>



<pre class="wp-block-preformatted">echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null</pre>



<p class="has-line-data">Refresh APT again and now install Docker on the system.</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  aufs-tools cgroupfs-mount | cgroup-lite
Recommended packages:
  apparmor docker-ce-rootless-extras git libltdl7 pigz docker-scan-plugin
The following NEW packages will be installed:
  containerd.io docker-ce docker-ce-cli
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
Need to get 84.7 MB of archives.</pre>



<p class="has-line-data">Now you can verify the installed version with the command</p>



<pre class="wp-block-preformatted">docker --version
Docker version 20.10.8, build 3967b7d</pre>



<p class="has-line-data">And also check the status of the service</p>



<pre class="wp-block-preformatted">sudo systemctl status docker
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-09-07 17:34:04 CEST; 2min 47s ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 3127 (dockerd)
      Tasks: 8
     Memory: 38.1M
        CPU: 318ms
     CGroup: /system.slice/docker.service
             └─3127 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.207590098+02:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=gr&gt;Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.207613182+02:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/co&gt;Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.207627959+02:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.291431722+02:00" level=info msg="Loading containers: start."
Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.507218484+02:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16&gt;Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.586246350+02:00" level=info msg="Loading containers: done."
Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.607084077+02:00" level=info msg="Docker daemon" commit=75249d8 graphdriver(s)=overlay2 version=20.10.8 Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.607211307+02:00" level=info msg="Daemon has completed initialization"
Sep 07 17:34:04 osradar systemd[1]: Started Docker Application Container Engine.
Sep 07 17:34:04 osradar dockerd[3127]: time="2021-09-07T17:34:04.638456943+02:00" level=info msg="API listen on /run/docker.sock"</pre>



<h2 class="code-line"><a id="Configuring_Docker_before_using_it_50"></a>Configuring Docker before using it</h2>



<p class="has-line-data">By default, Docker is used with the root user. This can lead to security problems and you may not want to do it.</p>



<p class="has-line-data">So to be able to use Docker without being root, you need to create a group called <code>docker</code> and add your user to this group.</p>



<pre class="wp-block-preformatted">sudo groupadd docker
sudo usermod -aG docker $USER</pre>



<p class="has-line-data">Log out and log back in so that your group membership is re-evaluated.</p>



<p class="has-line-data">This is enough.</p>



<p class="has-line-data">Another thing you can do is to make Docker start with the system. To do this, run these commands.</p>



<pre class="wp-block-preformatted">sudo systemctl enable docker.service
sudo systemctl enable containerd.service</pre>



<p class="has-line-data">Now we can test the installation.</p>



<h2 class="code-line"><a id="Testing_Docker_on_Debian_11_70"></a>Testing Docker on Debian 11</h2>



<p class="has-line-data">To test Docker, just run the <code>hello-world</code> image that is included in the installation.</p>



<pre class="wp-block-preformatted">docker run hello-world</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="890" height="484" src="https://www.osradar.com/wp-content/uploads/2021/09/1-4.png" alt="1.- Docker running on Debian 11" class="wp-image-32152" srcset="https://www.osradar.com/wp-content/uploads/2021/09/1-4.png 890w, https://www.osradar.com/wp-content/uploads/2021/09/1-4-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2021/09/1-4-768x418.png 768w, https://www.osradar.com/wp-content/uploads/2021/09/1-4-696x378.png 696w" sizes="(max-width: 890px) 100vw, 890px" /><figcaption>1.- Docker running on Debian 11</figcaption></figure>



<p class="has-line-data">The image indicates that everything went well. Enjoy it.</p>



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



<p class="has-line-data">Docker is a fantastic tool that has revolutionized the way software is distributed. For this, it is necessary to install it on a robust system like Debian 11.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-docker-debian-server/">Install Docker on Debian 11</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/install-docker-debian-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PHPMyAdmin on Debian 11</title>
		<link>https://www.osradar.com/install-phpmyadmin-debian/</link>
					<comments>https://www.osradar.com/install-phpmyadmin-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 14 Sep 2021 04:01:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32138</guid>

					<description><![CDATA[<p>Hello, friends. In this post, we will help you to install the latest stable version of PHPMyAdmin on Debian 11. If there is a tool that has helped in the management of MySQL / MariaDB data is PHPMyAdmin both professionals and students or even enthusiasts. So, what is PHPMyAdmin? According to the project website, phpMyAdmin [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-phpmyadmin-debian/">How to install PHPMyAdmin on Debian 11</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. In this post, we will help you to install the latest stable version of PHPMyAdmin on Debian 11.</p>



<p class="has-line-data">If there is a tool that has helped in the management of MySQL / MariaDB data is PHPMyAdmin both professionals and students or even enthusiasts.</p>



<p class="has-line-data">So, what is PHPMyAdmin?</p>



<p class="has-line-data">According to the <a href="https://www.phpmyadmin.net/" target="_blank" rel="noreferrer noopener">project website</a>,</p>



<blockquote class="wp-block-quote"><p class="has-line-data" data-line-start="8" data-line-end="9">phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL and MariaDB. Frequently used operations (managing databases, tables, columns, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still can directly execute any SQL statement.</p></blockquote>



<p class="has-line-data">Therefore, with PHPMyAdmin we can quickly query our data and other options quickly and easily. In addition to this, we are talking about an open-source project with which we can examine its source code and even modify it.</p>



<p class="has-line-data">Another advantage of using PHPMyAdmin is that as it is a project created with PHP, the only thing we need is an operating system with a web server installed. From there, we can then access it with a web device such as a computer, tablet, or mobile phone.</p>



<p class="has-line-data">So, let’s get started.</p>



<h2 class="code-line"><a id="Install_PHPMyAdmin_on_Debian_11_16"></a>Install PHPMyAdmin on Debian 11</h2>



<p class="has-line-data">By default, it is included in the official Debian 11 repositories. So installing it is very easy to do. The problem is that the versions included in the repositories are not always the most up-to-date.</p>



<p class="has-line-data">So in this post, we’ll go through the whole process to get the latest stable version published on the PHPMyAdmin website.</p>



<h3 class="code-line"><a id="Install_LAMP_on_Debian_11_22"></a>Install LAMP on Debian 11</h3>



<p class="has-line-data">Since this is a web application, then it is necessary to have our computer working as a web server. So, we need to install LAMP on Debian 11</p>



<p class="has-line-data">For that, you have to install first<a href="https://www.osradar.com/install-apache-web-server-php-debian-linux/" target="_blank" rel="noreferrer noopener"> Apache on Debian 11</a> and then <a href="https://www.osradar.com/install-mariadb-database-debian/" target="_blank" rel="noreferrer noopener">MariaDB on Debian 11</a>. With our posts, you will have no problem doing that.</p>



<p class="has-line-data">Also, it is necessary to install some PHP modules such as</p>



<pre class="wp-block-preformatted">php libapache2-mod-php php-mysql php-mysql php-mbstring php-xml php-zip</pre>



<p class="has-line-data">Once we have LAMP fully installed, we can continue.</p>



<h3 class="code-line"><a id="Downloading_and_installing_the_latest_version_of_PHPMyAdmin_34"></a>Downloading and installing the latest version of PHPMyAdmin</h3>



<p class="has-line-data">At the time of writing this post, the latest stable version of PHPMyAdmin is <code>5.1.1</code> in the future this will change. So to keep it working, in the commands replace <code>5.1.1</code> with the updated version number.</p>



<p class="has-line-data">Now, from the <code>/tmp/</code> folder download PHPMyAdmin with the command <code>wget</code>.</p>



<pre class="wp-block-preformatted">cd /tmp/
wget https://files.phpmyadmin.net/phpMyAdmin/5.1.1/phpMyAdmin-5.1.1-all-languages.tar.gz</pre>



<p class="has-line-data">Then unzip it and move it to another location. In this case, I will move it to <code>/usr/share/phpmyadmin</code>.</p>



<pre class="wp-block-preformatted">sudo mv phpMyAdmin-5.1.1-all-languages /usr/share/phpmyadmin</pre>



<p class="has-line-data">Now create a <code>tmp</code> folder dedicated to PHPMyAdmin. Then make Apache the owner of it.</p>



<pre class="wp-block-preformatted">sudo mkdir -p /var/lib/phpmyadmin/tmp
sudo chown -R www-data:www-data /var/lib/phpmyadmin</pre>



<p class="has-line-data">Also, create a folder dedicated to the configuration:</p>



<pre class="wp-block-preformatted">sudo mkdir /etc/phpmyadmin/</pre>



<p class="has-line-data">Enable the PHPMyAdmin configuration by copying the sample with the configuration name that the program will recognize.</p>



<pre class="wp-block-preformatted">sudo cp /usr/share/phpmyadmin/config.sample.inc.php /usr/share/phpmyadmin/config.inc.php</pre>



<p class="has-line-data">This file needs to be edited to make two modifications.</p>



<pre class="wp-block-preformatted">sudo nano /usr/share/phpmyadmin/config.inc.php</pre>



<p class="has-line-data">The first is to define a passphrase that will help us to increase security.</p>



<pre class="wp-block-preformatted">$cfg['blowfish_secret'] = '[passphrase]'; </pre>



<p class="has-line-data">The second is to set the path to the temporary folder we created for PHPMyAdmin. You can add this line.</p>



<pre class="wp-block-preformatted">$cfg['TempDir'] = '/var/lib/phpmyadmin/tmp';</pre>



<p class="has-line-data">Save your changes and close the editor.</p>



<p class="has-line-data">Now you need to add a recommended Apache configuration for ideal access to PHPMyAdmin.</p>



<p class="has-line-data">So, Create the file</p>



<pre class="wp-block-preformatted">sudo nano /etc/apache2/conf-enabled/phpmyadmin.conf</pre>



<p class="has-line-data">And add the following:</p>



<pre class="wp-block-preformatted">Alias /phpmyadmin /usr/share/phpmyadmin
ServerName your-domain

&lt;Directory /usr/share/phpmyadmin>
    Options SymLinksIfOwnerMatch
    DirectoryIndex index.php

    &lt;IfModule mod_php5.c>
        &lt;IfModule mod_mime.c>
            AddType application/x-httpd-php .php
        &lt;/IfModule>
        &lt;FilesMatch ".+\.php$">
            SetHandler application/x-httpd-php
        &lt;/FilesMatch>

        php_value include_path .
        php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
        php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/
        php_admin_value mbstring.func_overload 0
    &lt;/IfModule>
    &lt;IfModule mod_php.c>
        &lt;IfModule mod_mime.c>
            AddType application/x-httpd-php .php
        &lt;/IfModule>
        &lt;FilesMatch ".+\.php$">
            SetHandler application/x-httpd-php
        &lt;/FilesMatch>

        php_value include_path .
        php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
        php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/
        php_admin_value mbstring.func_overload 0
    &lt;/IfModule>

&lt;/Directory>

&lt;Directory /usr/share/phpmyadmin/setup>
    &lt;IfModule mod_authz_core.c>
        &lt;IfModule mod_authn_file.c>
            AuthType Basic
            AuthName "phpMyAdmin Setup"
            AuthUserFile /etc/phpmyadmin/htpasswd.setup
        &lt;/IfModule>
        Require valid-user
    &lt;/IfModule>
&lt;/Directory></pre>



<p class="has-line-data">Save the changes and close the editor.</p>



<p class="has-line-data">Now enable the <code>rewrite</code> module and check the service status for an error.</p>



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



<p class="has-line-data">Optionally, but recommended, you can secure access to PHPMyAdmin by installing Let’s Encrypt certificates.</p>



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



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



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



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



<p class="has-line-data">Then, follow the interactive instructions of the tool. There you will have to define your email address and the installation will be done.</p>



<p class="has-line-data">Then, restart Apache.</p>



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



<p class="has-line-data">Now you can access using your favorite web browser at <code>https://your-server/phpmyadmin/</code> and you will see the login screen.</p>



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



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



<h2>Conclusion</h2>



<p class="has-line-data">PHPMyAdmin is a sophisticated tool that allows us to manage a MariaDB instance without much trouble. It can be useful to save a lot of time in viewing the data and the many options we have to work with.</p>



<p class="has-line-data">With this post, you learned how to install the latest stable version without major problems having LAMP as a base.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-phpmyadmin-debian/">How to install PHPMyAdmin on Debian 11</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/install-phpmyadmin-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install LAMP on Debian 11</title>
		<link>https://www.osradar.com/install-lamp-stack-debian-server/</link>
					<comments>https://www.osradar.com/install-lamp-stack-debian-server/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 07 Sep 2021 23:09:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32082</guid>

					<description><![CDATA[<p>Hello friends. In this post, you will learn how to install the LAMP stack on Debian 11 The LAMP stack is a set of applications that allow us to deploy a web server efficiently and quickly. LAMP stands for Linux, Apache web server, MariaDB, and PHP. Together they can make a computer a functional web [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-stack-debian-server/">Install LAMP on Debian 11</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. In this post, you will learn how to install the LAMP stack on Debian 11 The LAMP stack is a set of applications that allow us to deploy a web server efficiently and quickly.</p>



<p class="has-line-data">LAMP stands for Linux, Apache web server, MariaDB, and PHP. Together they can make a computer a functional web server that can run many websites and complex web applications such as <a href="https://wordpress.com/" target="_blank" rel="noreferrer noopener">WordPress</a>.</p>



<p class="has-line-data">So it is a good idea to know how to install this software stack that will serve as a base to install many other applications.</p>



<p class="has-line-data">So, let’s get started.</p>



<h2 class="code-line"><a id="Install_LAMP_on_Debian_11_8"></a>Install LAMP on Debian 11</h2>



<p class="has-line-data">To start our post, we need to start with a clean install of Debian 11 which is quite easy to install. It is also recommended that you have it updated with these commands.</p>



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



<p class="has-line-data">These commands are executed as the root user. But you can also<a href="https://www.osradar.com/how-to-enable-sudo-on-debian-10/" target="_blank" rel="noreferrer noopener"> enable sudo on Debian 11</a>. So if you have it enabled just prefix the <code>sudo</code> command with the rest.</p>



<p class="has-line-data">With the system upgrade, we can continue the post.</p>



<h3 class="code-line"><a id="Install_Apache_and_PHP_on_Debian_11_19"></a>Install Apache and PHP on Debian 11</h3>



<p class="has-line-data">Apache is an open-source web server that is very popular around the world. On the other hand, PHP is a web programming language that, while not the only one, is one of the most popular and used by all kinds of developers.</p>



<p class="has-line-data">The installation of both tools is easy thanks to the fact that they are included in the official Debian 11 repositories. This process is detailed in our post</p>



<p class="has-line-data"><a href="https://www.osradar.com/install-apache-web-server-php-debian-linux/" target="_blank" rel="noreferrer noopener">How to install Apache on Debian 11?</a></p>



<p class="has-line-data">There you can find all the necessary information on how to install both tools.</p>



<h3 class="code-line"><a id="Install_MariaDB_on_Debian_11_29"></a>Install MariaDB on Debian 11</h3>



<p class="has-line-data">The next step is to install and properly configure <a href="http://mariadb.com/" target="_blank" rel="noreferrer noopener">MariaDB </a>which will serve as our database manager. MariaDB has many important features but the support that many web applications give to it is one of the main ones.</p>



<p class="has-line-data">For example, applications such as WordPress, GLPI, and others support MariaDB, so installing it is vital.</p>



<p class="has-line-data">For that, I invite you to read our post</p>



<p class="has-line-data"><a href="https://www.osradar.com/install-mariadb-database-debian/" target="_blank" rel="noreferrer noopener">How to install MariaDB on Debian 11?</a></p>



<p class="has-line-data">There you can not only install it but also get it ready for us to start using it.</p>



<h2 class="code-line">LAMP on Debian 11 Conclusion</h2>



<p class="has-line-data">In this post, we have shown you how to install the LAMP stack on Debian 11. To do this, we have relied on our posts where we detail the installation process of each of the components. This does not make the post longer and makes it easier to understand.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-stack-debian-server/">Install LAMP on Debian 11</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/install-lamp-stack-debian-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install PostgreSQL on Debian 11</title>
		<link>https://www.osradar.com/install-postgresql-debian-server/</link>
					<comments>https://www.osradar.com/install-postgresql-debian-server/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 19 Aug 2021 23:45:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31787</guid>

					<description><![CDATA[<p>Hello, friends. Although MariaDB is one of the most important database drivers out there, many large projects prefer to use PostgreSQL. So, taking advantage that we have Debian 11, I will show you how to install PostgreSQL on this system. For the PostgreSQL website and listening to many programmers, “PostgreSQL is The World’s Most Advanced [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-debian-server/">Install PostgreSQL on Debian 11</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. Although MariaDB is one of the most important database drivers out there, many large projects prefer to use PostgreSQL. So, taking advantage that we have Debian 11, I will show you how to install PostgreSQL on this system.</p>



<p class="has-line-data">For the PostgreSQL website and listening to many programmers, “PostgreSQL is The World’s Most Advanced Open Source Relational Database”.</p>



<p class="has-line-data">This is due to its high reliability and the way it works with data. It is said that for really big projects, there is nothing like <a href="https://www.datacamp.com/courses/creating-postgresql-databases">using PostgreSQL</a>. Also, it includes tools like multi version and others that make it very powerful.</p>



<p class="has-line-data">According to the official information that we can find on the web site</p>



<blockquote class="wp-block-quote"><p class="has-line-data" data-line-start="8" data-line-end="9">PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.</p></blockquote>



<p class="has-line-data">So, let’s go for it.</p>



<h2 class="code-line"><a id="Install_PostgreSQL_on_Debian_11_12"></a>Install PostgreSQL on Debian 11</h2>



<p class="has-line-data">Debian, which is a multipurpose operating system, has many different tools in its official repositories. So it is not surprising that PostgreSQL is also present.</p>



<p class="has-line-data">In addition to the base PostgreSQL package there are also others that we can use at other times. If you want to do a search in the repositories run</p>



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



<p class="has-line-data">And this way we will be able to see all these packages.</p>



<p class="has-line-data">To install PostgreSQL on Debian 11, you have to run the following command</p>



<pre class="wp-block-preformatted">sudo apt install postgresql-13
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  git-man liberror-perl
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libllvm11 libpq5 libxslt1.1 libz3-4 postgresql-client-13 postgresql-client-common postgresql-common ssl-cert
Suggested packages:
  postgresql-doc-13 libjson-perl
Recommended packages:
  sysstat
The following NEW packages will be installed:
  libllvm11 libpq5 libxslt1.1 libz3-4 postgresql-13 postgresql-client-13 postgresql-client-common postgresql-common ssl-cert
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 42.3 MB of archives.
After this operation, 165 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="287" src="https://www.osradar.com/wp-content/uploads/2021/08/1-11-1024x287.png" alt="1.- PostgreSQL installed on Debian 11" class="wp-image-31789" srcset="https://www.osradar.com/wp-content/uploads/2021/08/1-11-1024x287.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/1-11-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/1-11-768x215.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/1-11-696x195.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/1-11-1068x299.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/1-11.png 1288w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- PostgreSQL installed on Debian 11</figcaption></figure>



<p class="has-line-data">This will install the PostgreSQL base package which will be enough to do a job with it.</p>



<p class="has-line-data">In Debian when installing an application that is managed through a systemd service, it will start automatically.</p>



<p class="has-line-data">So, you can check the status of this service like this</p>



<pre class="wp-block-preformatted">sudo systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
     Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
     Active: active (exited) since Wed 2021-08-18 22:27:21 CEST; 4min 40s ago
   Main PID: 11736 (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 2277)
     Memory: 0B
        CPU: 0
     CGroup: /system.slice/postgresql.service</pre>



<p class="has-line-data">So PostgreSQL is working properly. If you want to stop, restart or start the service you can use these commands</p>



<pre class="wp-block-preformatted">sudo systemctl stop postgresql
sudo systemctl restart postgresql
sudo systemctl start postgresql</pre>



<p class="has-line-data">Now let’s connect to PostgreSQL</p>



<h2 class="code-line"><a id="Test_the_PostgreSQL_installation_43"></a>Test the PostgreSQL installation</h2>



<p class="has-line-data">Now it’s time to use some PostgreSQL. The console is called <code>psql</code> but it is only available to the <code>postgres</code> user that was created during the installation.</p>



<p class="has-line-data">So, first switch to the <code>postgres</code> user.</p>



<pre class="wp-block-preformatted">sudo -i -u postgres</pre>



<p class="has-line-data">And now if you access the console</p>



<pre class="wp-block-preformatted">psql</pre>



<p class="has-line-data">Inside it, you can execute commands. For example, list the databases:</p>



<pre class="wp-block-preformatted">\l</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="986" height="291" src="https://www.osradar.com/wp-content/uploads/2021/08/2-7.png" alt="2.- Testing PostgreSQL" class="wp-image-31790" srcset="https://www.osradar.com/wp-content/uploads/2021/08/2-7.png 986w, https://www.osradar.com/wp-content/uploads/2021/08/2-7-300x89.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/2-7-768x227.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/2-7-696x205.png 696w" sizes="(max-width: 986px) 100vw, 986px" /><figcaption>2.- Testing PostgreSQL</figcaption></figure>



<p class="has-line-data">So, PostgreSQL is installed correctly and is working.</p>



<p class="has-line-data">Enjoy it</p>



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



<p class="has-line-data">In this post, you have learned how to install PostgreSQL in a quick and easy way that can help newbies get started with this powerful database manager.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-debian-server/">Install PostgreSQL on Debian 11</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/install-postgresql-debian-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install MariaDB on Debian 11</title>
		<link>https://www.osradar.com/install-mariadb-database-debian/</link>
					<comments>https://www.osradar.com/install-mariadb-database-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 18 Aug 2021 22:14:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31730</guid>

					<description><![CDATA[<p>Hello, friends. It is not yet known for sure which is the most used database driver, but MariaDB has to be in the first place. So, in this post, you will learn how to install MariaDB on Debian 11. This step is essential if you want to have applications running on your system. MariaDB is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mariadb-database-debian/">Install MariaDB on Debian 11</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. It is not yet known for sure which is the most used database driver, but MariaDB has to be in the first place. So, in this post, you will learn how to install MariaDB on Debian 11. This step is essential if you want to have applications running on your system.</p>



<p class="has-line-data"><a href="http://mariadb.com/" target="_blank" rel="noreferrer noopener">MariaDB </a>is a well-known archi Database Relationships Management System that is a MySQL fork. This is due to the purchase of Sun Mycrosystem by Oracle. It is perfectly compatible with MySQL and is available in most Linux distributions.</p>



<p class="has-line-data">Therefore, it is quite popular and many developers use it for their applications or even to manage the most sensitive data you can imagine.</p>



<p class="has-line-data">So, let’s go for it.</p>



<h2 class="code-line"><a id="Install_MariaDB_on_Debian_11_8"></a>Install MariaDB on Debian 11</h2>



<p class="has-line-data">As it usually happens, MariaDB is available from the official Debian 11 repositories. If you want to check it out, then, just run the following command</p>



<pre class="wp-block-preformatted">apt search mariadb</pre>



<p class="has-line-data">There you will see many packages related to MariaDB such as the server and the client.</p>



<p class="has-line-data">So, to install the server that concerns us today, then you can run the following command</p>



<pre class="wp-block-preformatted">apt install mariadb-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  galera-4 gawk libconfig-inifiles-perl libdbi-perl libmariadb3 libmpfr6 libsigsegv2 libsnappy1v5 mariadb-client-10.5 mariadb-client-core-10.5 mariadb-common
  mariadb-server-10.5 mariadb-server-core-10.5 mysql-common socat
Suggested packages:
  gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl mailx mariadb-test netcat-openbsd
Recommended packages:
  libdbd-mariadb-perl | libdbd-mysql-perl libterm-readkey-perl libhtml-template-perl
The following NEW packages will be installed:
  galera-4 gawk libconfig-inifiles-perl libdbi-perl libmariadb3 libmpfr6 libsigsegv2 libsnappy1v5 mariadb-client-10.5 mariadb-client-core-10.5 mariadb-common
  mariadb-server mariadb-server-10.5 mariadb-server-core-10.5 mysql-common socat
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.0 MB of archives.
After this operation, 157 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p class="has-line-data">There is a package that refers to the MariaDB client which is <code>mariadb-client</code> that you can install at your convenience.</p>



<p class="has-line-data">To check the version of MariaDB installed, you can run the following command</p>



<pre class="wp-block-preformatted">mariadb --version
mariadb Ver 15.1 Distrib 10.5.11-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper</pre>



<p class="has-line-data">As with other system services, when MariaDB is installed, it will be started and enabled so that it can start with the system.</p>



<p class="has-line-data">You can stop the service by running</p>



<pre class="wp-block-preformatted">systemctl stop mariadb</pre>



<p class="has-line-data">If you want to start it again, then run</p>



<pre class="wp-block-preformatted">systemctl start mariadb</pre>



<p class="has-line-data">Finally, you can check the status of the service by running this command</p>



<pre class="wp-block-preformatted">systemctl status mariadb
● mariadb.service - MariaDB 10.5.11 database server
     Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-08-17 23:38:11 CEST; 21min ago
       Docs: man:mariadbd(8)
             https://mariadb.com/kb/en/library/systemd/
    Process: 9881 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
    Process: 9882 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
    Process: 9884 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] &amp;&amp; VAR= ||   VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ]   &amp;&amp; systemctl se>
   Process: 9946 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
    Process: 9948 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
   Main PID: 9932 (mariadbd)
     Status: "Taking your SQL requests now..."
      Tasks: 9 (limit: 2277)
     Memory: 89.9M
        CPU: 1.187s
     CGroup: /system.slice/mariadb.service
             └─9932 /usr/sbin/mariadbd

Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] InnoDB: 10.5.11 started; log sequence number 45130; transaction id 20
Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] InnoDB: Buffer pool(s) load completed at 210817 23:38:11
Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] Plugin 'FEEDBACK' is disabled.
Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] Server socket created on IP: '127.0.0.1'.
Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] Reading of all Master_info entries succeeded
Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] Added new Master_info '' to hash table
Aug 17 23:38:11 osradar mariadbd[9932]: 2021-08-17 23:38:11 0 [Note] /usr/sbin/mariadbd: ready for connections.
Aug 17 23:38:11 osradar mariadbd[9932]: Version: '10.5.11-MariaDB-1'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Debian 11
Aug 17 23:38:11 osradar systemd[1]: Started MariaDB 10.5.11 database server.</pre>



<h2 class="code-line"><a id="Preparing_MariaDB_for_use_41"></a>Preparing MariaDB for use</h2>



<p class="has-line-data">When MariaDB is installed, it does not include a password for the root user, so it is immediately necessary to set one. For this, we have the <code>mysql_secure_installation</code> script to help us with this.</p>



<pre class="wp-block-preformatted">mysql_secure_installation</pre>



<p class="has-line-data">When prompted for the root user password, just press ENTER:</p>



<pre class="wp-block-preformatted">Enter current password for root (enter for none):</pre>



<p class="has-line-data">Now you can define the MariaDB authentication protocol.</p>



<pre class="wp-block-preformatted">If You already have your root account protected, so you can safely answer 'n'.
Switch to unix_socket authentication [Y/n]</pre>



<p class="has-line-data">And now yes, you can change the root password by answering Y to the question</p>



<pre class="wp-block-preformatted">Change the root password? [Y/n]
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables...
... Success!</pre>



<p class="has-line-data">Then, there follows a series of questions that have to do with MariaDB configuration and security. You can answer each one AND</p>



<pre class="wp-block-preformatted">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</pre>



<p class="has-line-data">And then the script will finish executing.</p>



<p class="has-line-data">With this, MariaDB will be ready for you to use and access the shell.</p>



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

Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 54
Server version: 10.5.11-MariaDB-1 Debian 11
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab, and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]></pre>



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



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



<p class="has-line-data">MariaDB is a database driver widely used by many programming enthusiasts. Learning how to install it can pave the way to getting the most out of it in this area.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mariadb-database-debian/">Install MariaDB on Debian 11</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/install-mariadb-database-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
		<item>
		<title>Install OmniDB Server on Ubuntu 20.04</title>
		<link>https://www.osradar.com/install-omnidb-server-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-omnidb-server-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 11 Aug 2021 00:22:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[OmniDB]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31580</guid>

					<description><![CDATA[<p>Hello, friends. There are database management tools created with web technology such as PHPMyAdmin but there are also others that emerge as alternatives. So, in this post, you will learn how to deploy the OmniDB server on Ubuntu 20.04. OmniDB is a client for managing MySQL, MariaDB, PostgreSQL, and SQLite databases. It has two versions, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-omnidb-server-ubuntu-20-04/">Install OmniDB Server 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. There are database management tools created with web technology such as PHPMyAdmin but there are also others that emerge as alternatives. So, in this post, you will learn how to deploy the OmniDB server on Ubuntu 20.04.</p>



<p class="has-line-data"><a href="https://omnidb.org/">O</a><a href="https://omnidb.org/" target="_blank" rel="noreferrer noopener">m</a><a href="https://omnidb.org/">niDB</a> is a client for managing MySQL, MariaDB, PostgreSQL, and SQLite databases. It has two versions, a desktop version which we told you about some time ago and a self-hosted version. We will talk about the latter.</p>



<p class="has-line-data">This client allows us to install it on our server and access it from anywhere. Or even use it in an internal network for the same purposes. With OmniDB we will be able to do what it is expected to do, query, modify and manage databases; besides this, it includes SQL Editors with autocomplete and others.</p>



<p class="has-line-data">On the other hand, work unification is the order of the day thanks to Tab System with multiple contexts.</p>



<p class="has-line-data">So, let’s get started.</p>



<h2 class="code-line"><a id="Install_OmniDB_on_Ubuntu_2004_10"></a>Install OmniDB Server on Ubuntu 20.04</h2>



<p class="has-line-data">The process is quite simple thanks to the DEB package that the developers leave us. So, connect to your server and update it.</p>



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



<p class="has-line-data">Now, download OmniDB DEB package</p>



<pre class="wp-block-preformatted">cd /tmp/
wget https://github.com/OmniDB/OmniDB/releases/download/3.0.3b/omnidb-server_3.0.3b_linux_x86_64.deb
--2021-08-04 15:08:35--  https://github.com/OmniDB/OmniDB/releases/download/3.0.3b/omnidb-server_3.0.3b_linux_x86_64.deb
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/56064194/13663400-3ff3-11eb-8d0c-7de42ff344c5?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210804%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20210804T130835Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=b329de2c87863f6cbe238e861488be0337ed0570899b2395511ceac88222ab8f&amp;X-Amz-SignedHeaders=host&amp;actor_id=0&amp;key_id=0&amp;repo_id=56064194&amp;response-content-disposition=attachment%3B%20filename%3Domnidb-server_3.0.3b_linux_x86_64.deb&amp;response-content-type=application%2Foctet-stream [following]
--2021-08-04 15:08:35--  https://github-releases.githubusercontent.com/56064194/13663400-3ff3-11eb-8d0c-7de42ff344c5?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210804%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20210804T130835Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=b329de2c87863f6cbe238e861488be0337ed0570899b2395511ceac88222ab8f&amp;X-Amz-SignedHeaders=host&amp;actor_id=0&amp;key_id=0&amp;repo_id=56064194&amp;response-content-disposition=attachment%3B%20filename%3Domnidb-server_3.0.3b_linux_x86_64.deb&amp;response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.110.154, 185.199.111.154, 185.199.108.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.110.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 51477258 (49M) [application/octet-stream]
Saving to: ‘omnidb-server_3.0.3b_linux_x86_64.deb’

omnidb-server_3.0.3b_linux_x86_64.deb     100%[=====================================================================================>]  49.09M  52.5MB/s    in 0.9s

2021-08-04 15:08:36 (52.5 MB/s) - ‘omnidb-server_3.0.3b_linux_x86_64.deb’ saved [51477258/51477258]</pre>



<p class="has-line-data">At the time of writing this post, the latest stable version is <code>3.0.3b</code> so you should check the project website before doing anything.</p>



<p class="has-line-data">Then, install it like any other package</p>



<pre class="wp-block-preformatted">sudo apt install ./omnidb-server_3.0.3b_linux_x86_64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'omnidb-server' instead of './omnidb-server_3.0.3b_linux_x86_64.deb'
The following NEW packages will be installed:
  omnidb-server
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/51.5 MB of archives.
After this operation, 53.0 MB of additional disk space will be used.
Get:1 /tmp/omnidb-server_3.0.3b_linux_x86_64.deb omnidb-server amd64 3.0.3 [51.5 MB]
Selecting previously unselected package omnidb-server.
(Reading database ... 28542 files and directories currently installed.)
Preparing to unpack .../omnidb-server_3.0.3b_linux_x86_64.deb ...
Unpacking omnidb-server (3.0.3) ...
Setting up omnidb-server (3.0.3) ...
Created symlink /etc/systemd/system/multi-user.target.wants/omnidb.service → /etc/systemd/system/omnidb.service</pre>



<p class="has-line-data">When the process is finished, OmniDB will be ready to use.</p>



<h3 class="code-line"><a id="Configuring_OmniDB_30"></a>Configuring OmniDB Server</h3>



<p class="has-line-data">The OmniDB installation includes a Systemd service to manage the program.</p>



<p class="has-line-data">The first thing to do is to check the status of this service.</p>



<pre class="wp-block-preformatted">sudo systemctl status omnidb.service
● omnidb.service - OmniDB server daemon
     Loaded: loaded (/etc/systemd/system/omnidb.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2021-08-04 15:09:06 CEST; 1min 31s ago
    Process: 1466 ExecStart=/bin/bash -c /opt/omnidb-server/omnidb-server &amp; (code=exited, status=0/SUCCESS)
   Main PID: 1467 (omnidb-server)
      Tasks: 14 (limit: 4566)
     Memory: 266.9M
     CGroup: /system.slice/omnidb.service
             ├─1467 /opt/omnidb-server/omnidb-server
             └─1498 /opt/omnidb-server/omnidb-server

Aug 04 15:09:10 osradar bash[1498]:   Applying social_django.0008_partial_timestamp... OK
Aug 04 15:09:10 osradar bash[1498]:   Applying social_django.0009_auto_20191118_0520... OK
Aug 04 15:09:10 osradar bash[1498]:   Applying social_django.0010_uid_db_index... OK
Aug 04 15:09:10 osradar bash[1498]: Attempting to migrate users, connections and monitoring units and snippets from OmniDB 2 to 3...
Aug 04 15:09:10 osradar bash[1498]: Source database file does not contain the required tables, skipping...
Aug 04 15:09:10 osradar bash[1498]: Starting OmniDB server...
Aug 04 15:09:10 osradar bash[1498]: Checking port availability...
Aug 04 15:09:10 osradar bash[1498]: Starting server OmniDB 3.0.3b at 127.0.0.1:8000.
Aug 04 15:09:10 osradar bash[1498]: Open OmniDB in your favorite browser
Aug 04 15:09:10 osradar bash[1498]: Press Ctrl+C to exit</pre>



<p class="has-line-data">As you can see, it is running on <code>http://127.0.0.1:8000</code> but since we are installing it on a server, this is not useful.</p>



<p class="has-line-data">So, stop the service.</p>



<pre class="wp-block-preformatted">sudo systemctl stop omnidb.service</pre>



<p class="has-line-data">Now, initialize but with the <code>-p</code> options to define a port and <code>-H</code> to define the host.</p>



<pre class="wp-block-preformatted">omnidb-server -p 8080 -H 0.0.0.0.0
Attempting to migrate users, connections and monitoring units and snippets from OmniDB 2 to 3...
Source database file does not contain the required tables, skipping...
Starting OmniDB server...
Checking port availability...
Starting server OmniDB 3.0.3b at 0.0.0.0:8080.
Open OmniDB in your favorite browser
Press Ctrl+C to exit</pre>



<p class="has-line-data">Now yes. When you open the web browser and visit <code>http://ipserver:8080</code> you can see the login screen.</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/1-2-1024x511.png" alt="1.- OmniDB login screen" class="wp-image-31589" srcset="https://www.osradar.com/wp-content/uploads/2021/08/1-2-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/1-2-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/1-2-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/1-2-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/1-2-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/1-2.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- OmniDB login screen</figcaption></figure>



<p class="has-line-data">Press <code>CTRL + C</code> to finish running OmniDB because we need to create a new user.</p>



<p class="has-line-data">This can be done as follows:</p>



<pre class="wp-block-preformatted">omnidb-server -u angelo 123456</pre>



<p class="has-line-data">Replace <code>angelo</code> with your username and <code>123456</code> with a more appropriate password.</p>



<p class="has-line-data">Now run it again and you will be able to log in. You will see the login screen and then the welcome screen.</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/2-1-1024x511.png" alt="2.- OmniDB server on Ubuntu 20.04" class="wp-image-31590" srcset="https://www.osradar.com/wp-content/uploads/2021/08/2-1-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/2-1-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/2-1-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/2-1-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/2-1-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/2-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- OmniDB server on Ubuntu 20.04</figcaption></figure>



<p class="has-line-data">And you will be able to edit a connection.</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-1024x511.png" alt="3.- Set a new Connection" class="wp-image-31591" srcset="https://www.osradar.com/wp-content/uploads/2021/08/3-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/08/3-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/08/3-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/08/3-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/08/3-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/08/3.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Set a new Connection</figcaption></figure>



<h2 class="code-line"><a id="Optional_Using_Nginx_as_a_reverse_proxy_62"></a>Optional: Using Nginx as a reverse proxy</h2>



<p class="has-line-data">The default is that we have to use a reverse proxy like Nginx and from there manage the connection to OmniDB. This is very well detailed in the official documentation.</p>



<p class="has-line-data">So, if OmniDB is running, stop it. Either using the service or manually.</p>



<p class="has-line-data">Install Nginx</p>



<pre class="wp-block-preformatted">sudo apt install nginx</pre>



<p class="has-line-data">And create a new configuration file for Nginx</p>



<pre class="wp-block-preformatted">sudo nano /etc/nginx/sites-available/omnidb</pre>



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



<pre class="wp-block-preformatted">server {
    listen 443 ssl;
    listen [::]:443 ssl;
    include snippets/ssl-domain.conf;
    include snippets/ssl-params.conf;
    server_name domain.org;
    client_max_body_size 75M;

    location / {
        proxy_pass http://127.0.0.1:8000;
        proxy_set_header   X-Real-IP $remote_addr;
        proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header   X-Forwarded-Ssl https;
        proxy_set_header   X-Forwarded-Proto https;
        proxy_set_header   X-Forwarded-Port 443;
        proxy_set_header   Host $host;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
}</pre>



<p class="has-line-data">Remember to replace <code>server_name</code> with your domain.</p>



<p class="has-line-data">Save the changes and close the editor.</p>



<p class="has-line-data">Check the Nginx syntax for an error.</p>



<pre class="wp-block-preformatted">sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful</pre>



<p class="has-line-data">For all this to work, it is necessary to edit the default OmniDB configuration file.</p>



<pre class="wp-block-preformatted">sudo nano ~/.omnidb/omnidb-server/config.py</pre>



<p class="has-line-data">And make sure to leave these values as follows</p>



<pre class="wp-block-preformatted">LISTENING_ADDRESS = '127.0.0.1'
LISTENING_PORT = 8000IS_SSL = False
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True</pre>



<p class="has-line-data">Save the changes and close the editor.</p>



<p class="has-line-data">The next step is to create an SSL certificate with Let’s Encrypt. So, install certbot and the Nginx plugin.</p>



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



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



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



<p class="has-line-data">Put your domain and accept the license terms and you are done.</p>



<p class="has-line-data">Finish the process by starting the OmniDB service and restarting Nginx.</p>



<pre class="wp-block-preformatted">sudo systemctl start omnidb
sudo systemctl restart nginx</pre>



<p class="has-line-data">Now login from your browser in a secure way.</p>



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



<p class="has-line-data">Tools like OmniDB are very welcome because they allow us to have flexibility in accessing our databases. With this tool, you can set up a web interface that you can access from anywhere to manage a database anywhere. So, enjoy it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-omnidb-server-ubuntu-20-04/">Install OmniDB Server 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/install-omnidb-server-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
