KVM Cloud Capacity Planning Script (Enhanced) Rumi, February 20, 2026 Interactive Script with VM Count Estimation (CPU + Memory) + CSV Export Here is the corrected script with proper table formatting throughout and an optional CSV export feature. kvm_capacity_planner.sh Continue Reading
Youtube MP3 Downloader Script using AI Rumi, February 14, 2026 #!/bin/bash # ========================================================== # YouTube Audio Downloader v3.4 (Debian 12 ready) # Installs all required dependencies automatically # ========================================================== set -e # ———- Colors ———- RED=’\033[0;31m’ GREEN=’\033[0;32m’ CYAN=’\033[0;36m’ YELLOW=’\033[1;33m’ NC=’\033[0m’ # ———- Functions ———- Continue Reading
Deploy a Container TIG (Telegraf, InfluxDB and Grafana) Stack Rumi, January 24, 2026February 16, 2026 My simplified container based TIG stack is built using docker. The following standalone design supported more than 500+ VM to monitor data. Versions: Docker- Docker version 29.1.3, build f52814d Telegraf- Telegraf 1.14.3 (git: HEAD 1b35d6c2) Influxdb- 1.6.4 Grafana- 10.0.3 Here’s the TIG Docker Script- version: ‘3.7’ services: influxdb: image: influxdb:1.6.4… Continue Reading
Torrent Download Script with Aria2C on Debian 12 using Command Line Interface Rumi, November 7, 2025 Script Generated using DeepSeek and ChatGPT ============================== aria2_torrent_downloader_v1.0.1-stable.sh ============================== 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
MinIO object storage upload using curl Rumi, June 7, 2024 #!/bin/bash # Usage: ./minio-upload my-bucket my-file.zip bucket=$1 file=$2 host=minio.example.com s3_key=svc_example_user s3_secret=svc_example_user_password resource=”/${bucket}/${file}” content_type=”application/octet-stream” date=`date -R` _signature=”PUT\n\n${content_type}\n${date}\n${resource}” signature=`echo -en ${_signature} | openssl sha1 -hmac ${s3_secret} -binary | base64` curl -X PUT -T “${file}” \ -H “Host: ${host}” \ -H “Date: ${date}” \ -H “Content-Type: ${content_type}” \ -H “Authorization: AWS ${s3_key}:${signature}” \… Continue Reading
PHPSysinfo CentOS 7 Installer Script Rumi, January 23, 2024 Intended to to deploy on a barebone fresh CentOS installation with Apache and PHP- !#/bin/sh ################################################# # Server Configuration for Centos 6.8 Final # # Don’t use port 7071 # Updated by Rumi- hasan@servermart.net # ################################################# ## updating packages sudo yum update -y ## installing dependencies sudo yum install unzip… Continue Reading
Delete files older than 10 days using shell command Rumi, October 28, 2023 find is the common tool for this kind of task : find ./my_dir -mtime +10 -type f -delete EXPLANATIONS ./my_dir your directory (replace with your own) -mtime +10 older than 10 days -type f only files -delete no surprise. Remove it to test your find filter before executing the whole command Src: https://stackoverflow.com/questions/13489398/delete-files-older-than-10-days-using-shell-script-in-unix 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
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