在Raspbian上部署motionEye
本文最后更新于 118 天前,其中的信息可能已经有所发展或是发生改变。

虽然我放弃了motion方案,但我之前还是部署成功了哒

其他系统环境请看 官方教程

一、安装依赖
apt-get install ffmpeg libmariadb3 libpq5 libmicrohttpd12 python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev
wget https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
dpkg -i pi_buster_motion_4.2.2-1_armhf.deb
二、安装motionEye
pip install motioneye
三、初始化motionEye
mkdir -p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
mkdir -p /var/lib/motioneye
四、配置systemctl
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
systemctl daemon-reload
systemctl enable motioneye
systemctl start motioneye

然后你就可以愉快的使用motion了 http://[ip]:8765

五、升级
pip install motioneye --upgrade
systemctl restart motioneye

参考资料

官方教程

暂无评论

发送评论 编辑评论


				
上一篇
下一篇