How To Install PostgreSQL Server In Ubuntu Linux

How To Install PostgreSQL Server In Ubuntu Linux

DevTech Solutions

4 года назад

1,392 Просмотров

How To Install PostgreSQL Server In Ubuntu Linux
To Install PostgreSQL Server in Ubuntu Linux, open terminal and type :

sudo apt update
sudo apt upgrade -y
sudo apt install postgresql
This will install postgresql server in your ubuntu system.
Now to login into your system, open terminal and type :

sudo -i -u postgres
after launching the postgres, type :

psql
Now you can easily create delete update or add new records into postgresql server database.
Here are also some addition commands to check :

\d - to check relations
\l - to list the databases in your postgresql server
\du - to list the roles

Тэги:

#How_To_Install_PostgreSQL_Server_In_Ubuntu_Linux #how_to #install #install_postgre #postgres #postgresql #install_postgresql #how_to_install_postgresql #psql #postgresql_ubuntu #how_to_install_postgresql_in_ubuntu #postgresql_linux #install_postgresql_ubuntu
Ссылки и html тэги не поддерживаются


Комментарии: