diff --git a/Install_PostgreSQL_14_and_PostGIS_3.md b/Install_PostgreSQL_14_and_PostGIS_3.md index ee85d63..7af013a 100644 --- a/Install_PostgreSQL_14_and_PostGIS_3.md +++ b/Install_PostgreSQL_14_and_PostGIS_3.md @@ -10,6 +10,14 @@ sudo apt update sudo apt install postgresql postgresql-contrib sudo apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts ``` +After installing PostgreSQL, the commands below can be used to stop, start, enable and check its status: + +```bash +sudo systemctl stop postgresql.service +sudo systemctl start postgresql.service +sudo systemctl enable postgresql.service +sudo systemctl status postgresql.service +``` Viewing the server version\ `/usr/lib/postgresql/12/bin/postgres -V` \