Skip to content

Instantly share code, notes, and snippets.

View minzak's full-sized avatar

Oleksandr Minzak minzak

View GitHub Profile
@stroebs
stroebs / make-chr.sh
Last active November 12, 2024 16:16
Install Mikrotik CHR on a Digital Ocean droplet (Ubuntu 20.04 tested working 29/03/2022)
#!/bin/bash
#
# Digital Ocean Ubuntu 18.04 x64 Droplet with "Regular Intel" CPU.
# Running:
# git clone https://gist.github.com/54fc09734a3911e91eeeb43434f117df.git
# cd 54fc09734a3911e91eeeb43434f117df/
# chmod +x make-chr.sh
# ./make-chr.sh
#
# Once the reboot is done, login with root/CHANGEME and change the password!
@deemru
deemru / chr-install.md
Last active March 1, 2024 22:03
Cloud Hosted Router god mode installation

Внимание: опасный скрипт! (warning: dangerous script!)

CHR_VERSION=7.13.5
INSTALLPATH=/dev/vda

apt-get update &&
apt-get install -y unzip wget pv &&
wget https://download.mikrotik.com/routeros/${CHR_VERSION}/chr-${CHR_VERSION}.img.zip &&
unzip chr-${CHR_VERSION}.img.zip &&
echo 1 > /proc/sys/kernel/sysrq &&