Manual:CHR Hetzner: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Created page with "[https://www.hetzner.com/cloud Hetzner Cloud] allows you to run virtual machines in the cloud. Standard images include various generic Linux distributions, but it is also poss..."
 
No edit summary
Line 2: Line 2:


# Create a new Hetzner Cloud server (any of the offered)
# Create a new Hetzner Cloud server (any of the offered)
# In the cloud admin interface activate the rescue system and restart the server (ENABLE RESCUE & POWER CYCLE). A username and passwoord will be shown. Use that to log into the rescue system via SSH
# In the cloud admin interface activate the rescue system and restart the server (ENABLE RESCUE & POWER CYCLE), choose 'linux64' as the Rescue OS. A username and passwoord will be shown. Use that to log into the rescue system via SSH
# Download the newest CHR raw disk image: <code>wget https://download2.mikrotik.com/routeros/6.44.3/chr-6.44.3.img.zip</code>, the latest version is available from the [https://mikrotik.com/download#chr download page]
# Download the newest CHR raw disk image: <code>wget https://download2.mikrotik.com/routeros/6.44.3/chr-6.44.3.img.zip</code>, the latest version is available from the [https://mikrotik.com/download#chr download page]
# Issue the following command <code>unzip chr-6.44.3.img.zip | dd of=/dev/sda bs=1M</code> It will unzip the CHR image and write it over the system disc  of the cloud server (/dev/sda)
# Issue the following command <code>unzip chr-6.44.3.img.zip | dd of=/dev/sda bs=1M</code> It will unzip the CHR image and write it over the system disc  of the cloud server (/dev/sda)
# Restart the server and log into the RouterOS CHR with default user - admin
# Restart the server and log into the RouterOS CHR with default user - admin
# Please [https://wiki.mikrotik.com/wiki/Manual:Securing_Your_Router secure your RouterOS right away]
# Please [https://wiki.mikrotik.com/wiki/Manual:Securing_Your_Router secure your RouterOS right away]

Revision as of 12:38, 22 May 2019

Hetzner Cloud allows you to run virtual machines in the cloud. Standard images include various generic Linux distributions, but it is also possible to run RouterOS CHR with a little workaround. You have to boot the cloud server in the rescue system, download the CHR raw disk image and write it over the system disk of the cloud server. It can be done in just a few steps.

  1. Create a new Hetzner Cloud server (any of the offered)
  2. In the cloud admin interface activate the rescue system and restart the server (ENABLE RESCUE & POWER CYCLE), choose 'linux64' as the Rescue OS. A username and passwoord will be shown. Use that to log into the rescue system via SSH
  3. Download the newest CHR raw disk image: wget https://download2.mikrotik.com/routeros/6.44.3/chr-6.44.3.img.zip, the latest version is available from the download page
  4. Issue the following command unzip chr-6.44.3.img.zip | dd of=/dev/sda bs=1M It will unzip the CHR image and write it over the system disc of the cloud server (/dev/sda)
  5. Restart the server and log into the RouterOS CHR with default user - admin
  6. Please secure your RouterOS right away