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 :: restart postgresql.service Failed to restart postgresql.service: Unit not found. 
Sql :: get current date in pyspark sql 
Sql :: sql first day of current year 
Sql :: mysql update part of string 
Sql :: find string in stored procedure sql server 
Sql :: mysql connectorj maven de 
Sql :: oracle select first 10 rows 
Sql :: Mysql query add column with default string value 
Sql :: oracle search source code 
Sql :: Find all tables containing column with specified name - MS SQL Server 
Sql :: get year from date postgres 
Sql :: mysql group by day 
Sql :: sql skip the first row 
Sql :: sql last 7 days 
Sql :: mariadb alter user host 
Sql :: insert column with default value in sql 
Sql :: mysql concat two columns laravel eloquent 
Sql :: tsql create unique index composite 
Sql :: oracle wait 
Sql :: python mysql select 
Sql :: mysql remove last empty newline 
Sql :: oracle delete last row 
Sql :: oracle user tables 
Sql :: import local sql into remote mysql 
Sql :: liquibase update row 
Sql :: drop temp table sql 
Sql :: age postgres 
Sql :: sql delete stored procedure 
Sql :: how to insert string variable into sqlite database 
Sql :: install mysql 8 ubuntu 18.04 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =