How to install Omada Cloud Controller on Ubuntu 22.04 LTS (jammy) (scripts for Java8 and Java11)
Current guide covers installation of Omada Software Controller for Linux on Ubuntu Linux 22.04 LTS (amd64) and during creation of this guide v5.4.6 is installed.
If you are looking for other guides tested with Amazon AWS free tier:
- Amazon Linux
- Debian 11 "bullseye" (amd64)
- Red Hat Enterprise Linux 8
- SUSE Linux Enterprise server 15
- Ubuntu 22.04 LTS (arm64)
- Debian10/Ubuntu20.04/CentOS8 with Docker
Other guides:
Omada Controller dependencies:
- Java8/Java11 (can be installed from repository, if java11 is used, jsvc has to be compiled as min. required version is 1.1 and ubuntu repos offer still 1.0)
- jsvc (version v1.0 can be installed from repository, v1.1 or higher has to be compiled manually)
- curl (normally curl is installed per default, if not, can be installed from repository)
- mongodb4.4 (can not be installed from repository, depends on libssl1.1)
- libssl1.1 (can not be installed from repository, this guide covers installation of downloaded deb package )
In attachment of this post, you can find install-omada-on-Ubuntu-22.04.zip which includes install script examples for installation with java8 and java11.
- Install-Omada-on-Ubuntu-22.04lts-simple-java8.sh (simple script example)
- Install-Omada-on-Ubuntu-22.04lts-simple-java11.sh (simple script example)
- install-omada-aws-22.04-java11.sh (script with some checks which was tested on aws)
- install-omada-aws-22.04-java8.sh (script with some checks which was tested on aws)
Please copy and paste from script file in attachment of this post. If you decide to copy directly from here, then please be aware:
AS LONG AS URLS IN BOLD ARE NOT WHITELISTED FOR THIS FORUM, PLEASE DO NOT COPY AND PASTE ANYTHING FROM TEXT BELLOW WHICH IS IN BOLD AND SMALLER TEXT SIZE. I HAD TO USE CUSTOM FONT ON THOSE LINES FOR ABILITY TO POST AS THIS FORUMS SOFTWARE MARKS THEM AS ILLEGAL LINKS
# 1. Update apt and upgrade system
sudo apt update && sudo apt upgrade -y
# 2. Install libssl1.1 which is dependency for MongoDB 4.4
wget 𝐡𝐭𝐭𝐩://𝐚𝐫𝐜𝐡𝐢𝐯𝐞.𝐮𝐛𝐮𝐧𝐭𝐮.𝐜𝐨𝐦/𝐮𝐛𝐮𝐧𝐭𝐮/𝐩𝐨𝐨𝐥/𝐦𝐚𝐢𝐧/𝐨/𝐨𝐩𝐞𝐧𝐬𝐬𝐥/𝐥𝐢𝐛𝐬𝐬𝐥𝟏.𝟏_𝟏.𝟏.𝟏𝐟-𝟏𝐮𝐛𝐮𝐧𝐭𝐮𝟐.𝟏𝟔_𝐚𝐦𝐝𝟔𝟒.𝐝𝐞𝐛
sudo apt install -y ./𝐥𝐢𝐛𝐬𝐬𝐥𝟏.𝟏_𝟏.𝟏.𝟏𝐟-𝟏𝐮𝐛𝐮𝐧𝐭𝐮𝟐.𝟏𝟔_𝐚𝐦𝐝𝟔𝟒.𝐝𝐞𝐛
# 3. Install MongoDB
sudo apt install -y software-properties-common
wget -qO- https://www.mongodb.org/static/pgp/server-4.4.asc | sudo tee /etc/apt/trusted.gpg.d/mongodb-org-4.4.asc
sudo add-apt-repository -y "deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse"
sudo apt install -y mongodb-org
# 4. Install omada dependencies
sudo apt install -y openjdk-8-jre-headless jsvc curl
# 5. Download and install Omada Controller Software
wget https://static.tp-link.com/upload/software/2022/202207/20220729/Omada_SDN_Controller_v5.4.6_Linux_x64.deb
sudo apt install -y ./𝐎𝐦𝐚𝐝𝐚_𝐒𝐃𝐍_𝐂𝐨𝐧𝐭𝐫𝐨𝐥𝐥𝐞𝐫_𝐯𝟓.𝟒.𝟔_𝐋𝐢𝐧𝐮𝐱_𝐱𝟔𝟒.𝐝𝐞