annave.blogg.se

Postgresql install db on external drive
Postgresql install db on external drive








  • The file finds the base and updates section in the repository and inserts it by pressing “i” after opening and repository file.
  • Then open the repository file using vi or vim we have used vi to edit the below file.
  • We need to exclude the search of PostgreSQL from the repository for installing it from the base repository.

    Postgresql install db on external drive install#

    We have been using the CentOS base repository to install PostgreSQL on CentOS.We have been using CentOS version 7.7 to install PostgreSQL.īelow is the command to check the CentOS version:Įdit the CentOS base repo (Repository file) to install PostgreSQL DB. Let us discuss the procedure to install PostgreSQL in detail. We need to download PostgreSQL RPM packages from PostgreSQL’s official website. We need the PostgreSQL database’s RPM (Red hat package manager) to install on Linux-like systems.ĩ. If an error occurs in the middle, we must exit and update the OS version to the latest operating system version.Ĩ. For the Windows operating system, we need to update the OS before installing PostgreSQL software. We must install xterm, Konsole, or genome terminal before executing a console-based program by the PostgreSQL enterprise DB installer.ħ. After installing PostgreSQL, we need to set SELinux on enforcing mode please find the below command.Ħ.Before installing PostgreSQL, we need to set SELinux on permissive please find below the command for the same.

    postgresql install db on external drive

    Below is an example of setting SELinux permissive in different environments. Before installing PostgreSQL on the system that we have run an SELinux, We must set it to SELinux on permissive mode.ĥ.








    Postgresql install db on external drive