<?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>database Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 19 Feb 2022 04:32: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>How to create your own database without programming using Tadabase</title>
		<link>https://www.osradar.com/how-to-create-your-own-database-without-programming-using-tadabase/</link>
					<comments>https://www.osradar.com/how-to-create-your-own-database-without-programming-using-tadabase/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Tue, 01 Mar 2022 22:31:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[tadabase]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=34887</guid>

					<description><![CDATA[<p>Hello! We may need to create an online database for work purposes. In fact, there we will be able to organize a large amount of organized information where we can make future queries, perform searches, new entries, etc. The problem is that this will require some previous knowledge of programming. Certainly, it can become something [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-create-your-own-database-without-programming-using-tadabase/">How to create your own database without programming using Tadabase</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! We may need to create an online <a href="https://www.osradar.com/dbgate-database-client/" target="_blank" rel="noreferrer noopener">database</a> for work purposes. In fact, there we will be able to organize a large amount of organized information where we can make future queries, perform searches, new entries, etc. The problem is that this will require some previous knowledge of programming. Certainly, it can become something problematic. However, we can also use some web applications. Here, we will explain how to create your own database without programming using Tadabase.</p>



<h2>How to create your own online database with Tadabase</h2>



<p><a href="https://tadabase.io/" target="_blank" rel="noreferrer noopener">Tadabase </a>is a web application. Consequently, you do not need to download any software to use it, as it is accessed directly from the browser. Using it, we will be able to create a database without the need to have any technical knowledge or write a single line of code. We only need to be able to drag and drop the necessary components and then connect them to a database.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="512" height="512" src="https://www.osradar.com/wp-content/uploads/2022/02/wall5.png" alt="" class="wp-image-34888" srcset="https://www.osradar.com/wp-content/uploads/2022/02/wall5.png 512w, https://www.osradar.com/wp-content/uploads/2022/02/wall5-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/02/wall5-150x150.png 150w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p>This customized database will serve to automate daily business activities. For this purpose, it has an approval process, compliance tracking, customizable dashboard, task management, workflow configuration, among other issues. The platform works by hosting the projects created on our personal subdomain created. There, we can upload at the same time a data file that we want to use to process the personal information we entered at the time, such as a program like Microsoft Excel.</p>



<p>To test this online application, simply create a free account. Then upload a data file in CSV format, information that will be treated as a warehouse. Something that we must emphasize is that at the beginning it may seem somewhat complex. However, as you get more practice, you will be able to drive with ease. Let&#8217;s take a look at some features.</p>



<h3>New data table</h3>



<p>A data table is a collection of data, similar to a spreadsheet. In fact, you just need to give a name for the table and the fields you want to record, such as Customers or Orders. Once the database has been created and configured, we can use the information it contains to create pages in the form of tables, forms, graphs, etc.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="907" height="408" src="https://www.osradar.com/wp-content/uploads/2022/02/tada2.png" alt="" class="wp-image-34889" srcset="https://www.osradar.com/wp-content/uploads/2022/02/tada2.png 907w, https://www.osradar.com/wp-content/uploads/2022/02/tada2-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2022/02/tada2-768x345.png 768w, https://www.osradar.com/wp-content/uploads/2022/02/tada2-696x313.png 696w" sizes="(max-width: 907px) 100vw, 907px" /></figure>



<p>The same platform offers a page that serves as a template. Consequently, we can start from scratch with a design or edit the existing one. When we are going to create a new page, we will have to assign a name and choose its design. We will also have to configure other parameters.</p>



<h3>Task automation</h3>



<p>From this section we can create scheduled tasks to trigger customized or on-demand automated workflows. For example, we can send automated emails and schedule them. It is also possible to generate a script that we can use to display components of our application. For example, it can be used to view records on the company&#8217;s website, such as its inventory, public route time or its asset listings.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="727" src="https://www.osradar.com/wp-content/uploads/2022/02/tada3-1024x727.png" alt="" class="wp-image-34890" srcset="https://www.osradar.com/wp-content/uploads/2022/02/tada3-1024x727.png 1024w, https://www.osradar.com/wp-content/uploads/2022/02/tada3-300x213.png 300w, https://www.osradar.com/wp-content/uploads/2022/02/tada3-768x545.png 768w, https://www.osradar.com/wp-content/uploads/2022/02/tada3-696x494.png 696w, https://www.osradar.com/wp-content/uploads/2022/02/tada3-1068x758.png 1068w, https://www.osradar.com/wp-content/uploads/2022/02/tada3.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Subsequently, to the page that we are going to create, we will do it with the CSV data that we have loaded. Therefore, we will be able to add elements such as buttons, graphs, images, frames, etc. To do so, it will only be necessary to drag and drop the objects. Once finished, the page is saved, and we can share it thanks to the subdomain assigned at the beginning.</p>



<h3>Insert plugins</h3>



<p>This web application also has support for various plugins from its Pipes section. Indeed, it has a good number of categories such as Utilities, API, Forms, Marketing, Surveys, Project Management, Time Management, among others. In addition, there is compatibility with such popular tools as Slack, Twitter, Trello, Google, Calendar, among many others. In addition, several of them are configurable. To install it, you only need to click on the desired one and then click on the <em>Install</em> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="730" src="https://www.osradar.com/wp-content/uploads/2022/02/tada4-1024x730.png" alt="" class="wp-image-34891" srcset="https://www.osradar.com/wp-content/uploads/2022/02/tada4-1024x730.png 1024w, https://www.osradar.com/wp-content/uploads/2022/02/tada4-300x214.png 300w, https://www.osradar.com/wp-content/uploads/2022/02/tada4-768x547.png 768w, https://www.osradar.com/wp-content/uploads/2022/02/tada4-696x496.png 696w, https://www.osradar.com/wp-content/uploads/2022/02/tada4-1068x761.png 1068w, https://www.osradar.com/wp-content/uploads/2022/02/tada4.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Tadabase: is it really recommended?</h2>



<p>I know what you are wondering. Does Tadabase really work to create our own database? Well, it is certainly an option to consider for those who need to create an online database but do not have programming skills. In addition, it provides the user with all kinds of tools to carry it out. Therefore, it is a web solution for our database low cost, high security and rich in features. Specially designed for people who know nothing about coding.</p>



<h2>Tadabase Plans and Pricing</h2>



<p>Tadabase provides a 14-day free trial period. The only thing we will need to do is to register for which we can use our email and password. We can also access from our GitHub, Facebook, Twitter, and Google accounts. Once the trial period is over, it is necessary to purchase one of the following plans:</p>



<ul><li><strong>Plus:</strong> access to 10 applications, 100,000 records and 20 GB storage for $125 per month with annual billing.</li><li><strong>Pro:</strong> access to 25 applications, 250,000 records and up to 50 GB of storage for $208 per month with annual billing.</li><li><strong>Premium</strong>: up to 50 applications with 500,000 records and up to 100 GB storage for $400 per month with annual billing.</li><li><strong>Bronze</strong>: allows up to 125 applications with 12,500,000 records and 200 GB storage, for $750 per month and annual billing.</li></ul>



<p>We have already mentioned that it is a web application. Consequently, to use it, we only need a browser and an internet connection. So, it is not necessary to install any additional software.</p>



<h2>Alternatives to Tadabase</h2>



<p>Tadabase behaves very well. However, there are other alternatives to create databases:</p>



<h3>Quickbase</h3>



<p>It allows users to create applications so that we can manage almost any process starting with a template. In addition, allows building it from scratch in a simple way through the database. It even allows extracting data and information such as ERP and CRM, as well as create dynamic dashboards that are updated in real time. We can access a free 30-day version from their <a href="https://www.quickbase.com/" target="_blank" rel="noreferrer noopener">website.</a></p>



<h3>Caspio</h3>



<p>This is a no-code, cloud-based application development solution for all types of businesses. It has functions such as virtualization, scheduling, data flow management and data replication. In this way it helps its users to create applications without the need for programming skills. In addition, it integrates with cloud storage systems such as Dropbox, Google Drive, OneDrive, among others. We can access a free trial version by clicking on this link to its official <a href="https://www.caspio.com/" target="_blank" rel="noreferrer noopener">website.</a></p>



<p>At the end of the day, we have seen How to create your own database without programming using Tadabase. As a result, you will be able to manage your databases without any previous technical knowledge. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-create-your-own-database-without-programming-using-tadabase/">How to create your own database without programming using Tadabase</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/how-to-create-your-own-database-without-programming-using-tadabase/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install SQLite on Debian 11</title>
		<link>https://www.osradar.com/install-sqlite-database-debian/</link>
					<comments>https://www.osradar.com/install-sqlite-database-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 04 Sep 2021 03:08:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32023</guid>

					<description><![CDATA[<p>Hello, friends. In this post, we will show you how to install SQLite on Debian 11. SQLite is a small, reliable, and very fast database engine. It is one of the most efficient database engines in the world. In part, thanks to that made in C Language which makes it very efficient in managing the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-sqlite-database-debian/">Install SQLite 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 show you how to install SQLite on Debian 11.</p>



<p class="has-line-data">SQLite is a small, reliable, and very fast database engine. It is one of the most efficient database engines in the world. In part, thanks to that made in C Language which makes it very efficient in managing the resources of the system.</p>



<p class="has-line-data">In like manner, the development of SQLite is so important that many major companies participate in it. This is done through the SQLite Consortium. In addition, all the code is available to be downloaded, viewed, and reused for being open source.</p>



<p class="has-line-data">So, let us start.</p>



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



<p class="has-line-data">SQLite has outstanding Linux support. Proof of this is that it is present in most of the existing distributions. In this sense, Debian 11 also has this privilege.</p>



<p class="has-line-data">So, open a terminal or from a terminal interface, update the whole system.</p>



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



<p class="has-line-data">Then, you can search inside the repositories for all the packages that are related to SQLite.</p>



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



<p class="has-line-data">The next step is to install SQLite by executing the following command</p>



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



<p class="has-line-data">Once you have completed the installation, you can verify the version that has been installed.</p>



<pre class="wp-block-preformatted">sqlite3 --version
3.34.1 2021-01-20 14:10:07 10e20c0b43500cfb9bbc0eaa061c57514f715d87238f4d835880cd846b9ealt1</pre>



<p class="has-line-data">This way, the installation has been successful,</p>



<h2 class="code-line"><a id="Using_SQLite_to_test_the_installation_31"></a>Using SQLite to test the installation</h2>



<p class="has-line-data">Now, let’s use a little SQLite to check that everything went well. First, let’s create a new database</p>



<pre class="wp-block-preformatted">sqlite3 example.db</pre>



<p class="has-line-data">Since <code>example.db</code> does not exist then it will be created. The second time you want to access it, it will not be created.</p>



<p class="has-line-data">Now I will create a new table with some fields. The important thing is to test the operation.</p>



<pre class="wp-block-preformatted">sqlite> CREATE TABLE Student
               (
               Id VARCHAR(25) NOT NULL,
               Name VARCHAR(25) NOT NULL,
               Last_Name VARCHAR(25) NOT NULL,
               Age INTEGER(2) NOT NULL,
               CONSTRAINT pk_Student PRIMARY KEY (Id)
               );</pre>



<p class="has-line-data">Also, check that the table has been created, showing the database tables.</p>



<pre class="wp-block-preformatted">sqlite> .tables
Student</pre>



<p class="has-line-data">Now add some data to the table.</p>



<pre class="wp-block-preformatted">sqlite> INSERT INTO Student (Id, Name, Last_Name, Age) VALUES ('Xy01','Jon','Snow',18);</pre>



<p class="has-line-data">And finally, display them.</p>



<pre class="wp-block-preformatted">sqlite> SELECT * FROM Student;</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="547" height="170" src="https://www.osradar.com/wp-content/uploads/2021/08/1-16.png" alt="1.- Using SQLite on Debian 11" class="wp-image-32056" srcset="https://www.osradar.com/wp-content/uploads/2021/08/1-16.png 547w, https://www.osradar.com/wp-content/uploads/2021/08/1-16-300x93.png 300w" sizes="(max-width: 547px) 100vw, 547px" /><figcaption>1.- Using SQLite on Debian 11</figcaption></figure>



<p class="has-line-data">Now, you can use SQLite to make projects. Type .exit to close SQLite shell. Enjoy it!</p>



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



<p class="has-line-data">SQLite is a great database application and if we learn to use it, it would be a great help for our projects. Installing it is very easy and gives us a lot of work possibilities. In this post, you learned how to install it and give some steps to use it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-sqlite-database-debian/">Install SQLite 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-sqlite-database-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8?</title>
		<link>https://www.osradar.com/install-mariadb-10-6-rocky-linux/</link>
					<comments>https://www.osradar.com/install-mariadb-10-6-rocky-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 07 Aug 2021 00:45:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27495</guid>

					<description><![CDATA[<p>Rocky Linux 8 / AlmaLinux 8 / CentOS 8 is perhaps the most stable Linux distributions out there. This is because the packages that are part of the official repositories are frozen and tested many times by many people. However, this brings a consequence: that we will not be able to have the most recent [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mariadb-10-6-rocky-linux/">How to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Rocky Linux 8 / AlmaLinux 8 / CentOS 8 is perhaps the most stable Linux distributions out there. This is because the packages that are part of the official repositories are frozen and tested many times by many people. However, this brings a consequence: that we will not be able to have the most recent versions of the programs. An example of this is MariaDB which is a vital program for many people.&nbsp;<strong>So, today I will show you how to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8.</strong></p>



<p><a href="https://www.osradar.com/tag/mariadb/" target="_blank" rel="noreferrer noopener">MariaDB</a>&nbsp;is a well-known archi Database Relationships Management System that is a&nbsp;<a href="https://www.osradar.com/tag/mysql/" target="_blank" rel="noreferrer noopener">MySQL</a>&nbsp;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>In <a href="https://rockylinux.org/" target="_blank" rel="noreferrer noopener">Rocky Linux </a>8 / AlmaLinux 8 / CentOS 8 the version of MariaDB that is available in the official repositories is 10.3 but recently has seen the release of version 10.6 with some interesting new features.</p>



<p>So, if you want to take advantage of having a recent version of this database manager, then welcome.</p>



<h2>Install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8</h2>



<p>MariaDB&#8217;s support with Linux is quite good and proof of this is that it provides us with a dedicated repository for   Rocky Linux 8 / AlmaLinux 8 / CentOS 8 to facilitate installation.</p>



<p>So, access your server or start a terminal session and update the system. In this post, I worked as the root user. Also, you can use sudo if your user has permission to do so.</p>



<pre class="wp-block-preformatted">dnf update</pre>



<p>And make sure you have installed the nano text editor</p>



<pre class="wp-block-preformatted">dnf install nano</pre>



<p>Then we have to create a new repository entry in the DNF configuration which is <code>/etc/yum.repos.d/</code></p>



<p>So, create a file called mariadb.repo</p>



<pre class="wp-block-preformatted">nano /etc/yum.repos.d/mariadb.repo</pre>



<p>And add the following information:</p>



<pre class="wp-block-preformatted">[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.6/rhel8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1 </pre>



<p>Then save the changes and close the editor.</p>



<p>Now install MariaDB 10.6</p>



<pre class="wp-block-preformatted">dnf install mariadb-server</pre>



<p>During the installation, you will have to accept the GPG key from the repository and the installation will continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="104" src="https://www.osradar.com/wp-content/uploads/2021/01/1-17-1024x104.png" alt="2.- Installing MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8" class="wp-image-31572" srcset="https://www.osradar.com/wp-content/uploads/2021/01/1-17-1024x104.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-300x30.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-768x78.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-696x71.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/1-17-1068x108.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/1-17.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Installing MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8</figcaption></figure>



<p>Then you have to start the MariaDB service:</p>



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



<p>and proceed to the configuration with the <code>mariadb_secure_installation</code> script</p>



<pre class="wp-block-preformatted">mariadb_secure_installation
Switch to unix_socket authentication [Y/n] y
Remove anonymous users? [Y/n]
Disallow root login remotely? [Y/n]
Remove test database and access to it? [Y/n]
Reload privilege tables now? [Y/n]</pre>



<p>After the installation is complete, check the installed version:</p>



<pre class="wp-block-preformatted">mysql --version
mysql  Ver 15.1 Distrib 10.6.3-MariaDB, for Linux (x86_64) using readline 5.1</pre>



<p>So, you can enjoy MariaDB.</p>



<h2>Conclusion</h2>



<p>MariaDB 10.6 is a good improvement over previous versions. But it is not always available in the official repositories of other Linux distributions. Today you have learned how to install it in Rocky Linux 8 / AlmaLinux 8 / CentOS 8.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mariadb-10-6-rocky-linux/">How to install MariaDB 10.6 on Rocky Linux 8 / AlmaLinux 8 / CentOS 8?</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-10-6-rocky-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/microsoft-sql-server-ubuntu-debian/</link>
					<comments>https://www.osradar.com/microsoft-sql-server-ubuntu-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 24 Jun 2021 02:41:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29285</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10 Although in Linux we have many OpenSource options this database manager is quite good and is still used by many companies today. In terms of proprietary database managers perhaps Oracle Database, IBM DB2, and Microsoft [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-sql-server-ubuntu-debian/">How to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10?</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. In this post, you will learn how to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10 Although in Linux we have many OpenSource options this database manager is quite good and is still used by many companies today.</p>



<p>In terms of proprietary database managers perhaps Oracle Database, IBM DB2, and Microsoft SQL Server are the most used and common options by many companies. They have the great advantage of having large companies behind them that provide a high level of support to their operations.</p>



<p>Also, there are other quite competent open-source options such as <a href="https://www.osradar.com/tag/mysql/" target="_blank" rel="noreferrer noopener">MySQL</a>, PostgreSQL, or <a href="https://www.osradar.com/install-percona-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">Percona</a>. However, many companies still trust their data to proprietary options and the fact that we can install them in Ubuntu speaks well of our system. So let’s go for it.</p>



<h2 id="install-microsoft-sql-server-on-ubuntu-20.04"><a name="install-microsoft-sql-server-on-ubuntu-20.04" href="#install-microsoft-sql-server-on-ubuntu-20.04"></a>Install Microsoft SQL Server on Ubuntu 20.04 / Debian 10</h2>



<p>As you can imagine, SQL Server is not available in the official Ubuntu repositories but it is available through the repository offered by Microsoft.</p>



<p>So, open a terminal or connect via SSH and update the system:</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade
sudo apt install software-properties-common </pre>



<p>Then import the GPG key from the Microsoft repository.</p>



<pre class="wp-block-preformatted">sudo wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -</pre>



<p>After that, add the SQL Server repository as such.</p>



<pre class="wp-block-preformatted">sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)"</pre>



<p>Next, refresh APT.</p>



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



<p>And now you can install Microsoft SQL Server by executing the following command:</p>



<pre class="wp-block-preformatted">sudo apt install mssql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gawk gdb libbabeltrace1 libc++1 libc++1-10 libc++abi1-10 libdw1 libmpfr6 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libsasl2-modules
  libsasl2-modules-gssapi-mit libsigsegv2 libsss-nss-idmap0 python-is-python2 python2 python2-minimal python2.7 python2.7-minimal
Suggested packages:
  gawk-doc gdb-doc clang libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql python2-doc python-tk python2.7-doc binutils binfmt-support
Recommended packages:
  libc-dbg libcc1-0 gdbserver
The following NEW packages will be installed:
  gawk gdb libbabeltrace1 libc++1 libc++1-10 libc++abi1-10 libdw1 libmpfr6 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libsasl2-modules
  libsasl2-modules-gssapi-mit libsigsegv2 libsss-nss-idmap0 mssql-server python-is-python2 python2 python2-minimal python2.7 python2.7-minimal
0 upgraded, 21 newly installed, 0 to remove and 29 not upgraded.
Need to get 235 MB of archives.
After this operation, 1,102 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>This way it will be installed.</p>



<h2 id="preparing-microsoft-sql-server-for-the-first-use"><a href="#preparing-microsoft-sql-server-for-the-first-use" name="preparing-microsoft-sql-server-for-the-first-use"></a>Preparing Microsoft SQL Server for the first use</h2>



<p>During the installation process, you will notice that at the end, you will get an output screen similar to this one:</p>



<pre class="wp-block-preformatted">Setting up python-is-python2 (2.7.17-4) ...
Setting up libc++1:amd64 (1:10.0-50~exp1) ...
Setting up mssql-server (15.0.4102.2-4) ...

+--------------------------------------------------------------+
Please run 'sudo /opt/mssql/bin/mssql-conf setup'
to complete the setup of Microsoft SQL Server
+--------------------------------------------------------------+

Processing triggers for man-db (2.9.1-1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...</pre>



<p>In it, we are told that it is necessary to configure the application before using it and it even tells us the command to start the configuration.</p>



<pre class="wp-block-preformatted">sudo /opt/mssql/bin/mssql-conf setup
usermod: no changes
Choose an edition of SQL Server:
  1) Evaluation (free, no production use rights, 180-day limit)
  2) Developer (free, no production use rights)
  3) Express (free)
  4) Web (PAID)
  5) Standard (PAID)
  6) Enterprise (PAID) - CPU Core utilization restricted to 20 physical/40 hyperthreaded
  7) Enterprise Core (PAID) - CPU Core utilization up to Operating System Maximum
  8) I bought a license through a retail sales channel and have a product key to enter.

Details about editions can be found at
https://go.microsoft.com/fwlink/?LinkId=2109348&clcid=0x409

Use of PAID editions of this software requires separate licensing through a
Microsoft Volume Licensing program.
By choosing a PAID edition, you are verifying that you have the appropriate
number of licenses in place to install and run this software.

Enter your edition(1-8):</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="536" src="https://www.osradar.com/wp-content/uploads/2021/03/1-11-1024x536.png" alt="1.- Install Microsoft SQL Server on Ubuntu 20.04 / Debian 10" class="wp-image-29299" srcset="https://www.osradar.com/wp-content/uploads/2021/03/1-11-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-696x365.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/1-11-1068x559.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/1-11.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install Microsoft SQL Server on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>The main configuration we have to do is to enter the license. In this case, I have used the <em>Developer</em> which is free and we can use it for the post.</p>



<p>Also, you have to accept the license terms and create the administrator key which has to be complex.</p>



<p>With this SQL Server will be installed but we are missing one more detail.</p>



<p>For now, you can check the status of the service to see if everything is in order:</p>



<pre class="wp-block-preformatted">sudo systemctl status mssql-server
● mssql-server.service - Microsoft SQL Server Database Engine
     Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-03-25 20:39:29 CET; 3min 59s ago
       Docs: https://docs.microsoft.com/en-us/sql/linux
   Main PID: 3175 (sqlservr)
      Tasks: 136
     Memory: 587.6M
     CGroup: /system.slice/mssql-server.service
             ├─3175 /opt/mssql/bin/sqlservr
             └─3218 /opt/mssql/bin/sqlservr</pre>



<h2 id="install-sql-server-tools-and-unixodbc"><a href="#install-sql-server-tools-and-unixodbc" name="install-sql-server-tools-and-unixodbc"></a>Install SQL Server tools and UnixODBC</h2>



<p>Although the Server is ready, we have to install other components like the Tools and fundamentally the <a href="http://www.unixodbc.org/" target="_blank" rel="noreferrer noopener">UnixODBC</a> connector without this we will not be able to make a connection with the server.</p>



<p>So, add the GPG key and the repository:</p>



<pre class="wp-block-preformatted">curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
OK
wget https://packages.microsoft.com/config/ubuntu/19.10/prod.list
sudo mv prod.list /etc/apt/sources.list.d/mssql-release.list</pre>



<p>After this, refresh APT to apply the change:</p>



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



<p>And finally, install both the UnixODBC connector and the Mssql-tools</p>



<pre class="wp-block-preformatted">sudo ACCEPT_EULA=Y apt install mssql-tools unixodbc-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  autoconf automake autotools-dev libgdbm-compat4 libltdl-dev libodbc1 libperl5.30 m4 msodbcsql17 odbcinst odbcinst1debian2 perl perl-modules-5.30 unixodbc
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc libtool gettext libtool-doc unixodbc-bin m4-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make
  libb-debug-perl liblocale-codes-perl
Recommended packages:
  libtool
The following NEW packages will be installed:
  autoconf automake autotools-dev libgdbm-compat4 libltdl-dev libodbc1 libperl5.30 m4 msodbcsql17 mssql-tools odbcinst odbcinst1debian2 perl perl-modules-5.30 unixodbc
  unixodbc-dev
0 upgraded, 16 newly installed, 0 to remove and 29 not upgraded.
Need to get 9,845 kB of archives.
After this operation, 53.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>After the installation, add the directory to the <code>bash_profile</code> so that the command is available from the whole system.</p>



<pre class="wp-block-preformatted">echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bash_profile</pre>



<p>In the end, you can connect to the shell by running:</p>



<pre class="wp-block-preformatted">sqlcmd -S 127.0.0.1 -U SA</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="549" height="93" src="https://www.osradar.com/wp-content/uploads/2021/03/2-9.png" alt="2.- SQL Server Shell" class="wp-image-29300" srcset="https://www.osradar.com/wp-content/uploads/2021/03/2-9.png 549w, https://www.osradar.com/wp-content/uploads/2021/03/2-9-300x51.png 300w" sizes="(max-width: 549px) 100vw, 549px" /><figcaption>2.- SQL Server Shell</figcaption></figure>



<p><strong>Note: if you cannot execute the command, log out and try again.</strong></p>



<p>Now you will be able to use Microsoft SQL Server on Ubuntu 20.04 / Debian 10</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Microsoft SQL Server is pretty good at what it does and that is why many companies have it as their database manager. Having it available on Ubuntu 20.04 / Debian 10 is not a difficult task and brings us even closer to the integration between Microsoft and Linux products.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-sql-server-ubuntu-debian/">How to install Microsoft SQL Server on Ubuntu 20.04 / Debian 10?</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/microsoft-sql-server-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PostgreSQL 13 on Debian 10?</title>
		<link>https://www.osradar.com/how-to-install-postgresql-13-debian-10/</link>
					<comments>https://www.osradar.com/how-to-install-postgresql-13-debian-10/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 17 Jun 2021 23:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18461</guid>

					<description><![CDATA[<p>Hi, friends, in this post, I&#8217;ll show you how to install PostgreSQL 13 on Debian 10. PostgreSQL 13 is the latest stable version of what is perhaps the most advanced open-source relational database manager. So many sysadmin need to have it on the different servers. If you want to know all the news or at [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-postgresql-13-debian-10/">How to install PostgreSQL 13 on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Hi, friends, in this post, I&#8217;ll show you how to install PostgreSQL 13 on Debian 10.</strong></p>
<p>PostgreSQL 13 is the latest stable version of what is perhaps the most advanced open-source relational database manager. So many sysadmin need to have it on the different servers.</p>
<p>If you want to know all the news or at least the most important ones, you can read this post</p>
<p><a href="https://www.postgresql.org/about/news/postgresql-13-released-2077/" target="_blank" rel="noopener noreferrer">PostgreSQL 13 is available</a></p>
<p>Well, PostgreSQL 13 comes with many important improvements and it&#8217;s a good time to install it. That&#8217;s what this post is about.</p>
<p>So let&#8217;s go for it.</p>
<h2>Install PostgreSQL 13 on Debian</h2>
<p>PostgreSQL is included in the official Debian repositories, but not in version 13 but in version 11.</p>
<p>The installation of PostgreSQL 13 is possible thanks to the repository it has for APT package managers that is used by Debian, Ubuntu, Linux Mint and derivatives.</p>
<p>So let&#8217;s start.</p>
<p>First, open a terminal session or connect to your server using SSH. Then, install some necessary packages:</p>
<pre>:~$ sudo apt install gnupg gnupg2</pre>
<p>At the end, the PostgreSQL 13 repository should be added to the list of Debian software sources. To do this, create the following file:</p>
<pre>:~$ sudo nano /etc/apt/sources.list.d/pgdg.list</pre>
<p>And in it he adds the following:</p>
<pre>deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main</pre>
<p><figure id="attachment_18614" aria-describedby="caption-attachment-18614" style="width: 910px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18614" src="https://www.osradar.com/wp-content/uploads/2020/02/1-18.png" alt="1.- Adding the postgresql repository" width="910" height="109" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-18.png 910w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-300x36.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-768x92.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-696x83.png 696w" sizes="(max-width: 910px) 100vw, 910px" /><figcaption id="caption-attachment-18614" class="wp-caption-text">1.- Adding the postgresql repository</figcaption></figure></p>
<p>Then save the changes by pressing CTRL + O and close the file by pressing CTRL + X.</p>
<p>For the repository to be accepted by the system, you need to add the gpg key to it. To do this, use the following command:</p>
<pre>:~$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
OK</pre>
<p><figure id="attachment_18615" aria-describedby="caption-attachment-18615" style="width: 991px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18615" src="https://www.osradar.com/wp-content/uploads/2020/02/2-17.png" alt="2.- Adding the GPG key for the repository" width="991" height="129" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-17.png 991w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-768x100.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-696x91.png 696w" sizes="(max-width: 991px) 100vw, 991px" /><figcaption id="caption-attachment-18615" class="wp-caption-text">2.- Adding the GPG key for the repository</figcaption></figure></p>
<p>Once the process has been completed, simply update the APT cache.</p>
<pre>:~$ sudo apt update</pre>
<p>You can now view all the packages related to PostgreSQL 13 by typing</p>
<pre>:~$ sudo apt install postgresql-13</pre>
<p>But don&#8217;t press enter, just press the TAB key and you&#8217;ll see the following:</p>
<p><figure id="attachment_30630" aria-describedby="caption-attachment-30630" style="width: 1279px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30630 size-full" src="https://www.osradar.com/wp-content/uploads/2020/03/3-27.png" alt="3.- All postgresql 13 packages" width="1279" height="713" srcset="https://www.osradar.com/wp-content/uploads/2020/03/3-27.png 1279w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-300x167.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-1024x571.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-768x428.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-696x388.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-1068x595.png 1068w" sizes="(max-width: 1279px) 100vw, 1279px" /><figcaption id="caption-attachment-30630" class="wp-caption-text">3.- All postgresql 13 packages</figcaption></figure></p>
<p>As you can see in the image, we have PostgreSQL 13 available. So to install it run the following command:</p>
<pre>:~$ sudo apt install postgresql-13
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following additional packages will be installed:
libgdbm-compat4 libjson-perl libllvm7 libperl5.28 libpq5 libxslt1.1 perl pgdg-keyring postgresql-client-13 postgresql-client-common postgresql-common ssl-cert
Suggested packages:
perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl postgresql-doc-13 openssl-blacklist
Recommended packages:
libjson-xs-perl sysstat
The following NEW packages will be installed:
libgdbm-compat4 libjson-perl libllvm7 libperl5.28 libpq5 libxslt1.1 perl pgdg-keyring postgresql-13 postgresql-client-13 postgresql-client-common postgresql-common
ssl-cert
0 upgraded, 13 newly installed, 0 to remove and 10 not upgraded.
Need to get 34.5 MB of archives.
After this operation, 145 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>
<p><figure id="attachment_30631" aria-describedby="caption-attachment-30631" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30631 size-full" src="https://www.osradar.com/wp-content/uploads/2020/03/4-22.png" alt="4.- Install PostgreSQL 13 on Debian 10" width="1365" height="307" srcset="https://www.osradar.com/wp-content/uploads/2020/03/4-22.png 1365w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-1024x230.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-768x173.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-696x157.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-1068x240.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-30631" class="wp-caption-text">4.- Install PostgreSQL 13 on Debian 10</figcaption></figure></p>
<p>Now we&#8217;ll see if everything went well.</p>
<h2>Testing the installation</h2>
<p>By default, Debian when installing PostgreSQL starts and enables the service. Therefore, it is ready to be tested. However, if you want to stop the service, you can use this command:</p>
<pre>:~$ sudo systemctl stop postgresql</pre>
<p>On the other hand, the best way to know if PostgreSQL is ready for work is to execute some command from the console. So we&#8217;ll access it first:</p>
<pre>:~$ sudo -i -u postgres</pre>
<p>Remember that the PostgreSQL console is accessed through the postgres user.</p>
<p>And finally, we access with this command:</p>
<pre>:~# psql</pre>
<p>Once inside, we can, for example, display all the databases in the system:</p>
<pre>:~# \l</pre>
<p><figure id="attachment_18618" aria-describedby="caption-attachment-18618" style="width: 885px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18618" src="https://www.osradar.com/wp-content/uploads/2020/02/5-12.png" alt="5.- All postgresql databases" width="885" height="317" srcset="https://www.osradar.com/wp-content/uploads/2020/02/5-12.png 885w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-696x249.png 696w" sizes="(max-width: 885px) 100vw, 885px" /><figcaption id="caption-attachment-18618" class="wp-caption-text">5.- All postgresql databases</figcaption></figure></p>
<p>And so we can work without problems with PostgreSQL.</p>
<h2>Conclusion</h2>
<p>PostgreSQL 13 is a powerful database manager that is used in many projects worldwide. This makes many people want to have the latest stable versions to take even more advantage of the tool.</p>
<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-postgresql-13-debian-10/">How to install PostgreSQL 13 on Debian 10?</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/how-to-install-postgresql-13-debian-10/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How install MongoDB on Fedora 34 / 33?</title>
		<link>https://www.osradar.com/install-mongodb-fedora-33/</link>
					<comments>https://www.osradar.com/install-mongodb-fedora-33/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 25 May 2021 03:43:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[Programming]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29133</guid>

					<description><![CDATA[<p>Currently, NoSQL Database managers are being widely used by developers. Since it has many advantages and their projects are the most open source. And MongoDB is one of the most popular managers. So, this article is about how to install MongoDB in Fedora 34 / 33. MongoDB allows your teams to easily organize, use and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mongodb-fedora-33/">How install MongoDB on Fedora 34 / 33?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Currently, NoSQL Database managers are being widely used by developers. Since it has many advantages and their projects are the most open source. And MongoDB is one of the most popular managers. So, this article is about how to install MongoDB in Fedora 34 / 33.</p>



<p><a href="https://www.mongodb.com/">MongoDB</a> allows your teams to easily organize, use and enrich data – in real time, anywhere. MongoDB is a NoSQL and document-oriented database manager. In short, instead of saving the data in the record as the SQL database, it saves them in documents with BSON format which is a binary representation of JSON.</p>



<p>In the world of unrelated SQL database MongoDB is perhaps the most popular, however, it can be used by very different applications that require a semi-structured data collection. On the other hand, its use in transactional systems is not recommended as MongoDB does not support transactions.</p>



<p>That’s why I’m going to teach you how to install MongoDB on the latest stable versions of Fedora, Fedora 34 / 33.</p>



<h2 id="install-mongodb-on-fedora-33"><a href="#install-mongodb-on-fedora-33" name="install-mongodb-on-fedora-33"></a>Install MongoDB on Fedora 33</h2>



<p>It is possible to install MongoDB on Fedora 34 / 33 through the <a href="https://www.osradar.com/installing-rpm-on-ubuntu/" target="_blank" rel="noreferrer noopener">RPM packages</a> that can be downloaded and installed from the project’s website.</p>



<p>However, the most efficient method is to install from the official MongoDB repository which helps to integrate the application with the system.</p>



<p>So, for ease of use, install the nano text editor.</p>



<pre class="wp-block-preformatted">sudo dnf install nano</pre>



<p>And edit a text file to add the MongoDB repository by adding the following content</p>



<pre class="wp-block-preformatted">sudo nano /etc/yum.repos.d/mongodb.repo</pre>



<pre class="wp-block-preformatted">[mongodb-org-4.4]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="982" height="227" src="https://www.osradar.com/wp-content/uploads/2021/03/6-2.png" alt=" Configuring the MongoDB repository" class="wp-image-30202" srcset="https://www.osradar.com/wp-content/uploads/2021/03/6-2.png 982w, https://www.osradar.com/wp-content/uploads/2021/03/6-2-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/6-2-768x178.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/6-2-696x161.png 696w" sizes="(max-width: 982px) 100vw, 982px" /><figcaption> Configuring the MongoDB repository</figcaption></figure>



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



<p>Now you can install MongoDB on Fedora 34 / 33 by running</p>



<pre class="wp-block-preformatted">sudo dnf install mongodb-org</pre>



<p>After installation, a new service is created for Fedora 34 / 33.</p>



<p>So, refresh the list of system daemons</p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload</pre>



<p>Now start it up:</p>



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



<p>And then check the status of the service</p>



<pre class="wp-block-preformatted">sudo systemctl status mongod
● mongod.service - MongoDB Database Server
      Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
      Active: active (running) since Wed 2021-05-19 23:15:47 CEST; 5s ago
        Docs: https://docs.mongodb.org/manual
     Process: 2212 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS)
     Process: 2213 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS)
     Process: 2214 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS)
     Process: 2215 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=0/SUCCESS)
    Main PID: 2217 (mongod)
      Memory: 57.6M
         CPU: 822ms
      CGroup: /system.slice/mongod.service
              └─2217 /usr/bin/mongod -f /etc/mongod.conf
 May 19 23:15:46 osradar systemd[1]: Starting MongoDB Database Server…
 May 19 23:15:46 osradar mongod[2215]: about to fork child process, waiting until server is ready for connections.
 May 19 23:15:46 osradar mongod[2217]: forked process: 2217
 May 19 23:15:47 osradar mongod[2215]: child process started successfully, parent exiting
 May 19 23:15:47 osradar systemd[1]: Started MongoDB Database Server.
</pre>



<p>Now check the version of MongoDB that you have installed</p>



<pre class="wp-block-preformatted">mongod -version
db version v4.4.4
 Build Info: {
     "version": "4.4.4",
     "gitVersion": "8db30a63db1a9d84bdcad0c83369623f708e0397",
     "openSSLVersion": "OpenSSL 1.1.1k  FIPS 25 Mar 2021",
     "modules": [],
     "allocator": "tcmalloc",
     "environment": {
         "distmod": "rhel80",
         "distarch": "x86_64",
         "target_arch": "x86_64"
     }
 }</pre>



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



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>So, MongoDB is a solution that is increasingly being taken into account by many developers worldwide. Its installation in Fedora 34 / 33 is relatively simple.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-mongodb-fedora-33/">How install MongoDB on Fedora 34 / 33?</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-mongodb-fedora-33/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>DbGate: The Smartest (no)SQL Database Client</title>
		<link>https://www.osradar.com/dbgate-database-client/</link>
					<comments>https://www.osradar.com/dbgate-database-client/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 23 May 2021 23:07:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30187</guid>

					<description><![CDATA[<p>Hello, friends. We already know that developers or people who are in charge of a database, require professional clients to facilitate their task. So, in this post, we will introduce you to DbGate which is another client that supports many database managers. DbGate is a modern database management client that works with both SQL drivers [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/dbgate-database-client/">DbGate: The Smartest (no)SQL Database Client</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. We already know that developers or people who are in charge of a database, require professional clients to facilitate their task. So, in this post, we will introduce you to DbGate which is another client that supports many database managers.</p>



<p><a href="https://dbgate.org">DbGate</a> is a modern database management client that works with both SQL drivers such as MariaDB, MySQL; and with NoSQL such as MongoDB.</p>



<p>We are talking about a Free and open-source application that has been released under the MIT license. This makes that you can use it in many projects of diverse nature.</p>



<p>Another aspect to take into account with DbGate is that it is cross-platform. This means that we can use it on Windows, macOS, and of course Linux. Quite useful to improve possible migrations between operating systems. If you come from Windows, you can also use this application.</p>



<p>With DbGate you can easily:</p>



<ul><li>Connect to multiple databases, directly or through SSH tunnel. Important in terms of security.</li><li>Browse or edit data in your tables or views, filter by column value. This using a data editor.</li><li>Edit SQL queries with auto-complete suggestions or use query designer.</li><li>Export and import from/to CSV, JSON, or Excel.</li><li>Connect to <a href="https://www.osradar.com/how-to-install-mongodb-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">MongoDB</a>, browse or filter JSON document data.</li></ul>



<p>In addition to this, you can further extend the functionality of the program by adding plugins.</p>



<h2 id="install-dbgate-on-linux"><a href="#install-dbgate-on-linux" name="install-dbgate-on-linux"></a>Install DbGate on Linux</h2>



<p>In the Linux chaos, we have several options depending on the system you are using. In the case of Debian, Ubuntu and derivatives there is a <code>DEB</code> package that can be downloaded <a href="https://github.com/dbgate/dbgate" target="_blank" rel="noreferrer noopener">from Github</a> or using the terminal.</p>



<pre class="wp-block-preformatted">wget -c https://github.com/dbgate/dbgate/releases/download/v4.2.0/dbgate-latest.deb</pre>



<p>And then install it, <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/" target="_blank" rel="noreferrer noopener">using APT</a>.</p>



<pre class="wp-block-preformatted">sudo apt install ./dbgate-latest.deb</pre>



<p>Then you can run it from the main menu.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="607" src="https://www.osradar.com/wp-content/uploads/2021/05/1-6-1024x607.png" alt="1.- DbGate running" class="wp-image-30188" srcset="https://www.osradar.com/wp-content/uploads/2021/05/1-6-1024x607.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/1-6-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/1-6-768x455.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/1-6-696x412.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/1-6-1068x633.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/1-6.png 1372w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- DbGate running</figcaption></figure>



<p>There are also other formats like APPImage that you can run from any other Linux distribution or use the binaries.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Having professional tools for database management is a serious matter that requires some preliminary research. At the moment, DbGate has all the basic features to make it a solid alternative to others on the market. Being OpenSource and including Linux support, it generates more exceptions and is an option to take into account.</p>



<p>Enjoy it!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/dbgate-database-client/">DbGate: The Smartest (no)SQL Database Client</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/dbgate-database-client/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to change the data directory of MariaDB / MySQL?</title>
		<link>https://www.osradar.com/how-to-change-the-data-directory-mariadb-mysql/</link>
					<comments>https://www.osradar.com/how-to-change-the-data-directory-mariadb-mysql/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 10 Mar 2021 06:30:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28988</guid>

					<description><![CDATA[<p>Hello friends. We already know that MariaDB / MySQL is a very popular database driver that is the basis of many applications on the Internet. However, managing it sometimes is not so easy and today we will explain to you how to change the data directory of MariaDB / MySQL. This is so that you [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-change-the-data-directory-mariadb-mysql/">How to change the data directory of MariaDB / MySQL?</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. We already know that MariaDB / MySQL is a very popular database driver that is the basis of many applications on the Internet. However, managing it sometimes is not so easy and today we will explain to you how to change the data directory of MariaDB / MySQL. This is so that you can indicate where you want the data to be stored.</p>



<h2 id="why-change-the-data-directory?"><a name="why-change-the-data-directory?" href="#why-change-the-data-directory?"></a>Why change the data directory of MariaDB / MySQL?</h2>



<p>The need to do this depends on each sysadmin. In the case of a developer, it may be required to have more control over the data or to copy it to a portable device.</p>



<p>Also, if we have different volumes on the system it may be a good idea to change the location to another partition so that if there is a failure on the main hard disk it doesn’t affect our data.</p>



<p>So it really depends on your needs but it is always good to know this process.</p>



<h2 id="change-the-mariadb-/-mysql-data-directory"><a href="#change-the-mariadb-/-mysql-data-directory" name="change-the-mariadb-/-mysql-data-directory"></a>Change the MariaDB / MySQL data directory</h2>



<p>First, proceed to install <a href="https://www.osradar.com/tag/mariadb" target="_blank" rel="noreferrer noopener">MariaDB</a> if you don’t have it.</p>



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



<p>In CentOS, Fedora, RHEL</p>



<pre class="wp-block-preformatted">sudo dnf install mariadb</pre>



<p>In any case, we need MariaDB / MySQL properly installed.</p>



<p>Next, create the folder that will be the new location of the data:</p>



<pre class="wp-block-preformatted">mkdir -p [path]</pre>



<p>Replace <code>[path]</code> with the location of your folder. Then, make mysql the owner of it</p>



<pre class="wp-block-preformatted">sudo chown -R mysql:mysql [path]</pre>



<p>Now check which is the location where the application data is located.</p>



<pre class="wp-block-preformatted">sudo mysql -u root -p -e "SELECT @@datadir;"</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">Enter password: 
+-----------------+
| @@datadir       |
+-----------------+
| /var/lib/mysql/ |
+-----------------+</pre>



<p>Once this is done, you need to stop the MariaDB / MySQL service.</p>



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



<p>Now copy all the data that has been made in MariaDB to the new location including permissions and attributes.</p>



<pre class="wp-block-preformatted">sudo cp -R -p /var/lib/mysql/* [path]</pre>



<p>Then you need to modify the MariaBD configuration file which on DEbian, Ubuntu and derivatives is <code>/etc/mysql/mariadb.conf.d/50-server.cnf</code> and on CentOS is <code>/etc/my.cnf.</code></p>



<pre class="wp-block-preformatted">sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf</pre>



<p>And under the <code>[mysqld]</code> section add</p>



<pre class="wp-block-preformatted">[mysqld]
datadir=[path]
socket=[path]/mysql.sock</pre>



<p>And under <code>[client]</code></p>



<pre class="wp-block-preformatted">port=3306
socket=[path]/mysql.sock</pre>



<p>Remember to replace <code>[path]</code> with the path to the folder you have created and that will be the new location of the data.</p>



<p>Now start the service</p>



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



<p>And you can check again the location of the data to see if everything went well.</p>



<pre class="wp-block-preformatted">sudo mysql -u root -p -e "SELECT @@datadir;"</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">Enter password: 
+-----------------------+
| @@datadir             |
+-----------------------+
| /home/angelo/newdata/ |
+-----------------------+</pre>



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



<h2 id="one-more-thing..."><a href="#one-more-thing..." name="one-more-thing..."></a>One more thing…</h2>



<p>You can choose any folder to be the new location for the data. However, if this folder is in <code>/root</code> or <code>/home</code> there will be a permissions problem that you have to fix.</p>



<p>To do this you have to edit the MariaDB service file</p>



<pre class="wp-block-preformatted">sudo nano /usr/lib/systemd/system/mariadb.service</pre>



<p>And inside the file locate the <code>ProtectHome</code> value and change it from :</p>



<pre class="wp-block-preformatted">ProtectHome=true</pre>



<p>To</p>



<pre class="wp-block-preformatted">ProtectHome=false</pre>



<p>Save the changes and close the file.</p>



<p>To apply the changes you have to refresh the daemon directory.</p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload</pre>



<p>And now repeat the process.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Changing the MariaDB data directory can be quite useful in database administration. Especially when it is sensitive data that we need to have always at hand.</p>



<p><a href="https://mariadb.com/kb/en/documentation/" target="_blank" rel="noreferrer noopener">MariaDB documentation</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-change-the-data-directory-mariadb-mysql/">How to change the data directory of MariaDB / MySQL?</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/how-to-change-the-data-directory-mariadb-mysql/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install the latest version of SQLite on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-the-latest-version-sqlite-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-the-latest-version-sqlite-ubuntu-20-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 06 Oct 2020 03:24:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQLite]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=24264</guid>

					<description><![CDATA[<p>From the SQLite website, they boast that it is the most used database manager in the world. So in this post, you will learn how to install the latest version of SQLite on Ubuntu 20.04 According to the project’s website, “SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-sqlite-ubuntu-20-04/">How to install the latest version of SQLite 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>From the SQLite website, they boast that it is the most used database manager in the world. So in this post, you will learn <strong>how to install the latest version of SQLite on Ubuntu 20.04</strong></p>



<p>According to the <a rel="noreferrer noopener" href="https://www.sqlite.org/index.html" target="_blank">project’s website</a>, “SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured, SQL database engine.” Also, it is open-source.</p>



<p><strong>The great feature of SQLite is that it is easily implemented in mobile applications</strong>. That is to say since it is not managed as a service, it makes it possible for our applications to move along with the database.</p>



<p>On the other hand, SQLite boasts that it is the most used database manager in the world, and if we take into account the great number of mobile applications, we can believe it.</p>



<h2>Install the latest version of SQLite</h2>



<p>The first thing we must do is prepare the operating system with the necessary packages for the compilation and construction of packages from the source code.</p>



<p>So, open a terminal and run to install them</p>



<pre class="wp-block-preformatted">sudo apt-get install build-essential tar wget
Reading package lists… Done
Building dependency tree
Reading state information… Done
tar is already the newest version (1.30+dfsg-7).
tar set to manually installed.
wget is already the newest version (1.20.3-1ubuntu1).
wget set to manually installed.
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-26 linux-headers-5.4.0-26-generic linux-image-5.4.0-26-generic linux-modules-5.4.0-26-generic linux-modules-extra-5.4.0-26-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-9 dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libfakeroot
libfile-fcntllock-perl libgcc-9-dev libgomp1 libisl22 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev
Suggested packages:
binutils-doc cpp-doc gcc-9-locales debian-keyring g++-multilib g++-9-multilib gcc-9-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-9-multilib
glibc-doc bzr libstdc++-9-doc make-doc
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-9 dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl
libfakeroot libfile-fcntllock-perl libgcc-9-dev libgomp1 libisl22 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make
manpages-dev
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 40.0 MB of archives.
After this operation, 175 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="383" src="https://www.osradar.com/wp-content/uploads/2020/10/1-1-1024x383.png" alt="1.- Install building packages" class="wp-image-24286" srcset="https://www.osradar.com/wp-content/uploads/2020/10/1-1-1024x383.png 1024w, https://www.osradar.com/wp-content/uploads/2020/10/1-1-300x112.png 300w, https://www.osradar.com/wp-content/uploads/2020/10/1-1-768x287.png 768w, https://www.osradar.com/wp-content/uploads/2020/10/1-1-696x260.png 696w, https://www.osradar.com/wp-content/uploads/2020/10/1-1-1068x399.png 1068w, https://www.osradar.com/wp-content/uploads/2020/10/1-1.png 1343w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install building packages</figcaption></figure>



<p>Once the installation is finished, we have to download the SQLite source code.</p>



<p>At the time of writing this post, the latest stable version is <code>3.33.0</code>. To download it using <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener">wget</a>, run the following command:</p>



<pre class="wp-block-preformatted">wget -c https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
--2020-10-03 16:55:39-- https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
Resolving www.sqlite.org (www.sqlite.org)… 45.33.6.223, 2600:3c00::f03c:91ff:fe96:b959
Connecting to www.sqlite.org (www.sqlite.org)|45.33.6.223|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2913759 (2.8M) [application/x-gzip]
Saving to: ‘sqlite-autoconf-3330000.tar.gz’
sqlite-autoconf-3330000.tar.gz 100%[=====================================================================================>] 2.78M 452KB/s in 10s
2020-10-03 16:55:51 (278 KB/s) - ‘sqlite-autoconf-3330000.tar.gz’ saved [2913759/2913759]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="218" src="https://www.osradar.com/wp-content/uploads/2020/10/2-2-1024x218.png" alt="2.- Downloading SQLite source code" class="wp-image-24287" srcset="https://www.osradar.com/wp-content/uploads/2020/10/2-2-1024x218.png 1024w, https://www.osradar.com/wp-content/uploads/2020/10/2-2-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2020/10/2-2-768x163.png 768w, https://www.osradar.com/wp-content/uploads/2020/10/2-2-696x148.png 696w, https://www.osradar.com/wp-content/uploads/2020/10/2-2-1068x227.png 1068w, https://www.osradar.com/wp-content/uploads/2020/10/2-2.png 1345w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Downloading SQLite source code</figcaption></figure>



<p>The command will vary by version, to make sure which one it is, you can visit the <a href="https://www.sqlite.org/download.html" target="_blank" rel="noreferrer noopener">SQLite website</a>.</p>



<p>We already have the SQLite source code downloaded. Create a folder for SQLite and access it.</p>



<pre class="wp-block-preformatted">mkdir sqlite3 &amp;&amp; cd sqlite3</pre>



<p>And then, unzip the file in this folder:</p>



<pre class="wp-block-preformatted">tar xvfz ../sqlite-autoconf-3330000.tar.gz</pre>



<p>Access the generated folder:</p>



<pre class="wp-block-preformatted">cd sqlite-autoconf-3330000/</pre>



<p>And configure the code to start the compilation:</p>



<pre class="wp-block-preformatted">./configure</pre>



<p>Compile SQLite with the make command:</p>



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



<p>And finally, install it:</p>



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



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="536" src="https://www.osradar.com/wp-content/uploads/2020/10/3-1-1024x536.png" alt="3.- Installing the latest version of SQLite on Ubuntu 20.04" class="wp-image-24288" srcset="https://www.osradar.com/wp-content/uploads/2020/10/3-1-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2020/10/3-1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2020/10/3-1-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2020/10/3-1-696x365.png 696w, https://www.osradar.com/wp-content/uploads/2020/10/3-1-1068x560.png 1068w, https://www.osradar.com/wp-content/uploads/2020/10/3-1.png 1340w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Installing the latest version of SQLite on Ubuntu 20.04</figcaption></figure>



<p>In the end, you can check the results by running the command sqlite3. For example, to show the installed version:</p>



<pre class="wp-block-preformatted">sqlite3 --version<br>3.33.0 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f</pre>



<p>So, that way you can install the latest version of SQLite on Ubuntu 20.04 Enjoy it.</p>



<h2>Conclusion</h2>



<p>Many developers need the latest version of certain programs. One of them can be the package manager and take advantage of all the new features it can bring.</p>



<p>Now you know how to install the latest version of SQLite on Ubuntu 20.04</p>



<p>So, share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">our Telegram </a>channel and our <a href="https://facebook.com/osradar" target="_blank" rel="noreferrer noopener">Facebook Page</a>. Also, you can buy us a coffee.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-sqlite-ubuntu-20-04/">How to install the latest version of SQLite 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-the-latest-version-sqlite-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to change MySQL / MariaDB storage engine to a WordPress site?</title>
		<link>https://www.osradar.com/change-mysql-mariadb-storage-engine-wordpress/</link>
					<comments>https://www.osradar.com/change-mysql-mariadb-storage-engine-wordpress/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 18 Aug 2020 15:13:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22836</guid>

					<description><![CDATA[<p>Hi, folks. In this post, we will help you to change the MySQL / MariaDB storage engine to a WordPress site. Particularly we&#8217;ll change all to InnoDB but also the procedure works for MyISAM. Previously we explained that the storage engine is a fundamental component of database managers. With them, we define many ways about [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/change-mysql-mariadb-storage-engine-wordpress/">How to change MySQL / MariaDB storage engine to a WordPress site?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, folks. In this post, <strong>we will help you to change the MySQL / MariaDB storage engine to a WordPress site</strong>. Particularly we&#8217;ll change all to InnoDB but also the procedure works for MyISAM.</p>



<p>Previously we explained that the storage engine is a fundamental component of database managers. With them, we define many ways about how our data is stored. Also, it is good to say that there are many and all are good but each in certain circumstances.</p>



<p>So, if your WordPress site needs a change of storage engine, in this post we will tell you how to do it easily and safely.</p>



<h2>Previous steps</h2>



<p>In this post, it is assumed that WordPress is already installed and running. If not, there are our posts that will help you install it without problems.</p>



<p><a href="https://www.osradar.com/how-to-install-wordpress-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How to install WordPress on Ubuntu 20.04?</a><br><a href="https://www.osradar.com/install-wordpress-debian-10/" target="_blank" rel="noreferrer noopener">How to install WordPress on Debian 10?</a><br></p>



<p>To facilitate the whole process, we have chosen to use also PHPMyAdmin as a tool. This will help us with some steps.</p>



<p><a href="https://www.osradar.com/install-phpmyadmin-on-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">How to install PHPMyAdmin on Ubuntu 20.04?</a><br><a href="https://www.osradar.com/install-phpmyadmin-debian-10/" target="_blank" rel="noreferrer noopener">How to install PHPMyAdmin on Debian 10?</a><br></p>



<p>With this done, we can start.</p>



<h2>Changing MySQL / MariaDB storage engine for a WordPress site</h2>



<p>Open your web browser and open PHPMyAdmin. You will see the following screen:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/08/1-12-1024x505.png" alt="1.- PHPMyAdmin main screen" class="wp-image-22837" srcset="https://www.osradar.com/wp-content/uploads/2020/08/1-12-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/1-12-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/1-12-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/1-12-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/1-12-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/1-12.png 1348w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- PHPMyAdmin main screen</figcaption></figure>



<p>As you can see in the image, I have a database called w<em>ordpress</em> which is where the site data is.</p>



<p>The process is quite safe but it is always convenient to make a backup of the database.</p>



<p>So, select the <em>wordpress</em> database and go to the <em>Export</em> tab and make a backup of the whole database by pressing the <em>Go</em> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2020/08/2-7-1024x501.png" alt="2.- Making a wordpress data backup" class="wp-image-22838" srcset="https://www.osradar.com/wp-content/uploads/2020/08/2-7-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/2-7-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/2-7-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/2-7-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/2-7-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/2-7.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Making a wordpress data backup</figcaption></figure>



<p>Perhaps the fastest method is to use SQL code. So, click on the <em>SQL</em> tab.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2020/08/3-6-1024x501.png" alt="3.- SQL tab on PHPMyAdmin" class="wp-image-22839" srcset="https://www.osradar.com/wp-content/uploads/2020/08/3-6-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/3-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/3-6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/3-6-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/3-6-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/3-6.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- SQL tab on PHPMyAdmin</figcaption></figure>



<p>What we have to do is modify each table that makes up the WordPress database. As I am using a recent installation of WordPress you may have many more tables.</p>



<p>So, in my case these are the lines I have to run:</p>



<pre class="wp-block-preformatted">ALTER TABLE wp_commentmeta ENGINE=InnoDB;
ALTER TABLE wp_comments ENGINE=InnoDB;
ALTER TABLE wp_links ENGINE=InnoDB;
ALTER TABLE wp_options ENGINE=InnoDB;
ALTER TABLE wp_postmeta ENGINE=InnoDB;
ALTER TABLE wp_posts ENGINE=InnoDB;
ALTER TABLE wp_termmeta ENGINE=InnoDB;
ALTER TABLE wp_terms ENGINE=InnoDB;
ALTER TABLE wp_term_relationships ENGINE=InnoDB;
ALTER TABLE wp_term_taxonomy ENGINE=InnoDB;
ALTER TABLE wp_usermeta ENGINE=InnoDB;
ALTER TABLE wp_users ENGINE=InnoDB;</pre>



<p><strong>Remember that if you want to change to MyISAM you only have to modify the commands, for example:</strong></p>



<pre class="wp-block-preformatted">ALTER TABLE wp_commentmeta ENGINE=MyISAM;</pre>



<p>Then click on the <em>Go</em> button.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2020/08/4-6-1024x501.png" alt="4.- Changing the MySQL / MariaDB storage engine for a WordPress site" class="wp-image-22840" srcset="https://www.osradar.com/wp-content/uploads/2020/08/4-6-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/4-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/4-6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/4-6-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/4-6-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/4-6.png 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Changing the MySQL / MariaDB storage engine for a WordPress site</figcaption></figure>



<p>Then you will see a screen where you can see that each modification has been done correctly.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/08/5-3-1024x505.png" alt="5.- Everything is OK" class="wp-image-22841" srcset="https://www.osradar.com/wp-content/uploads/2020/08/5-3-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/5-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/5-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/5-3-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/5-3-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/5-3.png 1348w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Everything is OK</figcaption></figure>



<p>And you will continue to enjoy your website without any problems.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/08/6-3-1024x505.png" alt="6.- WordPress site working after changing MySQL / MariaDB storage engine" class="wp-image-22842" srcset="https://www.osradar.com/wp-content/uploads/2020/08/6-3-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/6-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/6-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/6-3-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/6-3-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/6-3.png 1348w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- WordPress site working after changing MySQL / MariaDB storage engine</figcaption></figure>



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



<h2>Conclusion</h2>



<p>Changing the storage engine of all the tables in a WordPress site can be helpful for your site. The process is quite simple, but it is always advisable to do it after backing up our database.</p>



<p>So, share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/change-mysql-mariadb-storage-engine-wordpress/">How to change MySQL / MariaDB storage engine to a WordPress site?</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/change-mysql-mariadb-storage-engine-wordpress/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
