Serial Terminal Configuration in RHEL Distribution Rumi, September 5, 2024 Serial Terminal Configuration in RHEL 7 Add, or update if already present, the following lines to /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT=”console=tty0 console=ttyS0,115200n8″ GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND=”serial –speed=115200 –unit=0 –word=8 –parity=no –stop=1″ GRUB_CMDLINE_LINUX_DEFAULT applies this configuration only to the default menu entry, use GRUB_CMDLINE_LINUX to apply it to all the menu entries. NOTE: each line type… Continue Reading
Preparing Cloud-Init Templates Rumi, September 3, 2024 The first step is to prepare your VM. Basically you can use any VM. Simply install the Cloud-Init packages inside the VM that you want to prepare. On Debian/Ubuntu based systems this is as simple as: apt-get install cloud-init This command is not intended to be executed on the Proxmox… Continue Reading
Install qemu-guest-agent on Opensuse 15.5 Rumi, August 26, 2024 Add repository and install manually For openSUSE Tumbleweed run the following as root: zypper addrepo https://download.opensuse.org/repositories/Virtualization/openSUSE_Tumbleweed/Virtualization.repo zypper refresh zypper install qemu-guest-agent For 15.6 run the following as root: zypper addrepo https://download.opensuse.org/repositories/Virtualization/15.6/Virtualization.repo zypper refresh zypper install qemu-guest-agent For 15.5 run the following as root: zypper addrepo https://download.opensuse.org/repositories/Virtualization/15.5/Virtualization.repo zypper refresh zypper install… Continue Reading
Install wkhtmltopdf on Debian 11 Rumi, August 22, 2024August 22, 2024 1. Install prerequisites: Install wget (if not already installed): # sudo apt update # sudo apt install wget 2. Install wkhtmltopdf on Debian 11 The links below contain the latest releases as of 10/25/2022. Please double check GitHub for the latest available release: https://github.com/wkhtmltopdf/packaging/releases/latest # wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb # sudo apt… Continue Reading
Zimbra delete e-mails from deferred queue Rumi, July 27, 2024 Problem How to delete e-mails from deferred queue sent by a particular account? Solution 1) This command will show the queue id of messages sent by “sender@domain.com”. Check it is deleting correct queue id. Run as root: # /opt/zimbra/common/sbin/postqueue -p | egrep -v ‘^ *\(|-Queue ID-‘ | awk ‘BEGIN {… Continue Reading
Install and Setup TIG Stack on Ubuntu 20.04 Rumi, July 26, 2024July 27, 2024 In this tutorial, we are going to learn how to install and setup TIG Stack on Ubuntu 20.04. TIG stack is a group of powerful open-source monitoring tools, Telegraf, InfluxDB and Grafana where; Telegraf is an open-source server agent for collecting and sending metrics and events from databases, systems, and… Continue Reading
CentOS 7 updated repo after its EOL Rumi, July 26, 2024 mirrorlist.centos.org doesn’t exists anymore. So, your default repor wwith yum doesn’t work. Try using the following processes, it worked for me, hope this works for others as well. sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo Ref: https://serverfault.com/questions/1161816/mirrorlist-centos-org-no-longer-resolve Continue Reading
XCP-NG few basic command lines- CLI Rumi, July 3, 2024July 3, 2024 Run the following command to list VMs and their UUIDs: xe vm-list resident-on=<uuid_of_host> Try the shutdown command with force: xe vm-shutdown uuid=<uuid_of_vm> force=true Restart the toolstack on the host by using the following command: xe-toolstack-restart Restart the host. shutdown -r now If the VM is still not shutdown, you might… Continue Reading
MOTD with NeoFetch Rumi, July 1, 2024July 3, 2024 Install NetoFetch First: sudo apt install neofetch sudo cp motd.sh /etc/profile.d/motd.sh sudo chmod +x /etc/profile.d/motd.sh Open the motd.sh filw using text editor and paste below: #!/bin/bash printf “\n” neofetch Exit from shell and re-login- Voila! Continue Reading
Install LetsEncrypt on Debian with Nginx Server Rumi, June 30, 2024 Install Certbot and its Nginx plugin with apt: sudo apt install certbot python3-certbot-nginx Certbot provides a variety of ways to obtain SSL certificates through plugins. The Nginx plugin will take care of reconfiguring Nginx and reloading the config whenever necessary. To use this plugin, type the following: sudo certbot –nginx -d… Continue Reading