Skip to content

Instantly share code, notes, and snippets.

View alkavan's full-sized avatar
😀
sup?

Igal Alkon alkavan

😀
sup?
View GitHub Profile
@alkavan
alkavan / rocky-linux-9_synapse-and-coturn.md
Last active April 27, 2025 08:52
Shows to to install Synapse and TURN server for chat and audio/video calls.

Rocky Linux 9 | Synapse+TURN Server Installation

This tutorial shows how to install your own Synapse chat server and TURN server for making video/voice calls on Rocky Linux 9.

Initial System Setup

Update system.

sudo dnf update -y
@alkavan
alkavan / rpi5-hailo-ai-hat-installation.md
Created April 17, 2025 10:10
Instructions how to install the HAILO-8L AI HAT on the RPI5 computer and running the examples using different inputs.

Raspberry Pi 5 Hailo AI HAT Installation

Update your Raspberry Pi to run the latest software:

sudo apt update && sudo apt full-upgrade

Set PCIe to Gen3

While using Gen2 is an option, it will result in lower performance.

@alkavan
alkavan / rocky-linux-9_openvpn-server.md
Last active April 5, 2025 10:54
Rock Linux 9 | OpenVPN Server

Rocky Linux 9 | OpenVPN Server Installation


Step 1: Enable EPEL and Install Packages

Update Fedora and install OpenVPN and Easy-RSA:

sudo dnf install -y epel-release
sudo dnf update -y
sudo dnf install -y openvpn easy-rsa
@alkavan
alkavan / windows-key-retrieval-script.ps1
Created October 4, 2024 08:47
A script to fetch Windows key from system
# Function to retrieve the product key from the registry
function Get-WindowsKey {
try {
$path = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform'
$key = (Get-ItemProperty -Path $path -Name BackupProductKeyDefault -ErrorAction Stop).BackupProductKeyDefault
return $key
} catch {
return $null
}
}
@alkavan
alkavan / ssh.md
Created June 15, 2024 19:52
Advance SSH usage

SSH and SSH Tunnel Instructions

The secure and correct way to communicate with non-public services on a virtual server machine is via ssh tunnel (services like managment console or a database).

To create a simple ssh tunnel from your host machine to the server on the same port number:

ssh -L 9090:localhost:9090 [email protected]

Rocky Linux 9 | Mail Server Installation

This is a tutorial how to install your own mail server on a Rocky Linux 9 machine.

Initial System Setup

Update system.

sudo dnf update -y
@alkavan
alkavan / rocky-linux-9_minecraft-server.md
Last active April 5, 2025 10:54
Instructions to install Minecraft server on Rocky Linux.

Rocky Linux 9 | Minecraft Server Installation

Initial System Setup

Update system.

dnf update -y

Set your timezone.

@alkavan
alkavan / install-eggdrop-bot.md
Last active April 5, 2025 10:55
Installation instructions for the Eggdrop IRC bot.

Eggdrop IRC Bot | Install Instructions

Prepare System (as root)

Install required packages for compile:

dnf install -y wget telnet \
  automake gcc make diffutils \
  tcl-devel openssl-devel
@alkavan
alkavan / rocket-rust-web-server-instructions.md
Last active June 2, 2023 19:17
Instructions how to bootstrap a Rocket (Rust) based web application server.

Rust Webserver Framework (Rocket)

Notice: These instructions are for Rocky Linux 9/8, but with small adjustments can be used on any.

Install Rust

Install the crab language (RHEL distributions):

sudo dnf install rust rust-src cargo
@alkavan
alkavan / rocky-linux-9_web-application-server.md
Last active April 12, 2025 07:06
Rocky Linux 9 | Web Application Server

Rocky Linux 9 | Web Application Server Installation

Notice

This cheatsheet assumes the user is knowledgeable about bare installations of virtual private servers on cloud providers and is looking for quick but comprehensive instructions.

Some trivial commands might be missed or skipped.
However, this document can also work as quick tutorial for newcomers to the RHEL eco-system.

Initial System Setup