Ubuntu18.04 installation PGSQL

Relational database management system is a key component of many Web sites and applications. They provide a structured way to store, organize and access information. 

PostgreSQL or Postgres is a relational database management system, provides an implementation of SQL query language. It is a popular choice for many small and large projects, and has the advantage of standards-compliant and has many advanced features (such as reliable transactions and concurrent read lock) of. 

This guide demonstrates how Ubuntu 18.04 installed on VPS instance of Postgres, and provides instructions for basic database management. 

Prerequisite 
in order to follow this tutorial, you will need an Ubuntu 18.04 server that has by following our initial server setup Ubuntu 18 configure .04 Guide. After you complete this prerequisite tutorial, your server should have a non-root user with sudo privileges and basic firewall. 

Install PostgreSQL 
Ubuntu default repository contains Postgres package, so you can use apt packaging system install these packages. 

Since this is the first time you use apt in this session, please refresh the local package index. Then, install the package and Postgres - contrib add some additional utilities and functions of the software packages: 

sudo APT Update 
sudo APT install PostgreSQL PostgreSQL - contrib 
now installed the software, we can understand how it works and how it may be possible to use with your the difference is similar to database management systems.

 

Guess you like

Origin www.cnblogs.com/mieba88/p/11545300.html