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
WordPress WP Backup Sample Script Rumi, July 26, 2024 #!/bin/bash # your backups will use these filenames. db_backup_name=”tweenpath-db-backup-“`date “+%Y-%m-%d”`”.sql.gz” wpfiles_backup_name=”tweenpath-files-backup-“`date “+%Y-%m-%d”`”.tar.gz” ## 1: database connection info. You can get these details from your wp-config file. db_name=”user_name” db_username=”database” db_password=”password” ## 2: Path to your WordPress Upload and Theme directories. Replace /home/username/ with path to your home directory. wp_upload_folder=”/home/tweenpath/public_html” ## 3:… 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