FAQ Improvements and Errors on Omada SDN Controller Installation on Linux
FAQ Improvements and Errors on Omada SDN Controller Installation on Linux
Tags:
#Controller Installation
I'm moving from running Omada controller in Docker to native mode in Ubuntu 22.04, and have read the FAQ here: https://www.tp-link.com/us/support/faq/3272/
After reading through that, there are some errors and improvements that could be made:
- Supported Linux distributions: include Ubuntu 22.04. See below.
- Through the entire FAQ, there are apt commands that are invalid because the -y comes just before the package name. Example with OpenJDK 8:
sudo apt install -y openjdk-8-jre-headless
Fails with "E: Unable to locate package -y". It should be replaced with the -y after apt, and in many places:
sudo apt -y install openjdk-8-jre-headless.
So this needs to be replaced and resolved. Some other places don't have the -y switch and that could be added.
- On 3.1, Install MongoDB, the public key importing through apt-key is deprecated. This is the command that replaces it:
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo tee /etc/apt/trusted.gpg.d/server-4.4.asc
-
On the Install MongoDB, Ubuntu 22.04 support can be added: echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
-
On How to Compile to JSVC, you could add all the dependencies into a single line: sudo apt install autoconf make gcc openjdk-11-jdk-headless
- And on the instructions to Download the source codes, the version is now 1.3.1. The current wget command line throws an Error 404 not found.
-
On the same, it's missing the command to extract the package after downloading:
wget URL... commons-daemon-1.3.1-src.tar.gz <== updated to 1.3.1
tar -zxvfcommons-daemon-1.3.1-src.tar.gz <== missing cd commons-daemon-1.3.1-src/src/native/unix/
sh support/buildconf.sh <== throw warnings but that's ok
-
Instead of creating a symbolic link, I just copy the jsvc binary to /usr/bin
sudo cp jsvc /usr/bin/
That's it. Keep up with the good work.