@emerald.wunsch
To install PostgreSQL on Ubuntu, follow these steps:
Note: The version number (e.g., 11 in the example above) and the configuration name (e.g., main) can be customized as needed.
@emerald.wunsch
To install PostgreSQL on Ubuntu, follow these steps:
1
|
sudo apt update
|
1
|
sudo apt install postgresql postgresql-contrib |
1 2 |
sudo service postgresql start sudo systemctl enable postgresql |
1
|
sudo -u postgres psql |
You should see the psql
prompt, which indicates that PostgreSQL is running and you are connected to the default server.
That's it! You have successfully installed and configured PostgreSQL on Ubuntu.