„Insatll PostgreSQL 13 & PostGIS 3“ ändern
parent
a5dcaa762e
commit
81f917137c
|
@ -1,3 +1,4 @@
|
|||
# Install PostgreSQL 13 on Ubuntu 20.04/18.04
|
||||
see also: \
|
||||
https://computingforgeeks.com/install-postgresql-12-on-ubuntu/
|
||||
|
||||
|
@ -48,8 +49,42 @@ performing post-bootstrap initialization ... ok \
|
|||
syncing data to disk ... ok \
|
||||
|
||||
Success. You can now start the database server using: \
|
||||
pg_ctlcluster 13 main start \
|
||||
|
||||
pg_ctlcluster 13 main start \
|
||||
Ver Cluster Port Status Owner Data directory Log file \
|
||||
13 main 5432 down postgres /var/lib/postgresql/13/main /var/log/postgresql/postgresql-13-main.log \
|
||||
|
||||
While in terminal, log in to the psql console as postgres user:
|
||||
|
||||
```
|
||||
sudo -u postgres psql
|
||||
\q
|
||||
```
|
||||
|
||||
# Install PostGIS on Ubuntu 20.04/18.04
|
||||
|
||||
see also: https://www.igismap.com/install-postgis-postgresql-ubuntu/ \
|
||||
PostGIS installieren: \
|
||||
`sudo apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts`
|
||||
|
||||
to get the commandline tools shp2pgsql, raster2pgsql you need to do this: \
|
||||
`sudo apt install postgis`
|
||||
> response:
|
||||
> The following additional packages will be installed:\
|
||||
> postgis-doc\
|
||||
> The following NEW packages will be installed:\
|
||||
> postgis postgis-doc\
|
||||
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
|
||||
|
||||
|
||||
# Install pgadmin4 desktop
|
||||
`sudo apt install pgadmin4-desktop` \
|
||||
```
|
||||
The following additional packages will be installed:
|
||||
libfile-basedir-perl libfile-desktopentry-perl libfile-mimeinfo-perl
|
||||
libio-stringy-perl libipc-system-simple-perl libnet-dbus-perl
|
||||
libtie-ixhash-perl libx11-protocol-perl libxml-parser-perl libxml-twig-perl
|
||||
libxml-xpathengine-perl pgadmin4-server xdg-utils
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user