Enable Serial Terminal on Debain using Grub Configuration (Grub2) Rumi, September 7, 2024 Edit /etc/default/grub, enter: # vi /etc/default/grub Append / modify as follows: GRUB_CMDLINE_LINUX=’console=tty0 console=ttyS0,19200n8′ GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND=”serial –speed=19200 –unit=0 –word=8 –parity=no –stop=1″ Save and close the file. Next run the following command to generate a grub2 config file /boot/grub/grub.cfg : # update-grub Ref: https://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/ Continue Reading
Add serial console boot for Opensuse 15.5 Rumi, September 6, 2024 While it works with UEFI boot using “legacy BIOS” the serial console works after grub has prompted the boot menu. But this might be too late e.g. in special cases like encrypted disk where grub needs to request the password. KVM Guest has already been changed for serial support as… Continue Reading
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
Install nano on Windows Rumi, July 27, 2024 I’m a bit fascinated with nano editor and since I spend most of the time on linux terminal- it becomes my first choice over vi editor 🙂 Long story short, you can install it on windows in 2 methods- Method-1: Windows Command Prompt You can just easily install Nano via… 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