Enable vnc on Kali Linux Rumi, September 8, 2024 No Persistent mode: apt-get update && upgrade apt-get install x11vnc x11vnc -storepasswd x11vnc -ncache 10 -auth guess -nap -forever -loop -repeat -rfbauth /root/.vnc/passwd -rfbport 5900 -noncache Persistent mode: Step:01 Go to the below path cd /usr/local/bin Step:02 and create the file nano sharex11vnc Continue Reading
Customizations to Proxmox VE 6.0 Persistent Rumi, September 7, 2024 This document worked for VE 7.X edition too. Preparation First, we’ll create a directory where we’ll store our customizations (you can call it whatever you want, as long as you are consistent across the commands): $ sudo mkdir /usr/share/custom Next, create the script which will apply the customizations and make… Continue Reading
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