Skip to content

Instantly share code, notes, and snippets.

View cyrenity's full-sized avatar
🏠
Working from home

Ghulam Mustafa cyrenity

🏠
Working from home
View GitHub Profile
export VMNAME=instance01
export MAC_ADDR=$(printf '52:54:00:%02x:%02x:%02x' $((RANDOM%256)) $((RANDOM%256)) $((RANDOM%256)))
export INTERFACE=enp1s0
export IP_ADDR=192.168.122.101
export CONFIG_DIR=/home/bitvizor.com/.local/share/libvirt/cloudconfigs/
export IMAGES_DIR=/home/bitvizor.com/.local/share/libvirt/images/
export SSH_KEYS=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDVtvTtRd3zOAo5bSgRR7muNdHTFeZg1RhxNkcl24W0ZfKTvLd1HWhL4LEvVjUwQY1xvPaEKiyCXIYf18feIy15KW3oBj4mqEk+YsUbTMSoV32DnMUyhDfoPKM4gOXMYRbliKr2mQ5RX6pEgm2H4mzI+kC6+f8v+/Fn6o6zOwgfo0ltbHfCH31YW1i+DIZtJ6/iWCzLJ7fDvRJW/YKH0DXOJQxaX4k9J7aGjjs8dXdJANtIgT4doa6ZpKTDh36sgBTsAlYQAnnH9DJxv71sRHSnXyzhjrgkkgkKbeG/GZy7Lr3fH/hqEc3P4DE8c7waAySNMOGThbVqx95uwNGSQa6XO3UsDxzg2NTuqmUqlOUQRAyLkteCOpAyd/8YUREriVotFKJGTIJTMo/7TnrPk5VpNQb/BQlGN12z0uQg8GkS88DlefPnDvdGpxemVBXAxtNscYfpoJzwB7H2kcfUeIrzJki929G/CI4K+A3K2i6v7dGXKgHlIbLGDCh3hgHF1a0= vasops@vasops
@cyrenity
cyrenity / k3s-using-k3os-in-vms.md
Created February 11, 2021 14:44
Create k3s - lightweight kubernetes cluster using k3os by Rancher Lab

Setup K3s (Lightweight Kubernetes) cluster in seconds using k3os

We are going to setup one master and two worker nodes

Prepare nodes/hosts

Create the master node k3s-master with following script:

@cyrenity
cyrenity / compile-and-install-freeswitch-1.10.x-on-ubuntu.md
Last active June 2, 2026 15:14
Install FreeSWITCH 1.10.x on Ubuntu 18.04 | 20.04 | 22.04 LTS

Installing FreeSWITCH 1.10.X on Ubuntu 18.04 | 20.04 | 22.04 LTS

Warning

Debian 13 (Trixie) and Modern Distros:
Modern repositories have dropped several legacy dependencies (like PCRE1 and FFmpeg 5) required by older architectures. If you are compiling on a newer OS (Debian 12, Debian 13), please refer to our updated Ultimate Guide to Compiling FreeSWITCH from Source to avoid compilation failures.

Introduction

FreeSWITCH is a software defined telecom stack that runs on any commodity hardware. FreeSWITCH can handle voice, video and text communication and support all popullar VoIP protocols. FreeSWITCH is flexible and modular, and can be used in any way you can imagine

@cyrenity
cyrenity / k8s-using-talos-in-vms.md
Last active August 18, 2026 17:57
Setup kubernetes cluster using Talos (Lab)

Setup Kubernetes cluster in minutes using Talos

1. Get talosctl

Download and install talosctl binary

wget https://github.com/talos-systems/talos/releases/download/v0.8.1/talosctl-linux-amd64