Start Service $ sudo systemctl start postgresqlĬheck Service $ sudo systemctl status postgresql 2. listen_addresses = 'localhost'Įnable Service $ sudo systemctl enable postgresql If remote connectivity is needed by the Console, ensure that Postgres is listening for remote connections by also changing the pg_hba.conf file accordingly. $ sudo find /etc /var -name pg_hba.conf | sudo xargs sed -i "s/ident/md5/g" Run the command below to update the package list: $ sudo apt-get updateįor Installing Postgres 9.6, run the command below: $ sudo apt-get -y install postgresql-contrib-9.6 #This will install postgres version 9.6Įdit the configuration to allow the Capsule8 Console to connect using a password. Run the command below to Import the repository signing key: $ wget -quiet -O - | sudo apt-key add. Run the following to add the latest PostgreSQL Repository and install PostgreSQL: $ sudo sh -c 'echo "deb $(lsb_release -cs)-pgdg main" > /etc/apt//pgdg.list' Start Service $ sudo systemctl start postgresql-9.6Ĭheck Service $ sudo systemctl status postgresql-9.6 Debian/Ubuntu listen_addresses = 'localhost'Įnable Service $ sudo systemctl enable postgresql-9.6 If remote connectivity is needed by the Console, ensure that PostgreSQL service is listening for remote connections by also changing the pg_hba.conf file accordingly. Once PostgreSQL is installed, initialize the database $ sudo /usr/pgsql-9.6/bin/postgresql96-setup initdbĮdit the configuration to allow the Capsule8 Sensor to connect using a password. Install PostgreSQL $ sudo yum install -y postgresql96-server #This will install PostgreSQL version 9.6 ![]() Run the following to add the latest PostgreSQL Repository and install PostgreSQL: $ sudo yum install -y Step-by-Step Installationįor installation of PostgreSQL on RedHat/Centos environment, please perform the following steps below: RedHat/Centos Please note that the Console requires a minimum of PostgreSQL 9.6.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |