meta data for this page

This is an old revision of the document!


Postgresql 12 and PostGIS 3.x on UberSpace U7

This is a short description to get PostgreSQL v12 spatially enabled on [https://uberspace.de|Uberspace's]] U7. This is partly based on the guide Alexander Bilz has on his website but with some tweaks.

When following the Uberspace lab/manual for installing PostgreSQL, your installation is going to live in $HOME/opt/postgresql, I will therefore use the $HOME/opt directory for installing the additional dependencies for PostGIS.

  1. Enable Postgresql version 12 in your U7 - follow the manual and Uber Lab guide to get that going.
  2. Install a recent version of CMAKE
    1. sh cmake-3.21.0-linux-x86_64.sh && mv cmake-3.21.0-linux-x86_64 ~/bin/
  3. Install GEOS
    1. ~/bin/cmake-3.21.0-linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=Release –install-prefix=/home/glorida/opt/geos ..
    2. make && make install
  4. Install PROJ
  5. Install GDAL
  6. Install PostGIS