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 August 4, 2023 07:58
Install Mikrotik CHR on a Digital Ocean droplet (Ubuntu 20.04 tested working 29/03/2022)
View make-chr.sh
#!/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 February 9, 2023 14:40
Cloud Hosted Router god mode installation
View chr-install.md

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

CHR_VERSION=6.48.6
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 u > /proc/sysrq-trigger &&