In today’s article, I will talk about EDB Postgres 13 Installation on Oracle Linux 7.8.
First of all, we install the packages that need to be installed before installation.
1 2 3 4 | [root@testdb ~]# yum install xterm [root@testdb ~]# yum install konsole veya [root@testdb ~]# yum install gnome-terminal |
We load the repository configuration file.
1 | [root@testdb ~]# yum -y install https://yum.enterprisedb.com/edbrepos/edb-repo-latest.noarch.rpm |
After the installation is complete, we enter the edb.repo file with vi and enter the registered edb user name and password. If you have not registered before, you must register.
1 2 3 | [root@testdb ~]# cd /etc/yum.repos.d/ [root@testdb ~]# vi edb.repo baseurl=https://<username>:<password>@yum.enterprisedb.com/edb/redhat/rhel-$releasever-$basearch |
We install the server required for EDB.
1 | [root@orcl ~]# yum -y install edb-as13-server |
After installing the EDB Server, we start the database cluster.
1 | [root@orcl ~]# PGSETUP_INITDB_OPTIONS="-E UTF-8/usr/edb/as13/bin/edb-as-13-setup initdb |
We start the database server and connect to the database.
1 2 3 | [root@orcl ~]# systemctl start edb-as-13 [root@orcl ~]# su - enterprisedb -bash-4.2$ psql postgres |
EDB Postgres installation is complete. I hope it will be a useful document.