Instalar Postgresql y pgAdmin 4 en Ubuntu

Instalar Postgresql y pgAdmin 4 en Ubuntu

Postgresql

Explicación paso a paso de cómo instalar Postgresql y pgAdmin 4 en Ubuntu mediante la línea de comandos.

Instalar postgresql

sudo apt-get update<br>
sudo apt install postgresql postgresql-contrib

Instalar pgAdmin

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" |sudo tee /etc/apt/sources.list.d/pgdg.list
sudo apt update
sudo apt install pgadmin4 pgadmin4-apache2

Comprobar

systemctl status apache2

Leave a reply