Easy PostgreSQL
Installation & Setup
Muhammad Haroon
PUG meetup May 2016, Islamabad
$psql~#: d myself
• Got first opportunity to play with PostgreSQL in 2006 @ EnterpriseDB
• Headed Engineering & IT efforts @ IBEX Group
• Worked in Senior Consultant position @ OpenSCG
• Served as Principal Architect/Product Owner @ TRG
• Working in PostgreSQL space @ 2ndQuadrant
Email: haroon@2ndQuadrant.com
Skype: contact.haroon
Agenda
• PostgreSQL package resources
• Installation & setup on popular platforms
• Linux
• OSX
• Windows
• Demo
• Footprint
• Important configs
• Questions
PostgreSQL package resources
• Native packages offered by respective platform
• Native packages released by PostgreSQL community under the banner of
PostgreSQL Global Development Group
• Third party packages/bundles
Native package offered by respective platform
• BSD
• FreeBSD
• OpenBSD
• Linux
• RHEL family (including CentOS/Fedora/Scientific/Oracle variants)
• Debian & Derivatives
• Ubuntu & Derivatives
• SuSe/OpenSuSe
Native package offered by respective platform
continued …
• OSX
• Default since OSX server 10.7
• Maintained by Apple
• 10.7 ships with 9.0 (lags behind by quite a margin)
• Minor updates are provided by Apple but not necessarily right after new PG minor release
• Windows/Microsoft
• does not offer any native PostgreSQL packages
Packages released by PGDG
Packages released by PostgreSQL Global Development Group (PGDG)
• Native Packages for Linux platforms
• CentOS
• Fedora
• Scientific Linux
• Oracle Enterprise Linux
• Amazon Linux AMI
• Debian
• Ubuntu
Third party cross platform* packages and bundles
(With some bells and whistles)
• 2ndQuadrant
• EnterpriseDB
• OpenSCG
* cross paltform packages may or may not integrate with native packaging system
Which one’s for me ?
• Build from source … ?
• Native packages … ?
• Native PGDG packages …?
• Third party cross platform packages …?
* image courtesy unisci24.com
The easy way … ?
www.PostgreSQL.org/download
• Third party distributions
• PostgreSQL Live CD (fedora based)
• 2UDA (pronounced tudor)
• BigSQL
• TurnKey PostgreSQL (Ubuntu based live CD & appliance)
• BitNami stacks (OS + Apache + PHP + PostgreSQL)
2UDA available for download from ...
PostgreSQL.org/download
2ndquadrant.com/en/resources/2uda/
• 2UDA (pronounced tudor)
• Linux, OSX and Windows
• Graphical and headless environment support
• Integrates with native service control management system
• Available in English, French, German, Italian, Slovenian & Spanish languages
• Installation on OSX
• Installation on Windows
• Installation on Linux (headless)
Demo
Installation on OSX
footprint & configs
Installation on Windows
Installation on Linux (headless)
Questions ?
 Need customized PostgreSQL suited
to your needs?
 Looking for PostgreSQL training ?
 Need help migrating to PostgreSQL
?
 Need PostgreSQL production
support ?
 Got specific PostgreSQL needs ?
 Looking for cloud and/or hybrid high
availability clusters ?
Let us help you!
Email: haroon@2ndQuadrant.com
Skype: contact.haroon

Easy Installation and Setup of PostgreSQL on Linux, OSX, & Windows

  • 1.
    Easy PostgreSQL Installation &Setup Muhammad Haroon PUG meetup May 2016, Islamabad
  • 2.
    $psql~#: d myself •Got first opportunity to play with PostgreSQL in 2006 @ EnterpriseDB • Headed Engineering & IT efforts @ IBEX Group • Worked in Senior Consultant position @ OpenSCG • Served as Principal Architect/Product Owner @ TRG • Working in PostgreSQL space @ 2ndQuadrant Email: haroon@2ndQuadrant.com Skype: contact.haroon
  • 3.
    Agenda • PostgreSQL packageresources • Installation & setup on popular platforms • Linux • OSX • Windows • Demo • Footprint • Important configs • Questions
  • 4.
    PostgreSQL package resources •Native packages offered by respective platform • Native packages released by PostgreSQL community under the banner of PostgreSQL Global Development Group • Third party packages/bundles
  • 5.
    Native package offeredby respective platform • BSD • FreeBSD • OpenBSD • Linux • RHEL family (including CentOS/Fedora/Scientific/Oracle variants) • Debian & Derivatives • Ubuntu & Derivatives • SuSe/OpenSuSe
  • 6.
    Native package offeredby respective platform continued … • OSX • Default since OSX server 10.7 • Maintained by Apple • 10.7 ships with 9.0 (lags behind by quite a margin) • Minor updates are provided by Apple but not necessarily right after new PG minor release • Windows/Microsoft • does not offer any native PostgreSQL packages
  • 7.
    Packages released byPGDG Packages released by PostgreSQL Global Development Group (PGDG) • Native Packages for Linux platforms • CentOS • Fedora • Scientific Linux • Oracle Enterprise Linux • Amazon Linux AMI • Debian • Ubuntu
  • 8.
    Third party crossplatform* packages and bundles (With some bells and whistles) • 2ndQuadrant • EnterpriseDB • OpenSCG * cross paltform packages may or may not integrate with native packaging system
  • 9.
    Which one’s forme ? • Build from source … ? • Native packages … ? • Native PGDG packages …? • Third party cross platform packages …? * image courtesy unisci24.com
  • 10.
    The easy way… ? www.PostgreSQL.org/download • Third party distributions • PostgreSQL Live CD (fedora based) • 2UDA (pronounced tudor) • BigSQL • TurnKey PostgreSQL (Ubuntu based live CD & appliance) • BitNami stacks (OS + Apache + PHP + PostgreSQL)
  • 11.
    2UDA available fordownload from ... PostgreSQL.org/download 2ndquadrant.com/en/resources/2uda/ • 2UDA (pronounced tudor) • Linux, OSX and Windows • Graphical and headless environment support • Integrates with native service control management system • Available in English, French, German, Italian, Slovenian & Spanish languages
  • 12.
    • Installation onOSX • Installation on Windows • Installation on Linux (headless) Demo
  • 13.
  • 14.
  • 15.
  • 16.
    Questions ?  Needcustomized PostgreSQL suited to your needs?  Looking for PostgreSQL training ?  Need help migrating to PostgreSQL ?  Need PostgreSQL production support ?  Got specific PostgreSQL needs ?  Looking for cloud and/or hybrid high availability clusters ? Let us help you! Email: haroon@2ndQuadrant.com Skype: contact.haroon

Editor's Notes

  • #3 Adjust 2ndQuadrant position
  • #11 Remove page and mention personalized bullet about 2UDA
  • #12 Remove the page and add bullets with emphasis on supported languages and platforms