“Menginstal PostgreSQL Ubuntu” Kode Jawaban

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 “Menginstal PostgreSQL Ubuntu”

Pertanyaan yang mirip dengan “Menginstal PostgreSQL Ubuntu”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya