Created
December 6, 2019 13:44
-
-
Save facilita-tecnologia/2fd24543495fa3b9ce2e137213fddb59 to your computer and use it in GitHub Desktop.
Instalar PostGIS 2.4 Ubunto 18 Postgre 9.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install postgis-2.4 | |
sudo -u postgres psql | |
CREATE EXTENSION adminpack; | |
CREATE DATABASE dbms_refood; | |
\connect dbms_refood; | |
CREATE SCHEMA postgis; | |
ALTER DATABASE dbms_refood SET search_path=public, postgis, contrib; | |
\connect dbms_refood; -- this is to force new search path to take effect | |
CREATE EXTENSION postgis SCHEMA postgis; | |
SELECT postgis_full_version(); | |
service postgresql restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment