Search
 
SCRIPT & CODE EXAMPLE
 

SQL

install postgres ubuntu

# from the official postgresql site: https://www.postgresql.org/download/linux/ubuntu/
# this will install the latest version of the postgresql.

# Create the file repository configuration:
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'

# Import the repository signing key:
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

# Update the package lists:
sudo apt-get update

# Install the latest version of PostgreSQL.
# If you want a specific version, use 'postgresql-12' or similar instead of 'postgresql':
sudo apt-get -y install postgresql
Comment

PREVIOUS NEXT
Code Example
Sql :: ostgreSQL version 
Sql :: script to add datafile to tablespace 
Sql :: alter tablespace add datafile 
Sql :: install mysql 8 linux 
Sql :: getting next sequence value jpa postgress 
Sql :: sql server select where date 
Sql :: mysql select last 10 rows 
Sql :: org.h2.jdbc.jdbcsqlsyntaxerrorexception table not found 
Sql :: add user mysql 
Sql :: mysql create timestamp column 
Sql :: insert if not exists postgresql 
Sql :: oracle sessions_per_user 
Sql :: migrate sql table another database 
Sql :: mysql jdbc timezone 
Sql :: postgresql allow remote connection 
Sql :: job for postgresql.service failed because the control process exited with error code. see "systemctl status postgresql.service" and "journalctl -xe" for details. 
Sql :: Copy Table from SQL to CSV 
Sql :: postgresql get last 10 records 
Sql :: sql server obtener fecha en formato dd/mm/yyyy 
Sql :: Suse Linux restart MySQL 
Sql :: create new table from existing table with data in sql server 
Sql :: SQL rounding numbers 
Sql :: find duplicates mysql 
Sql :: locate sql server 
Sql :: truncate table postgres 
Sql :: postgres datetime now 
Sql :: sqlite woth cmake 
Sql :: mysql database is not starting in xampp 
Sql :: inner join sql oracle 
Sql :: mysql on update current_timestamp 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =