<?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>kowito.com &#187; postgres</title>
	<atom:link href="http://www.kowito.com/tag/postgres/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kowito.com</link>
	<description>Try not to become a man of success but a man of value.</description>
	<lastBuildDate>Thu, 15 Dec 2011 04:43:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>ติดตั้ง Postgres ลงบน Ubuntu 9.04 อย่างง่ายและรวดเร็ว</title>
		<link>http://www.kowito.com/2009/10/17/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-postgres-%e0%b8%a5%e0%b8%87%e0%b8%9a%e0%b8%99-ubuntu-9-04-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2/</link>
		<comments>http://www.kowito.com/2009/10/17/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-postgres-%e0%b8%a5%e0%b8%87%e0%b8%9a%e0%b8%99-ubuntu-9-04-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 18:34:46 +0000</pubDate>
		<dc:creator>kowito</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[postgres]]></category>

		<guid isPermaLink="false">http://www.kowito.com/2009/10/17/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-postgres-%e0%b8%a5%e0%b8%87%e0%b8%9a%e0%b8%99-ubuntu-9-04-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2/</guid>
		<description><![CDATA[ผมมีปัญหากับการติดตั้ง postgres มาตลอด เมื่อเปรียบเทียบกับ mysql แล้วพบว่ายุ่งยากมาก ลองใช้วิธีต่อไปนี้ทำให้ติดตั้ง postgres ภายในสามนาที!! sudo apt-get install postgresql pgadmin3 python-psycopg2 หลังจากรอขั้นตอนการติดตั้งจนเสร็จเรียบร้อยแล้วให้ตั้งรหัสผ่านให้กับ user postgres เพื่อไปติดตั้งส่วนอื่นๆต่อไปดังนี้ sudo -u postgres psql postgres=# password postgres postgres=# q ได้รหัสผ่านของ user postgres แล้ว!! อย่าลืมแก้ไฟล์ sudo nano /etc/postgresql/8.3/main/pg_hba.conf ตรงบรรทัด # "local" is for Unix domain socket connections only local all all ident sameuser # IPv4 local connections: [...]]]></description>
			<content:encoded><![CDATA[<div class="AWD_like_button "><fb:like href="http://www.kowito.com/2009/10/17/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-postgres-%e0%b8%a5%e0%b8%87%e0%b8%9a%e0%b8%99-ubuntu-9-04-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2/" send="true" width="" colorscheme="light" layout=standard show_faces="true" font="tahoma" action="like"></fb:like></div><p>ผมมีปัญหากับการติดตั้ง postgres มาตลอด เมื่อเปรียบเทียบกับ mysql แล้วพบว่ายุ่งยากมาก ลองใช้วิธีต่อไปนี้ทำให้ติดตั้ง postgres ภายในสามนาที!!</p>
<pre class="shell">sudo apt-get install postgresql pgadmin3 python-psycopg2</pre>
<p>หลังจากรอขั้นตอนการติดตั้งจนเสร็จเรียบร้อยแล้วให้ตั้งรหัสผ่านให้กับ user postgres เพื่อไปติดตั้งส่วนอื่นๆต่อไปดังนี้</p>
<pre class="shell">
sudo -u postgres psql

postgres=# password postgres
postgres=# q
</pre>
<p>ได้รหัสผ่านของ user postgres แล้ว!!<br />
อย่าลืมแก้ไฟล์ sudo nano /etc/postgresql/8.3/main/pg_hba.conf ตรงบรรทัด</p>
<pre>
# "local" is for Unix domain socket connections only
local   all         all                               ident sameuser
# IPv4 local connections:
host    all         all         127.0.0.1/32          md5
# IPv6 local connections:
host    all         all         ::1/128               md5
</pre>
<p>เป็น</p>
<pre>
# "local" is for Unix domain socket connections only
local   all         all                               md5
# IPv4 local connections:
host    all         all         127.0.0.1/32          md5
# IPv6 local connections:
host    all         all         ::1/128               md5
</pre>
<p>เมื่อได้รหัสผ่านก็สามารถ login ผ่าน pgadmin ได้แล้ว เร็วใหม?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kowito.com/2009/10/17/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-postgres-%e0%b8%a5%e0%b8%87%e0%b8%9a%e0%b8%99-ubuntu-9-04-%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%87%e0%b9%88%e0%b8%b2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

