Ubiquiti UNMS

From Michael's Information Zone
Jump to navigation Jump to search


EC2 t3a.small CentOS 7 instance with 20GB disk.


[1] Make sure to add the new SWAP entry to fstab, as well as enable security update installation via yum-cron!

sudo dd if=/dev/zero of=/SWAP bs=1024 count=2097151
sudo chmod 0600 /SWAP
sudo mkswap /SWAP
sudo swapon /SWAP
sudo yum upgrade -y
sudo hostnamectl set-hostname unms.domain.tld
sudo yum -y install firewalld yum-cron
sudo reboot -h now
sudo systemctl enable --now firewalld
sudo systemctl enable --now yum-cron
sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --permanent --add-port=81/tcp
sudo firewall-cmd --permanent --add-port=8443/tcp
sudo firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=xxx.xxx.xxx.xxx accept'
sudo curl -fsSL https://unms.com/v1/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh --ws-port 8443
  • Please note that Docker will preempt firewalld. This would require the use of AWS ACLs to restrict access to the management interface.
  • https://help.ubnt.com/hc/en-us/articles/360000119728