Difference between revisions of "Ubiquiti UNMS"
Jump to navigation
Jump to search
↑ https://help.ubnt.com/hc/en-us/articles/360000119728
Michael.mast (talk | contribs) (Created page with "==Environment== EC2 t3a.small CentOS 7 instance with 20GB disk. ==Process== <ref>https://help.ubnt.com/hc/en-us/articles/360000119728</ref> Make sure to add the new SWAP entry...") |
Michael.mast (talk | contribs) |
||
Line 19: | Line 19: | ||
sudo firewall-cmd --permanent --add-port=8443/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 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 | ||
</pre> | </pre> | ||
+ | *Please note that Docker will preempt firewalld. This would require the use of AWS ACLs to restrict access to the management interface. |
Latest revision as of 11:13, 27 January 2020
Environment
EC2 t3a.small CentOS 7 instance with 20GB disk.
Process
[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.