Installation¶
Installation can be done using the postgis-builder.sh script or via GIT.
Using the Installer¶
On a fresh CentOS 8, Ubuntu 18, or Ubuntu 20 installation, the fastest method is to use the postgis-builder.sh script:
1 2 3 | wget https://raw.githubusercontent.com/AcuGIS/PostGIS-Builder/master/scripts/postgis-builder.sh
chmod +x postgis-builder.sh
./postgis-builder.sh
|
The above will install all of the components.
If you do not wish to install Webmin and the PostGIS Webmin Module, comment out the lines below as shown.
1 2 3 | # install_webmin
# install_postgis_module
# install_certbot_module
|
When the script completes, you will see the message below containg the urls and password.
The passwords are also stored in the file /root/auth.txt following set up
1 2 3 4 5 | Installation is now completed.
Access pg-tileserv at 12.34.56.78:7800
Access pg-featureserv at 12.34.56.78:9000
Access pg-routing at 12.34.56.78/openlayers-pgrouting.html
postgres and crunchy pg passwords are saved in /root/auth.txt file
|
Via Git or Download¶
You can use Git to build module for an existing Webmin installation:
1 2 3 | git clone https://github.com/AcuGIS/PostGIS-Builder
mv PostGIS-Builder-master postgis
tar -cvzf postgis.wbm.gz postgis/
|
Note
Following above, you will need to log in to Webmin to complete installation using the install Wizard.