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:

Interface Segregation Principle

SOLID series: Understanding the Interface Segregation Principle (ISP)

Discover how the Interface Segregation Principle (ISP) keeps your code lean, modular, and maintainable using real-world analogies and practical examples.

Oyinkansola Awosan
Jun 30, 2025 â‹… 7 min read
​​How HTML’s Selectedcontent Element Improves Dropdowns

​​How HTML’s <selectedcontent> element improves dropdowns

is an experimental HTML element that gives developers control over how a selected option is displayed, using just HTML and CSS.

Temitope Oyedele
Jun 27, 2025 â‹… 6 min read
advanced caching in Node.js with Valkey

How to get faster data access in Node.js with Valkey

Learn how to implement an advanced caching layer in a Node.js app using Valkey, a high-performance, Redis-compatible in-memory datastore.

Muhammed Ali
Jun 27, 2025 â‹… 7 min read
how to properly handle rejected promises in TypeScript

How to properly handle rejected promises in TypeScript

Learn how to properly handle rejected promises in TypeScript using Angular, with tips for retry logic, typed results, and avoiding unhandled exceptions.

Lewis Cianci
Jun 26, 2025 â‹… 4 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