Introduction
This guide simplifies the process of installing MikroTik Router OS on a VPS. By automating the installation with a script, there’s no need to manually enter commands in the MikroTik CLI console. Once complete, you’ll have a fully operational VPS running MikroTik Router OS.Getting Started: Prerequisites and VPS Preparation
- Install Ubuntu 22.04 on VPS
- Once installed, turn off the VPS.
- Access the KVM Settings in the server management interface: • Change the Disk Driver to IDE. • Set the Network Driver to E100.
- Apply the changes and restart the VPS.
-
Running the Installation Script
Create the Script File
Connect to the server via SSH Open a terminal and create a script file:CTRL+O
to save your changes, then exit by pressing CTRL+X
.
Set Script Permissions
Set the script execution rights:Run the Script
Connecting to Server Using Winbox
After the VPS reboots, connect to MikroTik Router OS using Winbox:- Download and Install Winbox from the MikroTik website.
-
Open Winbox and create a new connection:
• Enter your VPS IP address.
• Use admin for the Login field and leave the Password field blank.
• Click Connect.
- During the first login, you’ll be prompted to set a new password for added security.
