-
Notifications
You must be signed in to change notification settings - Fork 663
Install On Arch
Calin Crisan edited this page Mar 6, 2016
·
19 revisions
- Read the general Installation page first.
- These instructions apply to Arch Linux. They may work for other Arch-based distributions but the procedure hasn't been tested.
- All commands require root; use
sudo
before each command or become root usingsudo -i
.
-
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 mime-types curl
-
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, just issue:
pip install motioneye --upgrade systemctl restart motioneye
home | installation | faq