Configure NTP Client on Rocky 8

The following quick-guide describes how to install and configure NTP Client on a Rocky or CentOS 8 OS. Check to see if Chrony is already installed If it is not installed run: Edit Chrony config file Replace pool 2.pool.ntp.org iburst with your desired NTP server eg (pool uk.pool.ntp.org) Restart chronyd service You will also need Read More…

Script to install RabbitMQ 3.7.9 on Centos7

Script to install RabbitMQ 3.7.9 on CentOS 7   #!/bin/bash # README # ONLY VARIABLE REQUIRED IS admin password for "rabbitmqctl add_user admin {MyPassword}" # PLease change before running script. # echo "#######################################################################"; echo "This script will install RabbitMQ 3.7.9 and open relevant firewall rules"; echo "#######################################################################"; yum -y install epel-release wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -Uvh Read More…

Create LACP Bond Interface in Centos 7

Issue I had two 10Gb ports I wanted to bond in Dynamic Link Aggegration (802.3ad) To get the network interface list use: nmcli connection In my output I wanted to use ens1f0 and ens1f1 interfaces   Steps 1)  Create Bond Interface (bond0) nmcli con add type bond con-name bond0 ifname bond0 mode 4 ip4 10.32.99.12/24 10.32.99.254 Read More…

Init: Private key not found – Apache Wont Start on CentOS

Problem When attempting to update a certificate in Apache the webserver would not restart. Apache Error Logs: [Tue Oct 29 14:42:07 2019] [error] Init: Private key not found [Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 Read More…

¬†User “postgres” Has No Password Assigned

Problem When trying to remotely connect to Postgres 10.10 install for the first time I got and authentication error via pgadmin From the log files (/var/lib/pgsql/10/data/log/postgresql-Wed.log) 2019-09-25 14:05:38.970 BST [22665] FATAL:  password authentication failed for user "postgres" 2019-09-25 14:05:38.970 BST [22665] DETAIL:  User "postgres" has no password assigned.         Connection matched pg_hba.conf Read More…