Update 'Install_PostgreSQL_14_and_PostGIS_3'
parent
a2cc7ad71b
commit
f073040cc1
|
@ -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` \
|
||||
|
|
Loading…
Reference in New Issue
Block a user