PostgreSQL 10.6 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.2.1 20 PostgreSQL Roles and Authentication Methods Sudo -u postgres psql -c "SELECT version() ". Use the psql tool to check the installation by connecting to the PostgreSQL database server and printing its version: Start the PostgreSQL service and enable it to start at boot: Sudo dnf install can also install the contrib package, which provides some additional features for a PostgreSQL database:Īfter installation is complete, initialize the PostgreSQL database with the following command: Sudo dnf install To install the PostgreSQL server version 9.6, type: To set the default thread, enter PostgreSQL server version 10.0:.Postgresql 9.6 client, server PostgreSQL server and client Postgresql 10 client, server PostgreSQL server and client module By default, thread 10 with a profile server is used: Each thread has two profiles: server and client. The output shows that the postgresql module is available with two threads. To display a list of available PostgreSQL module threads, type: Installing PostgreSQL on CentOS 8Īt the time of writing this article, there are two versions of PostgreSQL server available for installation from standard CentOS repositories: versions 9.6 and 10.0. To be able to install packages, you need to login as root or sudo user. Before choosing the version to install, make sure that your applications support it. In this article, we will discuss how to install the PostgreSQL database server on CentOS 8. PostgreSQL or Postgres is a universal object-relational database management system with open source code and many additional functions that allow you to create fault-tolerant environments or complex applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |