<?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>Pgadmin Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/pgadmin/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 18 Jan 2021 14:45:43 +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 install pgAdmin4 on CentOS 8?</title>
		<link>https://www.osradar.com/install-pgadmin4-centos-8/</link>
					<comments>https://www.osradar.com/install-pgadmin4-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 21 Jan 2021 02:44:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[centos8]]></category>
		<category><![CDATA[Pgadmin]]></category>
		<category><![CDATA[pgadmin4]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27815</guid>

					<description><![CDATA[<p>Hello friends in this post, you will learn how to install pgAdmin4 on CentOS 8. This process is quite simple but requires some steps. pgAdmin is the most popular and features rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world. Thanks to this application, you can [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-pgadmin4-centos-8/">How to install pgAdmin4 on 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 id="introduction"><a name="introduction" href="#introduction"></a>Hello friends in this post, you will learn how to install pgAdmin4 on CentOS 8. This process is quite simple but requires some steps.</p>



<p><a href="https://www.pgadmin.org/">pgAdmin</a> is the most popular and features rich Open Source administration and development platform for <a href="https://www.osradar.com/tag/postgresql/">PostgreSQL</a>, the most advanced Open Source database in the world.</p>



<p>Thanks to this application, you can have a graphical interface to manage everything related to PostgreSQL. The main advantage of this program is the ability to view all the records we have stored. On the other hand, we can create connections and customize them to achieve even more security. It is also possible to create, modify, and delete databases.</p>



<p>So, pgAdmin4 becomes a printable application if you use a lot of PostgreSQL or if you want to use it for educational purposes.</p>



<p>So, let us install pgAdmin4 on CentOS 8.</p>



<h2 id="install-postgresql-on-centos-8"><a href="#install-postgresql-on-centos-8" name="install-postgresql-on-centos-8"></a>Install PostgreSQL on CentOS 8</h2>



<p>The first step we have to do is to have an instance of PostgreSQL up and running on our server. For this we have a post that can help you with this:</p>



<p><a href="https://www.osradar.com/install-postgresql-12-centos-8/">How to install PostgreSQL 12 on CentOS 8 / RHEL 8 / Oracle Linux 8?</a></p>



<p>Once PostgreSQL is correctly installed and configured then we can proceed to install PgAdmin4 without any problems.</p>



<h2 id="install-pgadmin4-on-centos-8"><a name="install-pgadmin4-on-centos-8" href="#install-pgadmin4-on-centos-8"></a>Install pgAdmin4 on CentOS 8</h2>



<p>The first thing we have to do is update the operating system.</p>



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



<p>Then, enable the EPEL repository that we will need to enhance the installation:</p>



<pre class="wp-block-preformatted">dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</pre>



<p>Within this repository, there is one called <code>powertool</code> that we also have to enable.</p>



<pre class="wp-block-preformatted">dnf config-manager --set-enabled powertools</pre>



<p>And finally, install pgAdmin4 by running the following command:</p>



<pre class="wp-block-preformatted">dnf --enablerepo=powertools install pgadmin4</pre>



<p>After accepting the changes, the download and installation process will begin.</p>



<h3 id="preparing-pgadmin4-for-the-firt-use"><a href="#preparing-pgadmin4-for-the-firt-use" name="preparing-pgadmin4-for-the-firt-use"></a>Preparing pgAdmin4 for the firt use</h3>



<p>Before using pgAdmin4 it is advisable to make a few settings so as not to have problems of any kind.</p>



<p>First, start and enable the Apache webserver that was installed during the process.</p>



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



<p>pgAdmin comes with a default Apache configuration, which we can use or modify. In this case, we will copy it to take advantage of it.</p>



<pre class="wp-block-preformatted">cp /etc/httpd/conf.d/pgadmin4.conf.sample /etc/httpd/conf.d/pgadmin4.conf</pre>



<p>Apply the changes by restarting Apache:</p>



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



<p>The next step is to create dedicated folders for pgAdmin log and lib. You can choose another location but the most pertinent is <code>/var/</code></p>



<pre class="wp-block-preformatted">mkdir -p /var/lib/pgadmin4/
mkdir -p /var/log/pgadmin4/</pre>



<p>You can then configure pgAdmin4 to tell it to use the paths of the folders you have created.</p>



<pre class="wp-block-preformatted">nano /usr/lib/python3.6/site-packages/pgadmin4-web/config_distro.py</pre>



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



<pre class="wp-block-preformatted"><code data-origin="<pre&gt;<code&gt;LOG_FILE = '/var/log/pgadmin4/pgadmin4.log
SQLITE_PATH = '/var/lib/pgadmin4/pgadmin4.db
SESSION_DB_PATH = '/var/lib/pgadmin4/sessions
STORAGE_DIR = '/var/lib/pgadmin4/storage
</code&gt;</pre&gt;
<p&gt;">LOG_FILE = '/var/log/pgadmin4/pgadmin4.log</code>
<code data-origin="<pre&gt;<code&gt;LOG_FILE = '/var/log/pgadmin4/pgadmin4.log
SQLITE_PATH = '/var/lib/pgadmin4/pgadmin4.db
SESSION_DB_PATH = '/var/lib/pgadmin4/sessions
STORAGE_DIR = '/var/lib/pgadmin4/storage
</code&gt;</pre&gt;
<p&gt;">SQLITE_PATH = '/var/lib/pgadmin4/pgadmin4.db</code>
<code data-origin="<pre&gt;<code&gt;LOG_FILE = '/var/log/pgadmin4/pgadmin4.log
SQLITE_PATH = '/var/lib/pgadmin4/pgadmin4.db
SESSION_DB_PATH = '/var/lib/pgadmin4/sessions
STORAGE_DIR = '/var/lib/pgadmin4/storage
</code&gt;</pre&gt;
<p&gt;">SESSION_DB_PATH = '/var/lib/pgadmin4/sessions</code>
<code data-origin="<pre&gt;<code&gt;LOG_FILE = '/var/log/pgadmin4/pgadmin4.log
SQLITE_PATH = '/var/lib/pgadmin4/pgadmin4.db
SESSION_DB_PATH = '/var/lib/pgadmin4/sessions
STORAGE_DIR = '/var/lib/pgadmin4/storage
</code&gt;</pre&gt;
<p&gt;">STORAGE_DIR = '/var/lib/pgadmin4/storage </code></pre>



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



<p>Now define the username and password that we will use to access pgAdmin4.</p>



<pre class="wp-block-preformatted">python3 /usr/lib/python3.6/site-packages/pgadmin4-web/setup.py </pre>



<p>And there you will have to set the password.</p>



<figure class="wp-block-image alignnone size-full wp-image-27819"><img loading="lazy" width="991" height="218" src="https://www.osradar.com/wp-content/uploads/2021/01/1-8.png" alt="1.- Configure a new admin for pgAdmin4" class="wp-image-27819" srcset="https://www.osradar.com/wp-content/uploads/2021/01/1-8.png 991w, https://www.osradar.com/wp-content/uploads/2021/01/1-8-300x66.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/1-8-768x169.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/1-8-696x153.png 696w" sizes="(max-width: 991px) 100vw, 991px" /><figcaption>1.- Configure a new admin for pgAdmin4</figcaption></figure>



<p>Assign Apache to be the owner of the created directories.</p>



<pre class="wp-block-preformatted">chown -R apache:apache /var/lib/pgadmin4
chown -R apache:apache /var/log/pgadmin4</pre>



<p>Apply all changes by restarting Apache and PostgreSQL.</p>



<pre class="wp-block-preformatted">systemctl restart httpd
systemctl restart postgresql-12 </pre>



<p>Now we can use it.</p>



<h2 id="testing-the-installation"><a href="#testing-the-installation" name="testing-the-installation"></a>Testing the installation</h2>



<p>Now we can access <code>http://your-server/pgadmin4</code> and you should see the following screen</p>



<figure class="wp-block-image alignnone size-full wp-image-27817"><img loading="lazy" width="1366" height="669" src="https://www.osradar.com/wp-content/uploads/2021/01/1-7.png" alt="2.- pgAdmin login screen" class="wp-image-27817" srcset="https://www.osradar.com/wp-content/uploads/2021/01/1-7.png 1366w, https://www.osradar.com/wp-content/uploads/2021/01/1-7-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/1-7-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/1-7-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/1-7-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/1-7-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption>2.- pgAdmin login screen</figcaption></figure>



<p>Now login with your credentials and you will see the pgAdmin main screen. This proves that everything works.</p>



<figure class="wp-block-image alignnone size-full wp-image-27818"><img loading="lazy" width="1366" height="669" src="https://www.osradar.com/wp-content/uploads/2021/01/2-8.png" alt="3.- pgAdmin4 running on CentOS 8" class="wp-image-27818" srcset="https://www.osradar.com/wp-content/uploads/2021/01/2-8.png 1366w, https://www.osradar.com/wp-content/uploads/2021/01/2-8-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/2-8-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/2-8-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/2-8-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/2-8-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption>3.- pgAdmin4 running on CentOS 8</figcaption></figure>



<p>All you have to do now is add your PostgreSQL instance.</p>



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



<p>pgAdmin4 is a vital tool to manipulate PostgreSQL visually and very easily. Its potentials are vast and it is recommended that you visit the project website to learn more about it.</p>



<footer style="position: fixed; font-size: .8em; text-align: right; bottom: 0px; margin-left: -25px; height: 20px; width: 100%;">generated by <a href="http://pad.haroopress.com" target="_blank" rel="noopener">haroopad</a></footer>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-pgadmin4-centos-8/">How to install pgAdmin4 on 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-pgadmin4-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Graphical clients for SQL in Linux</title>
		<link>https://www.osradar.com/graphical-clients-for-sql-in-linux/</link>
					<comments>https://www.osradar.com/graphical-clients-for-sql-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 12 Mar 2019 20:13:14 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[clients]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[MyWebSQL]]></category>
		<category><![CDATA[Pgadmin]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQLite]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11392</guid>

					<description><![CDATA[<p>SQL Language is one of the most popular languages of our time. Many of the most popular database managers use SQL as their statement language. That is why SQL is so popular. However, it is a language that many at first may not like or may become complicated. Also managing data in a database using [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/graphical-clients-for-sql-in-linux/">Graphical clients for SQL in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>SQL Language is one of the most popular languages of our time. Many of the most popular database managers use SQL as their statement language. That is why SQL is so popular. However, it is a language that many at first may not like or may become complicated. Also managing data in a database using only the terminal is not as efficient as possible. Imagine many tables with thousands of records, it is not efficient to do it that way. So in this article, I will tell you about some graphical clients for SQL. All with the particularity of being open source and installable in Linux.</p>
<p>As I mentioned at the beginning, managing data in a database that uses SQL in a terminal is not appropriate. In addition, insecure is impractical. So recently I showed you<a href="https://www.osradar.com/some-graphical-clients-for-git/" rel="noopener noreferrer"> some graphical clients for Git</a>, today I will do the same with SQL. This way you will be able to work more and better.</p>
<p>Let us start.</p>
<h1>Graphical clients for SQL</h1>
<h2>1) MyWebSQL</h2>
<p>I start with MyWebSQL. It is a web application to manage SQL databases. However, it places special emphasis on MySQL.</p>
<p>MyWebSQL is built with PHP so it requires a web server to function. Its graphical interface is great because it resembles a desktop application. It is well done and very well taken care of.</p>
<p><figure id="attachment_11393" aria-describedby="caption-attachment-11393" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11393" src="https://www.osradar.com/wp-content/uploads/2019/03/14.png" alt="1.- MyWebSQL" width="1366" height="665" srcset="https://www.osradar.com/wp-content/uploads/2019/03/14.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/14-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/14-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/14-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/14-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/14-1068x520.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/14-863x420.png 863w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11393" class="wp-caption-text">1.- MyWebSQL</figcaption></figure></p>
<p>You can find much more information about MyWebSQL in <a href="https://www.osradar.com/install-mywebsql-on-centos-7/" rel="noopener noreferrer">our post about it</a> or on <a href="http://mywebsql.net/" rel="noopener noreferrer">their website.</a></p>
<h2>2) DBeaver</h2>
<p>DBeaver is a very powerful graphical SQL client. It is an open source desktop application that stands out for its simplicity and power. It supports many SQL database managers such as DBeaver, SQLite or PostgreSQL. That&#8217;s why many developers trust their work with SQL to DBeaver.</p>
<p><figure id="attachment_11394" aria-describedby="caption-attachment-11394" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11394" src="https://www.osradar.com/wp-content/uploads/2019/03/10-2.png" alt="2.- Dbeaver" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/03/10-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/10-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/10-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/10-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/10-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/10-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/10-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11394" class="wp-caption-text">2.- Dbeaver</figcaption></figure></p>
<p>On the other hand, it requires <a href="https://www.osradar.com/how-to-install-oracle-java-on-ubuntu-18-10/" rel="noopener noreferrer">Java</a> to work so maybe those who have modest hardware will not like the idea.</p>
<p>We have also talked about <a href="https://dbeaver.io/" rel="noopener noreferrer">DBeaver</a> on our site so we invite you to stop by <a href="https://www.osradar.com/install-dbeaver-ubuntu-18-04-linux-mint-19/" rel="noopener noreferrer">this post</a> to learn how to install it.</p>
<h2>3) PHPMyAdmin</h2>
<p>If we have to talk about a very popular SQL tool in the educational field, that is <a href="https://www.phpmyadmin.net/" rel="noopener noreferrer">PHPMyAdmin</a>. It is a very popular and simple web interface for SQL language that contains everything you need to manage databases and SQL statements.</p>
<p>Being a web interface, it requires a web server, with all the advantages and disadvantages of the case. Ideal when you have a shared development of some application or centralized data.</p>
<p><figure id="attachment_11395" aria-describedby="caption-attachment-11395" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11395" src="https://www.osradar.com/wp-content/uploads/2019/03/12-1.png" alt="3.- PHPMyAdmin" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/03/12-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/03/12-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/12-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/12-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/03/12-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/03/12-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/12-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/03/12-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-11395" class="wp-caption-text">3.- PHPMyAdmin</figcaption></figure></p>
<p>Of course, PHPMyAdmin is available for Linux in a very simple way and is open source. So, <a href="https://www.osradar.com/how-to-install-the-latest-phpmyadmin-on-centos-7/" rel="noopener noreferrer">you can install it on CentOS</a>.</p>
<h2>4) PGAdmin</h2>
<p>If there is an SQL client specialized in PostgreSQL that is <a href="https://www.pgadmin.org/" rel="noopener noreferrer">pgAdmin</a>. This powerful PostgreSQL client is a work of art. Its interface is the best in all of Linux because it is simple and very flexible.</p>
<p><figure id="attachment_11396" aria-describedby="caption-attachment-11396" style="width: 808px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-11396" src="https://www.osradar.com/wp-content/uploads/2019/03/33.png" alt="PGAdmin" width="808" height="520" srcset="https://www.osradar.com/wp-content/uploads/2019/03/33.png 808w, https://www.osradar.com/wp-content/uploads/2019/03/33-300x193.png 300w, https://www.osradar.com/wp-content/uploads/2019/03/33-768x494.png 768w, https://www.osradar.com/wp-content/uploads/2019/03/33-696x448.png 696w, https://www.osradar.com/wp-content/uploads/2019/03/33-653x420.png 653w" sizes="(max-width: 808px) 100vw, 808px" /><figcaption id="caption-attachment-11396" class="wp-caption-text">4.- PGAdmin. Image from the pgadmin web site</figcaption></figure></p>
<p>PgAdmin is open source and is available for all Linux through a web server and <a href="https://www.osradar.com/get-the-latest-python-on-linux/" rel="noopener noreferrer">Python</a>.</p>
<h1>Conclusion</h1>
<p>Here are some of the most popular graphical SQL clients on Linux. Their use makes it much easier to manage the data in our SQL database. So it only remains for you to try and tell us your experience.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/graphical-clients-for-sql-in-linux/">Graphical clients for SQL in Linux</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/graphical-clients-for-sql-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
