Extend GPT iSCSI volume in Rocky 8

In this example I will be extending an XFS based iSCSI volume called Veeam_Repo_01 from 40TB to 55TB Firstly in the back end storage increase the volume On Rocky – Recan the initiator. Output: sdc 8:32 0 55T 0 disk└─Veeam_Repo_01 253:3 0 40T 0 mpath└─Veeam_Repo_01p1 253:4 0 36.4T 0 part /BACKUPsdd 8:48 0 55T 0 Read More…

Change Timezone in Rocky 8

The following quick guide will show how to change the timezone. In this example my Rocky * machine is set to America/New York but I need to change it to Europe/London. Confirm current timezone My output showed: lrwxrwxrwx. 1 root root 38 Oct 18 05:40 /etc/localtime -> ../usr/share/zoneinfo/America/New_York To list all timezones Once you have Read More…

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…