Skip to content
Download all

Handout - PostgreSQL History, Architecture, Installation and Setup

  • Tell the story of PostgreSQL in one minute: Berkeley, Postgres95, PostgreSQL.
  • Name the processes, memory areas and files that make a running PostgreSQL server.
  • Read a PostgreSQL version number and say how long that version is supported.
  • Install PostgreSQL 18 from the official PostgreSQL repository on CentOS Stream 9.
  • Find the data directory, the three config files, the logs and the programs.
  • Connect with psql, create a role and a database, and allow a connection from another machine.
  • Fix the six errors beginners hit most often.
  • You have your own server, suta-linux-lab-1, running CentOS Stream 9, and you can log in as student.
  • You can move around with cd, ls and cat, and edit a file with vi.
  • You know what a client and a server are (Linux Foundations, Class 9).
  • For section 7.2 you need a second machine that can reach your server and has psql installed. In class, the instructor prepares it for you.

Each part is its own page. Read them in order with the Next button at the bottom of each page, or jump to a part from the sidebar.

  1. Where PostgreSQL came from
  2. How PostgreSQL works inside: processes, memory, storage
  3. Before you install
  4. Install on Linux
  5. See it on your server: meet psql, then find the processes, memory and files from section 2
  6. Where everything lives
  7. First connection and setup, then allow remote connections
  8. Verify and troubleshoot
  9. Wrap-up: remember these 5 things, key terms, check yourself, go deeper

Was this page helpful?

Thanks. Glad it helped.

Thanks for telling us. Email the instructor what was missing, or ask in class.