Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled) Verify that is active and running on your server: # systemctl status postgresql Output Now you can run the following command to install the latest version of the PostgreSQL server: # apt-get install postgresql-15 -yĪfter the successful installation, start the PostgreSQL service and enable it to start after the system reboot: # systemctl start postgresql Update your local package index with the following command: # apt -y update Now import the repository signing key by using the following command: # wget -quiet -O - | sudo apt-key add. To get the latest packages of PostgreSQL, you must add the official repo of PostgreSQL.įirst, install all required dependencies by running the following command: # apt-get install wget sudo curl gnupg2 -yĪfter installing all the dependencies, create the file repository configuration with the following command: # sh -c 'echo "deb $(lsb_release -cs)-pgdg main" > /etc/apt//pgdg.list' PostgreSQL is available in the default Debian repositories but the available versions are not up to date. Install PostgreSQL 15 using the official repository ![]() ![]() Update your Debian 11 operating system to make sure all existing packages are up to date: # apt update & sudo apt upgrade -y 2. In this guide we are going to install PostgreSQL 15 in Debian 11. It is one of the leading database servers used for production servers. DevOps use it as an alternative to MariaDB. PostgreSQL also known as Postgres, is a free and open source object-relational database system that runs on Client-Server architecture.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |