PostgreSQL

 

Overview

The following instructions show you how to install PostgreSQL on a Dedicated Server.

Background

PostgreSQL is a SQL database product comparable to MySQL. It is most commonly used as the platform for PostGIS, a set of GIS extensions for handling geospatial data. DreamHost does not support PostgreSQL, and it can only be installed on a Dedicated Server. 

Make sure you are aware of the following before proceeding:

  • This article contains information/examples using root/sudo/admin users. If you require sudo/admin access, you must upgrade to a Dedicated Server.
  • DreamHost support is unable to provide any assistance with this configuration.

Installing PostgreSQL on a Dedicated Server

To install PostgreSQL:

  1. Use SSH to log in to your Dedicated Server using your admin user.
  2. Run the following commands:
    [server]$ sudo apt-get update
    [server]$ sudo apt-get install postgresql postgresql-contrib
    
  3. To make sure PostgreSQL is working after it's installed, run the following command:
    [server]$ psql --version
    psql (PostgreSQL) 9.1.14
    contains support for command-line editing
    

See also

DreamHost links

Third-party links

 

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?