• Kiếm tiền với Hostinger

    Kiếm Tiền Cùng Hostinger

    Bạn đang tìm kiếm cách kiếm thêm thu nhập online? Hãy tham gia ngay chương trình Affiliate của Hostinger! Với mỗi khách hàng đăng ký thông qua liên kết của bạn, bạn sẽ nhận được khoản hoa hồng hấp dẫn.

    Hostinger cung cấp các dịch vụ lưu trữ web (hosting) chất lượng cao với mức giá cạnh tranh, giúp bạn dễ dàng giới thiệu và thu hút người dùng.

    Đừng bỏ lỡ cơ hội tuyệt vời này để tăng thêm thu nhập thụ động.

    Tham Gia Ngay

(Mikrotik) Set up Unifi controller on Mikrotik Router

TigerDao

Administrator
Thành viên BQT
In this article, I will introduce to you how to install Unifi controller on Mikrotik Router device using the Container feature on RouterOS 7.4 and above. Using Containers on a router requires a lot of system resources and hard drive space. You need to use Routers with corresponding configurations and support for adding additional hard drives.

– Check the device has Container Package installed at System -> Packagesif you don’t have it yet, please do
download Extra packages for devices at page Download by Mikrotik and upload to the device, after uploading to the device, restart the device to receive the new Package.


(IMG)


– First turn on Container mode with the command below, then disconnect the power, and re-power the device.


/system/device-mode/update container=yes
(IMG)


– When the device restarts, check device-mode again.


(IMG)


– Go Bridgeselect + Create a new bridge.


(IMG)


– Set the IP address for the bridge interface just created at IP -> Addressesin this example is 172.16.0.1/24.


(IMG)


– Go Interfacesselect + and create a Veth interface for the container like the example below.


(IMG)


– Come back Bridgeat tab Portsgive interface veth created above into Bridge.


(IMG)


– Set registry-url to download from Docker.


/container/config/set registry-url= tmpdir=disk1/pull
(IMG)


– In this example, we will use the word image

– To pull images use:


/container/add remote-image= linuxserver/unifi-controller:latest interface=veth1 root-dir=disk1/unifi


(IMG)


– Image will be downloaded and decompressed automatically, check the status with the command /container/print


(IMG)


– After decompression is complete, the container will be in stop state by default.


(IMG)

– To start the container use /container/start number = 0 (in this example, 0), then check again that the container status is now running.

(IMG)


– Use a web browser to go to the address to enter the created unifi controller.


(IMG)



!!! Thank you for following the article!!!

Xem tiếp...
 

Similar threads

N
Trả lời
0
Lượt xem
102
Nick Bromberg
N
Top