<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://kb.owrench.com/index.php?action=history&amp;feed=atom&amp;title=Postgres_installation</id>
	<title>Postgres installation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://kb.owrench.com/index.php?action=history&amp;feed=atom&amp;title=Postgres_installation"/>
	<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Postgres_installation&amp;action=history"/>
	<updated>2026-05-04T04:22:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://kb.owrench.com/index.php?title=Postgres_installation&amp;diff=97&amp;oldid=prev</id>
		<title>imported&gt;Kishor: Created page with &quot;install &lt;b&gt;postgres&lt;/b&gt; from these links&lt;br&gt;  https://yum.postgresql.org/howtoyum.php&lt;br&gt; https://yum.postgresql.org/repopackages.php&lt;br&gt;  wget the required version into serve...&quot;</title>
		<link rel="alternate" type="text/html" href="http://kb.owrench.com/index.php?title=Postgres_installation&amp;diff=97&amp;oldid=prev"/>
		<updated>2017-06-16T09:16:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;install &amp;lt;b&amp;gt;postgres&amp;lt;/b&amp;gt; from these links&amp;lt;br&amp;gt;  https://yum.postgresql.org/howtoyum.php&amp;lt;br&amp;gt; https://yum.postgresql.org/repopackages.php&amp;lt;br&amp;gt;  wget the required version into serve...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;install &amp;lt;b&amp;gt;postgres&amp;lt;/b&amp;gt; from these links&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
https://yum.postgresql.org/howtoyum.php&amp;lt;br&amp;gt;&lt;br /&gt;
https://yum.postgresql.org/repopackages.php&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wget the required version into server, then&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
rpm -Uvh &amp;quot;downloaded file&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
yum install postgresql93-server postgresql93&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
follow steps in http://community.webcorecloud.com/tutorials/install-postgresql-94-centos-6x/&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
vim /var/lib/pgsql93/data/postgresql.conf&amp;lt;br&amp;gt;&lt;br /&gt;
log_destination = 'stderr'&amp;lt;br&amp;gt;&lt;br /&gt;
logging_collector = on  &amp;lt;br&amp;gt;&lt;br /&gt;
log_directory = 'pg_log'   &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Installing PhpPgAdmin&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
yum install phpPgAdmin&amp;lt;br&amp;gt;&lt;br /&gt;
vim /etc/httpd/conf.d/phpPgAdmin.conf&amp;lt;br&amp;gt;&lt;br /&gt;
#    Deny from all&amp;lt;br&amp;gt;&lt;br /&gt;
#    Allow from 127.0.0.1&amp;lt;br&amp;gt;&lt;br /&gt;
Allow from all      ## &amp;lt;-- safe for internal servers, but provide the allowed IPs(office static IP) in live environment&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vim /etc/phpPgAdmin/config.inc.php   OR&amp;lt;br&amp;gt;&lt;br /&gt;
vim /usr/share/phpPgAdmin/conf/config.inc.php&amp;lt;br&amp;gt;&lt;br /&gt;
$conf['extra_login_security'] = false;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vim /var/lib/pgsql93/data/pg_hba.conf&amp;lt;br&amp;gt;&lt;br /&gt;
local   all             all                                     trust&amp;lt;br&amp;gt;&lt;br /&gt;
host    all             all             127.0.0.1/32            md5&amp;lt;br&amp;gt;&lt;br /&gt;
host    all             postgres        all                     md5&amp;lt;br&amp;gt;&lt;br /&gt;
# IPv6 local connections:&amp;lt;br&amp;gt;&lt;br /&gt;
host    all             all             ::1/128                 md5&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;UBUNTU doc reference:&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
http://stackoverflow.com/questions/1471571/how-to-configure-postgresql-for-the-first-time reference&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[category:it-support]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Kishor</name></author>
		
	</entry>
</feed>