81. PostgreSQL DBA: How to install PostgreSQL 15 on Fedora 37

preview_player
Показать описание
#postgresql #postgresql15 #postgresqlinstallonLinux #postgres #fedora37 #fedora
In this article, we will see How to install PostgreSQL 15 on Fedora 37 step by step.

Go through below article for the same:

Commands executed in this video are:
sudo dnf install -y postgresql15-server
sudo /usr/pgsql-15/bin/postgresql-15-setup initdb
sudo systemctl enable postgresql-15
sudo systemctl start postgresql-15
sudo systemctl status postgresql-15
\l
\du
select datname from pg_database;

How to install PostgreSQL 15 on Fedora 37,
How to install PostgreSQL 15 on Fedora,
How to install PostgreSQL on Fedora,
Install PostgreSQL 15 on Fedora 37,
Install PostgreSQL 15 on Fedora,
Install PostgreSQL on Fedora,
PostgreSQL 15 installation on Fedora,
PostgreSQL installation on Fedora
PostgreSQL install on Fedora,
PostgreSQL Latest version on Fedora,
PostgreSQL Fedora,
PostgreSQL on Fedora,
PostgreSQL DBA videos,
PostgreSQL DBA Tutorials,
Рекомендации по теме
Комментарии
Автор

<CTL +L> jump the postgres prompt to the top of the screen. Thanks. You should do more videos on Postgres

marcuswest
Автор

Hey can you also tell how to install postgis extension? I installed postgis via dnf but when trying to create an extension postgress says postgis is not installed in right directory

abubkurian
Автор

error😔6:17 "bash : alter : command not found..."

aknc
Автор

Thank you for the video. I am getting a couple of issues.

$ psql
psql (14.3, serveur 15.2)
ATTENTION : psql version majeure 14, version majeure du serveur 15

And I don't really understand the post-installation advice on the parent site.
What is the difference between enabling postgresql and enabling postgresql.service? I tried the latter, but it throws an error.


$ postgresql-setup --initdb
* Initializing database in '/var/lib/pgsql/data'
ERROR: Data directory /var/lib/pgsql/data is not empty!
ERROR: Initializing database failed, possibly see

marcuswest