Cài xong lần đầu nên cài đặt lại hệ thống bằng lệnh
/system reset-configuration no-defaults=yes skip-backup=yes
Download: https://drive.google.com/file/d/1ZTgZiSffQRASl7Jekt4S-3gvMAVdaoCY/view
Cài đặt RouterOS lên Proxmox
Giải nén file OVA bằng 7zip hoặc lệnh
tar -xvf ROS7.ova
Upload file ROS7-6G.ovf và ROS7-6G-disk1.vmdk lên Proxmox bằng Termius (/tmp/ros)
Truy cập vào thư mục /tmp/ros bằng lệnh
cd /tmp/ros
Mở shell trên Proxmox, chạy lệnh sau để hệ thống tự tạo máy ảo mới với từ file ROS7-6G.ovf với ID là 777
qm importovf 777 ROS7-6G.ovf local-lvm --format qcow2
Mở file conf của máy ảo vừa tạo bằng lệnh
nano /etc/pve/nodes/proxmox/qemu-server/777.conf
Chèn thêm nội dung sau vào sau dòng 3 (ide0: local-lvm:vm-777-disk-0)
,model=VMware%20Virtual%20IDE%20Hard%20Drive,serial=00000000000000000001
Sau khi thêm, nội dung của dòng 3 sẽ như sau
ide0: local-lvm:vm-777-disk-0,model=VMware%20Virtual%20IDE%20Hard%20Drive,serial=00000000000000000001
Nhấn Ctrl+X, sau đó nhấn Y rồi Enter để thoát
Cài đặt lại máy ảo Proxmox theo cấu hình sau:
- Options: OS Type -> Type Linux, Version chọn 5.x – 2.6 Kernel hoặc 6.x – 2.6 Kernel
- Hardware: BIOS -> OVMF (UEFI)
- Hardware: Processors -> Type: host
Cài đặt RouterOS lên ESXI:
- Tạo máy ảo mới
- Chọn tạo máy ảo từ file OVA
- Nhập tên máy ảo và drag OVA file vào box cài đặt
- Network mapping: Chọn bất kì card mạng nào ( có thể thay đổi sau khi cài đặt máy ảo )
- Disk: Provisioning-Thin
- Deployment Options: √ Cancel before automatically powering on
Nếu thông báo lỗi “Missing require disk image” xuất hiện, bạn chỉ cần bỏ qua nó và nhấn Finish để kết thúc thanh tiến trình bên dưới và có thể chỉnh sửa cấu hình máy ảo.
Không được thay đổi Disk 1, nếu không sẽ mất bản quyền
ROS common commands
1. View the network card interface: /interface print
2. Add an IP address to the network port: /ip address add address=10.0.0.1/24 interface=ether1
3. Remove the interface IP address: /ip address remove 0
4. Restart the system: /system reboot
5. Shut down the system: /system shutdown
6. Restore the original state: /system reset-configuration no-defaults=yes skip-backup=yes
7. View IP configuration: /ip address print
8. View the license: /system license print