![]() mnt]# ls -lrth | grep postgresqlĭrwxr-xr-x. ~]# chown postgres:postgres -R /mnt/postgresql ![]() Give ownership of DATA AREA to user postgres. Passwd: all authentication tokens updated successfully.ġ0. ~]# useradd postgresīAD PASSWORD: The password contains the user name in some form Create OS user named postgres for database server. ![]() Tmpfs tmpfs 1.5G 0 1.5G 0% /sys/fs/cgroup data]# df -hTPįilesystem Type Size Used Avail Use% Mounted on data]# mount -t ext3 /dev/sdc1 /mnt/postgresqlĨ. Formatting newly created partition using mkfs utility. I have attached virtual hard drive of 20 GB.Ĥ. ~]# yum install postgresql12-server postgresql12-devel postgresql12-libs postgresql12-contribĪfter the successful installation decide the DATA AREA for DATABASE CLUSTER(Where the database files will be stored). Install PostgreSQL Server package using below command. Use below command to install PosgreSQL Client. Install the psql client package from the above added repository. Use below command to install repository RPM. Install the RPM of repository so that yum can find and install correct version for your OS, in our case EL-7-86_64. Other distribution or version, you may want to visit PostgreSQL download page, select distro and versions and use correct package to install PostgreSQL as per your OS.ġ. There are various methods available to install PostgreSQL database on your Linux server, however yum is one of the always preferred methods when it comes to RedHat Family Distributions.Īs this demonstration is done on Oracle Linux 7.5 you can proceed as it is for the installation on Oracle Linux 7.x RedHat Enterprise Linux 7.x & CentOS 7.x. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |