Install MotionEye:
pip2 install motioneye
Setting Up The Directory:
mkdir -p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
Preparing The Media Directory:
mkdir -p /var/lib/motioneye
Add An Init Script, Configure It To Run At Start And Run MotionEye:
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
systemctl daemon-reload
systemctl enable motioneye
systemctl start motioneye
To Upgrade:
pip install motioneye --upgrade
systemctl restart motioneye