Setting Up PostgresSQL on Ubuntu
PostgresSQL
This blog is a note for myself about setting up PostgreSQL on Ubuntu devices, as a preparation for UC Davis ECS 165A. Although this blog is about PostgreSQL, other SQL languages (MySQL, …) should be very similar to begin. The steps should also be the same for all Debian-based Linux Distros.
Get PostgreSQL
The following scripts are from Postgresql official website.
1 |
|
Get an IDE
Or just just the command line …
Since I am new to SQL, I think an IDE may help me to learn faster. For now, my choice is DataGrip from JetBrains. Since I’m using my education account, it is free.
We can install JetBrains’ application directly from Snapcraft.
1 |
|
But for some unknown reason, snap apps are very slow to start and run, so I prefer to download and install from JetBrains DataGrip website.
All blog follow CC BY-SA 4.0 licenses, please cite the creator when reprinting.