MotionEye. Installation

Материал из Wiki
Версия от 21:19, 16 ноября 2023; Cless (обсуждение | вклад) (Новая страница: «= Installation = == Debian == Install utils <code>apt-get install motion ffmpeg v4l-utils</code><blockquote>note: Python 2.7 is required. If your system still r...»)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к навигации Перейти к поиску

Installation

Debian

Install utils

apt-get install motion ffmpeg v4l-utils

note: Python 2.7 is required. If your system still runs Python 2.6 or older, please upgrade.

apt-get install python-pip python-dev python-setuptools curl libssl-dev libcurl4-openssl-dev libjpeg-dev libz-dev

Motioneye installation

pip install motioneye

Config

mkdir -p /etc/motioneye

cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf

Prepare the media directory

mkdir -p /var/lib/motioneye

Add an init script, configure it to run at startup and start the motionEye server

Debian 7, sysvinit-based:

cp /usr/local/share/motioneye/extra/motioneye.init-debian /etc/init.d/motioneye

chmod +x /etc/init.d/motioneye

update-rc.d -f motioneye defaults

/etc/init.d/motioneye start

Debian 8 and newer, systemd-based:

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 to the newest version of motioneye, after it has been released, just issue:

pip install motioneye --upgrade

systemctl restart motioneye

Go to web

http://192.168.1.100:8765

admin

<ПУСТОЙ_ПАРОЛЬ>