2020-04-10
953
#postgresql
Michael Okoh
16741
Apr 10, 2020 â‹… 3 min read

Setting up a remote Postgres database server on Ubuntu 18.04

Michael Okoh I code, that's all.

Recent posts:

i tried kiro and here is what i learned

I tried out Kiro: Here’s what I learned

Check out Kiro, AWS’s AI-powered IDE, see what makes it different from other AI coding tools, and explore whether it lives up to the hype.

Elijah Asaolu
Aug 28, 2025 â‹… 5 min read
Go Design Pattern Article Image With Logo

Why Go design patterns still matter

Here’s how three design patterns solved our Go microservices scaling problems without sacrificing simplicity.

Peter Aideloje
Aug 28, 2025 â‹… 2 min read
how to protect your ai agent from prompt injection attacks

How to protect your AI agent from prompt injection attacks

Explore six principled design patterns (with real-world examples) to help you protect your LLM agents from prompt injection attacks.

Rosario De Chiara
Aug 27, 2025 â‹… 5 min read
Don’t Let AI Erase The Next Generation Of Dev Leaders

Don’t let AI erase the next generation of dev leaders

As AI tools take over more routine coding work, some companies are cutting early-career dev roles — a short-sighted move that could quietly erode the next generation of tech leaders if we aren’t careful.

Jack Herrington
Aug 26, 2025 â‹… 6 min read
View all posts

5 Replies to "Setting up a remote Postgres database server on Ubuntu 18.04"

  1. su – postgres ask for password but i have not filled any password during the installation process.
    can you please assist on this issue.
    thnak you

  2. Hi Hariom, I opened another terminal instance with my user and I wrote there “sudo passwd postgresql” command. As it is my user, I could change postgres user password.
    After that I went back to su – posgres terminal and went on from that point.

  3. Nice tutorial! i was struggling in the part to open the port where it kept asking for a postgres password, i just needed to ‘exit’ from there i could run the command

Leave a Reply