2 实践部分
2.1 环境配置
2.1.1 配置系统自带的apt源
vi /etc/apt/sources.list
配置如下:
#deb cdrom:[Debian GNU/Linux 7.11.0 _Wheezy_ - Official amd64 DVD Binary-1 20160605-17:36]/ wheezy contrib main deb http://security.debian.org/ wheezy/updates main contrib deb-src http://security.debian.org/ wheezy/updates main contrib
更新源仓库:
apt-get update
2.1.2 配置unifi的apt源
echo "deb http://ftp2.cn.debian.org/debian Debian7.11 main" | tee /etc/apt/sources.list.d/debian.list echo "deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti" | tee /etc/apt/sources.list.d/unifi.list echo "deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen" | tee /etc/apt/sources.list.d/mongodb-10gen.list
更新源仓库:
apt-get update
2.1.3 安装unifi-video主程序
apt-get install unifi-video
如果提示以下错误:
输入如下命令解决:
apt-get -f install
参阅文档
=============================================================
unifi的安装:
http://bbs.ubnt.com.cn/forum.php?mod=viewthread&tid=6896
https://community.ubnt.com/t5/UniFi-Video-Blog/bg-p/blog_airVision
Debian源地址:
https://www.debian.org/mirror/list
Mongodb的安装:
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/
Mongodb的安装源:
http://downloads-distro.mongodb.org/repo/debian-sysvinit/
UBNT官方源地址:
本文出自 “老谭linux集群博客” 博客,请务必保留此出处http://cmdschool.blog.51cto.com/2420395/1878771
原文地址:http://cmdschool.blog.51cto.com/2420395/1878771