go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  How to Install PostgreSQL on Ubuntu 16.04 LTS
 
Subject: How to Install PostgreSQL on Ubuntu 16.04 LTS
Author: Linux
Posted on: 09/04/2017 11:17:48 PM

Step 1) Install Postgres key
-- adminstrator@ubuntu:~$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

Step 2) Add APT repository
-- adminstrator@ubuntu:~$ sudo sh -c 'echo deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main > /etc/apt/sources.list.d/postgresql.list'

Step 3) Install Postgres
-- adminstrator@ubuntu:~$ sudo apt-get update
-- adminstrator@ubuntu:~$ sudo apt-get install postgresql postgresql-contrib


Replies:


References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.