Handout - PostgreSQL History, Architecture, Installation and Setup
By the end you can
Section titled “By the end you can”- 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.
Before you start
Section titled “Before you start”- 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,lsandcat, and edit a file withvi. - 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
psqlinstalled. In class, the instructor prepares it for you.
How this handout is organized
Section titled “How this handout is organized”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.
- Where PostgreSQL came from
- How PostgreSQL works inside: processes, memory, storage
- Before you install
- Install on Linux
- See it on your server: meet psql, then find the processes, memory and files from section 2
- Where everything lives
- First connection and setup, then allow remote connections
- Verify and troubleshoot
- 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.