![]() ├─4299 /usr/lib/postgresql/13/bin/postgres -D /var/lib/postgresql/13/main -c config_file=/etc/postgresql/13/main/nf Process: 4294 ExecStart=/usr/bin/pg_ctlcluster -skip-systemctl-redirect 13-main start (code=exited, status=0/SUCCESS)ĬGroup: /system.slice/system-postgresql.slice/ Loaded: loaded (/lib/systemd/system/ enabled-runtime vendor preset: enabled)Īctive: active (running) since Wed 15:50:22 EAT 1min 55s ago The PostgreSQL service is started and set to come up after every system reboot. sudo apt install postgresql-13 postgresql-client-13 The run the commands below to install PostgreSQL 13 on Ubuntu 22.04|20.04|18.04 Linux system. But first update the package index for the version to be available at the OS level. With the repository added we can install the PostgreSQL 13 packages on our Ubuntu 22.04|20.04|18.04 Linux server. pgadmin packages Step 3: Install PostgreSQL 13 on Ubuntu 22.04|20.04|18.04.The repository added contains many different packages including third party addons. curl -fsSL |sudo gpg -dearmor -o /etc/apt//postgresql.gpgĪfter importing GPG key, add repository contents to your Ubuntu 22.04|20.04|18.04 system: echo "deb `lsb_release -cs`-pgdg main" |sudo tee /etc/apt//pgdg.list Now that we have updated and rebooted our system, let’s add the APT repository required to pull the packages form the PostgreSQL repository. Sudo apt install curl gpg gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates Install required dependency packages sudo apt update sudo reboot Step 2: Add PostgreSQL 13 repository to Ubuntu 22.04|20.04|18.04 ![]() Once the system has been updated, I recommend you perform a reboot to get the new kernel running incase it was updated. sudo apt update & sudo apt -y full-upgrade Login to your Ubuntu server and run the following commands to update all the packages installed. We always work on a latest release of OS to make sure there are no old dependency issues.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |