Difference between revisions of "Unifi Controller"

From Michael's Information Zone
Jump to navigation Jump to search
(Created page with "==Debian 10== This is just recording steps I took, may not work. *On clean install<ref>https://www.tecmint.com/install-mongodb-on-debian/</ref><ref>https://askubuntu.com/quest...")
 
Line 1: Line 1:
 
==Debian 10==
 
==Debian 10==
 
This is just recording steps I took, may not work.
 
This is just recording steps I took, may not work.
*On clean install<ref>https://www.tecmint.com/install-mongodb-on-debian/</ref><ref>https://askubuntu.com/questions/1075264/the-following-packages-have-unmet-dependenciesunifi</ref>
+
<br>
 +
On clean install
 +
*Basic packages needed
 
<pre>
 
<pre>
 
apt update
 
apt update
 
apt upgrade
 
apt upgrade
 
apt install wget curl libcurl4
 
apt install wget curl libcurl4
 +
</pre>
 +
*MongoDB Packages<ref>https://www.tecmint.com/install-mongodb-on-debian/</ref>
 +
<pre>
 +
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
 +
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main" | tee /etc/apt/sources.list.d/mongodb-org.list
 +
echo "deb http://deb.debian.org/debian/ stretch main" | tee /etc/apt/sources.list.d/debian-stretch.list
 +
apt update
 +
apt install mongodb-org mongodb-org-server libcurl3
 +
</pre>
 +
*Install dependencies.
 +
<pre>
 +
apt install binutils curl openjdk-8-jre-headless jsvc libcurl4
 +
</pre>
 +
*Edit Unifi package and install<ref>https://askubuntu.com/questions/1075264/the-following-packages-have-unmet-dependenciesunifi</ref>
 +
<pre>
 
wget https://dl.ui.com/unifi/5.12.35/unifi_sysvinit_all.deb
 
wget https://dl.ui.com/unifi/5.12.35/unifi_sysvinit_all.deb
 
mkdir tmp
 
mkdir tmp
pkg-deb -R unifi_sysvinit_all.deb tmp
+
dpkg-deb -R unifi_sysvinit_all.deb tmp
 +
sed -i '/mongodb-server/ d' tmp/DEBIAN/control
 +
dpkg-deb -b tmp unifi-fixed.deb
 +
dpkg -i unifi-fixed.deb
 
</pre>
 
</pre>

Revision as of 16:38, 4 January 2020

Debian 10

This is just recording steps I took, may not work.
On clean install

  • Basic packages needed
apt update
apt upgrade
apt install wget curl libcurl4
  • MongoDB Packages[1]
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 main" | tee /etc/apt/sources.list.d/mongodb-org.list
echo "deb http://deb.debian.org/debian/ stretch main" | tee /etc/apt/sources.list.d/debian-stretch.list
apt update
apt install mongodb-org mongodb-org-server libcurl3
  • Install dependencies.
apt install binutils curl openjdk-8-jre-headless jsvc libcurl4
  • Edit Unifi package and install[2]
wget https://dl.ui.com/unifi/5.12.35/unifi_sysvinit_all.deb
mkdir tmp
dpkg-deb -R unifi_sysvinit_all.deb tmp
sed -i '/mongodb-server/ d' tmp/DEBIAN/control
dpkg-deb -b tmp unifi-fixed.deb
dpkg -i unifi-fixed.deb