![]() Verify the PostgreSQL service: systemctl status postgresql-14 Start the PostgreSQL service: systemctl start postgresql-14Įnable the PostgreSQL service: systemctl enable postgresql-14 Output: ~]# /usr/pgsql-14/bin/postgresql-14-setup initdb Initialize a database storage area on disk by using the following command: /usr/pgsql-14/bin/postgresql-14-setup initdb Install 5 Packages Creating a New PostgreSQL Database Cluster PostgreSQL common RPMs for RHEL / Rocky 9 - x86 510 kB/s | 278 kB 00:00 Userid : "PostgreSQL RPM Building Project "įingerprint: 68C9 E2B9 1A37 D136 FE74 D176 1F16 D2E1 442D F0F8 PostgreSQL common RPMs for RHEL / Rocky 9 - x86 1.6 MB/s | 1.7 kB 00:00 PostgreSQL common RPMs for RHEL / Rocky 9 - x86 670 B/s | 195 B 00:00 Output: ~]# dnf install -y postgresql14-server Install the latest version of PostgreSQL with the below command, dnf install -y postgresql14-server ![]() We will manually select this version for installation in our case.Ĭheck their official website to find out the latest version available at the time of installation. Update the systemįirst, we will update the system to the latest with the following commands, dnf update Install PostgreSQL RepositoryĪdd the official PostgreSQL Repository for the AlmaLinux system by running the below command, dnf install -y Install the PostgreSQL ServerĪt the time of writing this article, version 14.4 is the latest version available from PostgreSQL, PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance. ![]()
0 Comments
Leave a Reply. |