Cómo instalar la base de datos PostgreSQL versión 12 en Ubuntu 22.04



Cómo instalar la base de datos PostgreSQL versión 12 en Ubuntu 22.04

Cómo instalar la base de datos PostgreSQL versión 12 en Ubuntu 22.04

Cómo instalar la base de datos PostgreSQL versión 12 en Ubuntu 22.04, de una forma fácil, rápido y sencillo.

#DigitalEducas #postgresql #postgresql12 #select #orderby #and #registros #creaciontablas #linux #basededatos #pgadmin #developers #gis #debian #opensource #ubuntu #debian

ACTUALIZACIONES DEL SISTEMA
sudo apt update
sudo apt -y install vim bash-completion wget
sudo apt install curl
sudo apt -y upgrade

AGREGAMOS EL REPOSITORIO DE POSTGRESQL 12

curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|sudo gpg –dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg

AGREGAMOS AL REPOSITORIO DE UBUNTU

echo “deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main” |sudo tee /etc/apt/sources.list.d/pgdg.list

INSTALAMOS POSTGRESQL EN UBUNTU

sudo apt update
sudo apt -y install postgresql-12 postgresql-client-12

ACTIVAMOS EL SERVICIO DE POSTGRESQL

systemctl start postgresql.service
systemctl status postgresql.service

INGRESAMOS A POSTGRESQL
sudo su – postgres
psql

Redes sociales
Telegram:
https://t.me/DigitalEducas
Facebook:
https://www.facebook.com/digitaleducas
Instagram:
https://www.instagram.com/digitaleducas/

Comunidad:
https://www.facebook.com/groups/digitaleducas

Contacto:
[email protected]

Comments are closed.