Monday, October 23, 2023

Installing Mikrotik on VPS or Cloud Hosting.

  ﷽

 

Are you looking to install MikroTik ROS on a VPS or Cloud hosting? If so, this is the easiest method to give it a try. I have personally used this approach numerous times since 2018.

1. Create new instance VM ( i prefrer Debian or Ubuntu ) then boot on it.

2. Check disk and partition, and take note of active partition :

$ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 98.1G  0 disk
├─sda1   8:1    0   90G  0 part /
├─sda2   8:2    0    1K  0 part
└─sda5   8:5    0  8.1G  0 part [SWAP]


3. Mount tempfs to /tmp :

mount -t tmpfs tmpfs /tmp/

4. Download RAW image from https://www.mikrotik.com/download :

cd /tmp
wget https://download.mikrotik.com/routeros/7.11.2/chr-7.11.2.img.zip


5. Extract image and flash it to disk :

gunzip -c chr-7.11.2.img.zip > chr.img
dd if=chr.img of=/dev/sda bs=4M oflag=sync


6. Enables the Magic SysRq key then Reboot :

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


System will reboot and boot up Mikrotik Router OS.

Baarakallahu fiikum.

 

No comments:

40 Hadist Seputar Keluarga Samawa (Bagian 3)

 ﷽ Ustadz Yusuf Abu Ubaidah As-Sidawi hafizahullohuta'ala Masjid Al-Aziz  Jl. Soekarno Hatta No. 662 Bandung Hadist 11 : Doa Orangtua Bu...