This tutorial shows how to install your own Synapse chat server and TURN server for making video/voice calls on Rocky Linux 9.
Update system.
sudo dnf update -y
# 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 | |
} | |
} |
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]
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.