Install PostgreSQL 9.6 on Centos 7

  • Posted on: 29 September 2016
  • By: oon
PostgreSQL

Postgresql Global Development Group (PGDG) sudah menyediakan repo untuk memudahkan pengguna Linux dalam instalasi PosgreSQL.

Untuk Redhat dan distribusi linux yang berbasis Redhat, misalnya Centos, tersedia di [1]

yum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/p...

yum install postgresql96-server

/usr/pgsql-9.6/bin/postgresql96-setup initdb
systemctl enable postgresql-9.6
systemctl start postgresql-9.6

mudah sekali kan :)

[1]https://www.postgresql.org/download/linux/redhat/

 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.