Install PostGIS records on Ubuntu server

Source: Internet
Author: User
Tags postgresql postgis

Because the project needs to install Postgresql 9.3 on Ubuntu Server 14.04 , PostGIS 2.1

1. Installation Instructions postgresql 9.3, PostGIS 2.1 procedure See HTTP://TRAC.OSGEO.ORG/POSTGIS/WIKI/USERSWIKIPOSTGIS21UBUNTUPGSQL93APT

Install pgadmin 1.18.1 is a graphical management tool that can be installed on desktop Linux.

Ubuntu server itself does not hold the apt-add-repository command and needs to run sudo apt-get install python-software-properties and sudo apt-get Install Software-properties-common installs the relevant package, in the desktop version can be used directly.

2. Need to change configuration after installation allow remote connection of management tools

Modify the configuration file for PostgreSQL/etc/postgresql/8.1/main/postgresql.conf, one of the sentences:
listen_address= ' localhost '
The previous comment is removed and the ' localhost ' should be ' * '.
Modify the configuration file for PostgreSQL/etc/postgresql/8.1/main/pg_hba.conf, add a sentence after the file:
Host all 192.168.0.0/24 password
The 192.168.0.* machine in the same network can use all the databases in the form of a password. More
The parameter meaning of the body can be viewed directly from the comments in the configuration file.
This must be configured correctly, otherwise the PostgreSQL database cannot be connected remotely.

After the above installation process, the Pgadmin can be installed on other machines , and the data should be managed remotely .

Install PostGIS records on Ubuntu server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.