Ubuntu – Hot to Change a SSH host key?
Follow these steps to regenerate OpenSSH Host Keys
Read moreAuto Expand Disk size via cron
First prep the system for the auto expand script Add the Script to crontab to run every 15 minutes Save the script in /etc/expand-disk/auto-expand-disk.sh (Full copy-paste command is present below…
Read moreInstall docker on Ubuntu ( Without SNAP )
If you do not want to run sudo before docker commands add your user to the docker group.This is not recommended
Read moreExtend standard disk ( Non lvm)
After the disk has been extended, then rescan for changes. This guide is based on the SDA disk and the 3 partition. Change the device and partition to match your…
Read moreExtend LVM with extra disk
Find the LVM details of the volume group that you want to add a disk to: Example output, The two with bold are the needed information in this example Find…
Read moreTrust Certificates in Ubuntu/Debian system
Debian as an example. Install the ca-certificates package: You then copy the public half of your untrusted CA certificate (the one you use to sign your CSR) into the CA…
Read moreIPMI Cli Commands
1. Man and help info for IPMItool ipmitool help man ipmitool 2. To check firmware version ipmitool mc info 3. To reset the management controller ipmitool mc reset [ warm…
Read moreExtend default LVM Volume
After the disk has been extended, then rescan for changes. This guide is based on the SDA disk and the 3 partition. Change the device and partition to match your…
Read moreRsyslog – Forward logs to another server
Create a new config file under the rsyslog config directory Use single @ for udp forwardingUse double @ for tcp forwarding Example of udp forwarding Example of tcp forwarding
Read moreRsyslog – Save login to a seperate file
Create a new rsyslog config file Add the following text
Read more