-
Notifications
You must be signed in to change notification settings - Fork 662
Install On Debian
Calin Crisan edited this page Aug 30, 2015
·
31 revisions
note: These instructions apply to Debian and Debian-based distributions. For Ubuntu and Raspbian however, you should check out their specific instructions.
-
You'll need to add the following repo to your apt sources (required for
ffmpeg
):echo "deb http://www.deb-multimedia.org stable main non-free" >> /etc/apt/sources.list apt-get update
-
Install
motion
,ffmpeg
andv4l-utils
:apt-get install motion ffmpeg v4l-utils
note: For other versions of
motion
check out Compiling Motion instead of installing it usingapt-get
. -
Install the dependencies from the repositories:
apt-get install python-dev libcurl4-openssl-dev
-
Install
motioneye
, which will automatically pull Python dependencies (tornado
,jinja2
,pillow
andpycurl
):pip install motioneye
-
Prepare the configuration directory:
mkdir -p /etc/motioneye cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
-
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 update-rc.d -f motioneye defaults /etc/init.d/motioneye start
-
Debian 8, systemd-based:
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit /etc/systemd/system systemctl enable motioneye systemctl start motioneye
-
home | installation | faq