Installing TP-Link Omada SDN Controller on a Debian-based LXC

From Da Nerd Mage Wiki
Jump to navigation Jump to search
Proven on:
Logo Debian.png
12 (bookworm) 4GB RAM, 4 cores

Start with the prerequisites:

  • sudo apt update && sudo apt install openjdk-17-jre-headless jsvc curl gnupg -y
    • wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
    • sudo dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb
  • curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
  • echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
  • sudo apt update && sudo apt install mongodb-org
  • sudo systemctl start mongod.service
  • sudo systemctl status mongod
  • sudo systemctl enable mongod

Install SDN:

  • sudo wget wget https://static.tp-link.com/upload/software/2023/202312/20231201/Omada_SDN_Controller_v5.13.22_Linux_x64.tar.gz
  • tar zxvf Omada_SDN_Controller_v5.12.7_linux_x64.tar.gz
  • cd Omada_SDN_Controller_v5.12.7_linux_x64
  • sudo bash ./install.sh

or (Tho this seems to fail weirdly whenever they update the version while the tar.gz version doesn't):

  • wget https://static.tp-link.com/upload/software/2023/202312/20231201/Omada_SDN_Controller_v5.13.22_Linux_x64.deb
  • sudo dpkg -i ./Omada_SDN_Controller_v5.13.22_Linux_x64.deb

Upon install, Omada Controller will start up. Eventually. It does seem to take a VERY long time for it's first start...

https://SERVERADDRESS:8043/

CERTS!!!

You'll need to have your proper certs downloaded & then mess with making a .PFX file from them...

(Really, just Part B, Step 1 at that link.)

Then install/update via the UI & fully reboot the server/VM/LXC to activate it... :(