Add an xml file containing this:
<?xml version="1.0" ?>
<repositories version="1.0">
<repo priority="50" quality="experimental" status="unofficial">
<name>chaos</name>
<description>Chaos.</description>
<homepage>https://github.com/travisghansen/chaos/</homepage>
<owner>
<email>travisghansen@github.com</email>
</owner>
<source type="git">git://github.com/travisghansen/chaos.git</source>
</repo>
</repositories>
to /etc/layman/overlays, say as "chaos.xml". The .xml is important by the way!
Then simply sync your layman overlay list, add the overlay and emerge the package.
layman -S ; layman -a chaos ; emerge unifi
Optionally, you can modify the port that the server listens on by editing /var/lib/unifi/data/system.properties .
I set my ports as such:
unifi.http.port=80
unifi.https.port=443
Update: script form
mkdir -p /etc/layman/overlays/
cat <<EOF >> /etc/layman/overlays/chaos.xml
<?xml version="1.0" ?>
<repositories version="1.0">
<repo priority="50" quality="experimental" status="unofficial">
<name>chaos</name>
<description>Chaos.</description>
<homepage>https://github.com/travisghansen/chaos/</homepage
<owner><email>travisghansen@github.com</email></owner>
<source type="git">git://github.com/travisghansen/chaos.git</source>
</repo>
</repositories>
EOF
layman -S ; layman -a chaos ; emerge unifi
cat <<EOF >> /var/lib/unifi/data/system.properties
unifi.http.port=80
unifi.https.port=443
EOF
It works great! Thank you!
ReplyDeleteYay, works great. Also I updated it to 3.2.10 by unpacking the archive from http://www.ubnt.com/downloads/unifi/3.2.10/UniFi.unix.zip
ReplyDeleteMaybe you could provide a new eBuild for 3.2.10-GA - Changelog: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-3-2-10-is-released/ba-p/1165532
Thank you very much.
ReplyDeleteMaybe you could do ebuild 4.6.6.
https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-4-6-6-is-released/ba-p/1288816
I've made updated ebuilds available via my own gentoo overlay:
ReplyDeletehttps://github.com/jonesmz/gentoo-overlay
Including a 4.6.6 build.
Nice article, Which you have shared here about the UniFi controller. Your article is very informative and nicely describes the installation process of UniFi controller software on Gentoo. If anyone looking to buy Ubiquiti Unifi Wireless Access Point, Visit ubiquiti.asia/en
ReplyDeleteGood to know about this awesome blog. Try our fairy light hire service for weddings & events which helps in creating an exceptional backdrop for wedding photos. Visit us on outdoor fairy lights Melbourne
ReplyDeleteReally nice information you had provided here. And i wanna appreciate within this. Thank you for providing this information. Chaps-pa.co.uk is an excellent platform provide sound hire and audio equipment rental in London at fair prices. Visit us at sound hire surrey
ReplyDeleteI am amazed by the way you have explained things in this article. This article is quite interesting and I am looking forward to reading more of your posts. The Paniolo Ranch Bed, Breakfast, and Spa is here to make planning the wedding of your dreams simple, elegant, and effortless. Visit us on wedding venues in the hill country
ReplyDelete