Skip to content

Instantly share code, notes, and snippets.

View afriza's full-sized avatar

Afriza N. Arief afriza

  • Indonesia
  • 13:57 (UTC +07:00)
View GitHub Profile
@afriza
afriza / proxmox-mikrotik.md
Last active May 7, 2025 01:16
install Mikrotik CHR on ProxMox Virtual Environment 8.3.0
  • create bridges for use by mikrotik CHR
  • create VM with VM ID 100 without any media (also delete existing scsi0 disk in the wizard)
ver=7.16.2
wget https://download.mikrotik.com/routeros/$ver/chr-$ver.img.zip
apt update
apt install unzip
unzip chr-$ver.img.zip
qemu-img resize -f raw chr-$ver.img 256M
# number 100 below is the VM ID
@afriza
afriza / vnc-server.service
Last active May 9, 2025 10:02
systemd VNC Server user service for OrangePi with X11 Server
# place this file at $HOME/.config/systemd/user/vnc-server.service
# then run `systemctl --user enable --now vnc-server`
[Unit]
Description=VNC server for XFCE
After=graphical-session.target
[Service]
ExecStart=/usr/bin/x0vncserver -rfbauth /home/orangepi/.vnc/passwd
Restart=on-failure