1. prereqs
mcedit -b /etc/yum.repos.d/mongodb-org.repo
#
[mongodb-org]
name=mongodb-org
baseurl=http://repo.mongodb.org/yum/redhat/9/mongodb-org/6.0/x86_64/
enabled=1
gpgcheck=0
yum -y install http://repo.iotti.biz/CentOS/8/x86_64/apache-commons-daemon-jsvc-1.2.2-5.el8.lux.x86_64.rpm
yum -y install java-17-openjdk-headless mongodb-org
systemctl enable --now mongod
2. installation
mkdir -p /etc/init.d
touch -a /sbin/chkconfig
chmod +x /sbin/chkconfig
wget -q --show-progress https://static.tp-link.com/upload/software/2023/202303/20230321/Omada_SDN_Controller_v5.9.31_Linux_x64.tar.gz -O /tmp/omada.tar.gz
tar xzf /tmp/omada.tar.gz -C /tmp/
cd /tmp/Omada_SDN_Controller*/
./install.sh
Omada Controller will be installed in [/opt/tplink/EAPController] (y/n): y
======================
Installation start ...
Install Omada Controller succeeded!
==========================
Omada Controller will start up with system boot. You can also control it by [/usr/bin/tpeap].
Starting Omada Controller. Please wait......................................
Started successfully.
You can visit http://localhost:8088 on this host to manage the wireless network.
========================
cd
rm -fr /tmp/omada.tar.gz /tmp/Omada_SDN_Controller*/
3. service
mcedit -b /usr/lib/systemd/system/ss-omada.service
#
# omada service
# 16mar2023: initial version (ary)
[Unit]
Description=omada
After=network.service
[Service]
Type=simple
ExecStart=/opt/tplink/EAPController/bin/control.sh start
ExecStop=/opt/tplink/EAPController/bin/control.sh stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
systemctl stop ss-omada.service
systemctl enable --now ss-omada.service
4. configuration
5. proxy (optional)
yum -y install 3proxy
wget -N -nv http://d01cid.ddns.net/sharel/etc/3proxy.cfg -P /etc/
mkdir -p /var/log/3proxy
echo "tcppm 80 localhost 8088" >> /etc/3proxy.cfg
systemctl enable --now 3proxy.service