Automatic Installation of MikroTik Router OS (MikroTik CHR)
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.
- 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.
- Note: Changes to KVM settings require a shutdown and power cycle to take effect.
Open a terminal and create a script file:
Copy and paste the following script into the file
Press CTRL+O to save your changes, then exit by pressing CTRL+X.
Set the script execution rights:
The VPS will reboot automatically once the installation completes.
After the VPS reboots, connect to MikroTik Router OS 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 leave the Password field blank.
• Click Connect.
-
3. During the first login, you’ll be prompted to set a new password for added security.
Congratulations! MikroTik Router OS is now successfully installed and operational on your VPS. With the automated script, accessing and managing Mikrotik CHR via Winbox is quick and efficient. After securing your credentials and testing the setup, your infrastructure setup is ready for seamless network management.