-
Notifications
You must be signed in to change notification settings - Fork 663
Install On Arch
Krzysztof Sokol edited this page Sep 6, 2015
·
19 revisions
note: These instructions apply to Arch Linux. They may work for other Arch-based distributions but the procedure hasn't been tested.
-
Install
motion
,ffmpeg
andv4l-utils
:pacman -S motion ffmpeg v4l-utils
note: For other versions of
motion
check out Compiling Motion instead of installing it usingpacman
. -
Install the dependencies from the repositories:
pacman -S python2-pip base-devel
-
Install
motioneye
, which will automatically pull Python dependencies (tornado
,jinja2
,pillow
andpycurl
):pip2 install motioneye
-
Prepare the configuration directory:
mkdir -p /etc/motioneye cp /usr/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:cp /usr/share/motioneye/extra/motioneye.systemd-unit /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:
pip2 install motioneye --upgrade **note** that will update all the other required dependecies systemctl restart motioneye
**Please note that all the commands assume that you are root.
home | installation | faq