Skip to main content

Introduction

This guide shows how to install MikroTik RouterOS (CHR) on an EDIS Global VPS using a script. The installer automatically retrieves the latest stable RouterOS v7 release available from MikroTik at installation time and downloads the matching CHR disk image. You do not need to select a fixed version number. The latest-version selection applies when you run the installer; it does not enable ongoing automatic updates for an existing RouterOS installation. After installation, configure the administrator password and network settings as described below, then connect using Winbox.

Getting started: prerequisites and VPS preparation

Open a terminal and create a script file:
Copy and paste the following script into the file:
Script
Press CTRL+O to save your changes, then exit by pressing CTRL+X.

Set script permissions

Set the script execution rights:

Run the script

The VPS will reboot automatically once the installation completes.

Install settings manually in RouterOS

  1. Log in to your VPS Management Portal
  2. Locate your VPS from the Services tab
  3. Enable VNC Server
  4. Open noVNC or connect using a VNC client
  5. Log in to RouterOS using the admin account and blank password (no password)
  6. Set up a new password for the admin account
  7. Show the name of interfaces:

Check name of interface

Check name of interface in RouterOS
  1. Check your Network Information in the billing panel. Configure the IP address of the server (192.168.1.100 - IP address of the server & ether1 - name of interface):
  1. Configure the gateway (192.168.1.1 - IP address of gateway):
  1. Configure DNS:
After you have finished configuring RouterOS in VNC, connect to MikroTik RouterOS using Winbox.

Connect to the server using Winbox

  1. Download and install Winbox from the MikroTik website.
  2. Open Winbox and create a new connection: • Enter your VPS IP address. • Use admin for the Login field and enter the Password that you set before. • Click Connect. Install MikroTik RouterOS
Congratulations! MikroTik RouterOS is now successfully installed and operational on your VPS. The automated script makes accessing and managing MikroTik CHR through Winbox quick and efficient. After securing your credentials and testing the setup, your infrastructure is ready for network management.
Last modified on September 18, 2026