在armbian下一個命令即可:apt-get install motion
接下來就是配置config文件了:
1、nano /etc/default/motion
把裏面的no修改成yes,讓他可以一直在後臺運行
start_motion_daemon=yes
2、nano /etc/motion/motion.conf
把下列接個項改成:
daemon on
width 640
height 480
framerate 100
stream_localhost off
完成之後可以輸入:motion運行服務
在瀏覽器輸入ip:8081就可以實現攝像頭查看