Remove Old Unused Kernels in CentOS Rumi, January 26, 2023 To display the current version of Linux (kernel) running on your system, run this command. # uname -sr Linux 3.10.0-327.10.1.el7.x86_64 List All Installed Kernels on System You can list all kernel images installed on your system like this. # rpm -q kernel kernel-3.10.0-229.el7.x86_64 kernel-3.10.0-229.14.1.el7.x86_64 kernel-3.10.0-327.3.1.el7.x86_64 kernel-3.10.0-327.10.1.el7.x86_64 Removing Old/Unused Kernels on… Continue Reading
Zimbra Let’s Encrypt auto-renew SSL Rumi, January 26, 2023 Required for this script to work is certbot package installed on email server and sudo rights to add script in crontab. You can add script in crontab at a weekly run like this: 0 0 * * 0 root /path_to_script. #!/bin/bash #Set domain for renew (in format openthreat.ro) DOMAIN=”” certbot… Continue Reading
Setup Keepalived for VRRP instead of ucarp Rumi, January 26, 2023 I’ve the following setup: network-0 – 192.168.2.11 (real) network-1 – 192.168.2.12 (real) I want to add “network” as 192.168.2.10 as the floating address. I’ll need to do the following to both network-0 and network-1 Install keepalived Configure keepalived Start keepalived Set keepalived to start at boot. Continue Reading
Proxmox GUI webpage stuck on loading Rumi, January 8, 2023 Connection time out!!!! So boring nah? I can’t figure out where the problem is. It works and then couple of hours later I’d come back and it keeps on loading forever. SSH works fine, can SSH into containers as well. Just the GUI doesn’t work. Tried full upgrade. Checked for… Continue Reading
Zimbra Let’s Encrypt SSL Script Rumi, December 28, 2022 #!/bin/bash -x # SSL certificate installation in Zimbra # with SSL certificate provided by Let’s Encrypt (letsencrypt.org) # Check if running as root if [ “$(id -u)” != “0” ]; then echo “This script must be run as root” 1>&2 exit 1 fi read -p ‘letsencrypt_email [mail@server]: ‘ letsencrypt_email read… Continue Reading
Setup HAProxy Load Balancer for MariaDB Galera Cluster Rumi, December 28, 2022December 28, 2022 If you check the above test scenario and try to create DBs on any of the nodes, you would see that the data would automatically sync between the nodes. Which means Availability is achieved. Now to achieve high availability we will use HaProxy as the loadbalancer. Set up another VM… Continue Reading
MariaDB Galera Cluster on Ubuntu 20 Rumi, December 28, 2022December 28, 2022 MariaDB Galera Cluster is a synchronous multi-master cluster for MariaDB with support for XtraDB/InnoDB storage engines. It has the following top features. It provides active-active multi-master topology You can read and write to any cluster node It has an automatic node joining Automatic membership control, failed nodes drop from the… Continue Reading
Installer for jitsi-meet, jigasi and jibri Rumi, November 19, 2022 Found this lovely code base (that actually worked) on github, supported on a debian 10/11 or ubuntu 20+ versions- The script (jitsi_setup.sh) can be used to install stable version of all 3 on a stand-alone server. This is simply a script version of quick-install document at https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart It Installs below… Continue Reading
Mount CDROM to Pfsense Rumi, November 19, 2022 Go to a shell. Make a directory to mount the CD at: mkdir /tmp/cdrom Mount the CD: mount_cd9660 /dev/acd0 /tmp/cdrom or mount_cd9660 /dev/cd0 /tmp/cdrom CD is now mounted at /tmp/cdrom. When finished unmount: umount /tmp/cdrom * Note: If your cdrom device is not acd0, check the bootup messages for the… Continue Reading