📜 ⬆️ ⬇️

Easy way to install Mikrotik RouterOS in any cloud

Many cloud providers do not allow to download ISO files and do not provide any opportunity to install operating systems 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 in 5 steps to install the Mikrotik Cloud Hosted Router on any cloud virtual machine.



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


     mount -t tmpfs tmpfs /tmp/ 

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


     cd /tmp wget https://download2.mikrotik.com/routeros/6.39.3/chr-6.39.3.img.zip 

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


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

  5. Now we need to initialize a hard reset:


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

    After rebooting, Mikrotik RouterOS will prepare the hard disk automatically and you will see an invitation to enter.

    English version of the article



')

Source: https://habr.com/ru/post/352576/


All Articles