Install PostgreSQL and create a geographical database

Source: Internet
Author: User
Double-click the installation program to install PostgreSQL and create a geographic database. 2. for PostgreSQL installation location, you can select your PostgreSQL installation path. The default installation path is C: ProgramFilesPostgreSQL9.23. in this step, you can select the path where your PostgreSQL data is stored. Default storage path

Double-click the installation program to install PostgreSQL and create a geographic database. 2. for PostgreSQL installation location, you can select your PostgreSQL installation path. The default installation path is C: \ Program Files \ PostgreSQL \ 9.2 3. On the database directory settings page, select the path where your PostgreSQL data is stored. Default storage path

Install PostgreSQL and create a geographical database

Double-click the installer to install it.



2. PostgreSQL installation location

You can select your PostgreSQL installation path. The default installation path is C: \ Program Files \ PostgreSQL \ 9.2.



3. Database directory settings page
In this step, you can select the path where your PostgreSQL data is stored. The default storage path is C: \ Program Files \ PostgreSQL \ 9.2 \ data.



4. Click Next to enter the password filling page.

5. Click Next. The installation wizard requires you to enter the port number of the Service listener.
Like UNIX, the default port is 5432. You can also set any port you want to use.

7. Set the region of the new database

Select an appropriate region and click Next. The Wizard icon will start to install the database. Click Next. If no error occurs, the installation process is complete.

8. Install PostgreSQL programs and tools to the Start Menu

Ii. Create a geographical database
1: Install ArcSDE 9.3.1for PostgreSQL (Omitted ):
2: copy the st_geometry.dll, pg. dll, and sg. dll Files in the % SDEHOME %/bin directory to the Program Files \ PostgreSQL \ 9.2 \ lib folder.
3: Create a folder for storing the tablespace in the database
Select a suitable directory to create an empty folder for storing the space database deployed by ArcSDE. The directory selected in this article is: D: \ ArcSDEPostgre \ data. (Remember permission settings)
4: configure the PostgreSQL library with post
After the configuration is complete
Use arccatalog to connect to the created database


So far, the database configuration is complete.

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.