An easy way to install Mikrotik RouterOS in any cloud

  • Tutorial

Many cloud providers do not allow you to download ISO-files and do not provide any opportunity to install OS other than those provided by the cloud itself.

In this article I will tell you how to avoid this restriction and how easy it is to install Mikrotik Cloud Hosted Router on any cloud virtual machine in 5 steps.

  1. Create a new virtual machine (Ubuntu or Debian doesn't really matter)
  2. Boot up and mount tmpfs in /tmp

    mount -t tmpfs tmpfs /tmp/

  3. Now follow the link and download the "Cloud Hosted Router" raw image.

    cd /tmp

  4. The next step is to extract the image and write it to the virtual machine disk:

    dd if=chr-6.39.3.img of=/dev/vda bs=4M oflag=sync

  5. Now we need to initialize a hard reboot:

    echo 1 > /proc/sys/kernel/sysrq 
    echo b > /proc/sysrq-trigger

    After rebooting, Mikrotik RouterOS will prepare the hard drive automatically and you will see a login prompt.

    English version of the article

Also popular now: