![]() ![]() To stop PostgreSQL service, run: sudo systemctl stop postgresql To start PostgreSQL service, run: sudo systemctl start postgresql Sudo apt install -y postgresql-10 Control PostgreSQL service Install PostgreSQL using apt-get command. Once you have added the PostgreSQL repository run the following command to update the repository index. # Debian 9 #Įcho "deb stretch-pgdg main" | sudo tee /etc/apt//postgresql.listĮcho "deb jessie-pgdg main" | sudo tee /etc/apt//postgresql.list wget -q -O- | sudo apt-key add -Īdd the PostgreSQL repository information to /etc/apt//postgresql.list file. PostgreSQL publishes deb packages for Debian based platforms, and their packages are fresher than those available in OS base repository. In this post, we will go through the installation of PostgreSQL 11 / 10 on Debian 9 / Debian 8. PostgreSQL is released under the PostgreSQL License, a free and open source permissive software license, developed by the PGDG (PostgreSQL Global Development Group), a group of individual volunteers and corporate companies. PostgreSQL (simply known as Postgres) is an object-relational database management system (ORDBMS), available for many platforms including Linux, Microsoft Windows, FreeBSD, HP-UX, AIX, Solaris, and Mac OS.
0 Comments
Leave a Reply. |