“Instal Postgres Ubuntu” Kode Jawaban

Restart Postgres Ubuntu

sudo service postgresql restart
Upset Unicorn

cara menginstal psql di ubuntu

sudo apt-get install postgresql
Clean Cockroach

Menginstal PostgreSQL Ubuntu

sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install postgresql
Darkvent

Instal 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
nidal bakir

Jawaban yang mirip dengan “Instal Postgres Ubuntu”

Pertanyaan yang mirip dengan “Instal Postgres Ubuntu”

Lebih banyak jawaban terkait untuk “Instal Postgres Ubuntu” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya