-
Notifications
You must be signed in to change notification settings - Fork 663
Manual Download And Installation
Although not recommended, manually installing motionEye can give you more control over the directory where motionEye is installed and the way the server is started.
-
Unless you configure your machine for a remote cameras-only hub, make sure you have
motion
,ffmpeg
andv4l-utils
installed on your system. This step depends on the distro you're using. -
Make sure you have Installed a
python 2.7
interpreter,pip
,libcurl
andlibjpeg
. -
Download
motioneye
from PyPI or directly from releases on github. -
Install
motioneye
, which will automatically pull Python dependencies (tornado
,jinja2
,pillow
andpycurl
):-
using
pip
:pip install motioneye-x.y.tar.gz
-
manually running
setup.py
:tar zxvf motioneye-x.y.tar.gz cd motioneye-x.y python setup.py install --prefix=/usr
-
-
Prepare the configuration directory (you can choose to use whatever configuration directory you want):
mkdir -p /path/to/motioneye cp /usr/share/motioneye/extra/motioneye.conf.sample /path/to/motioneye/motioneye.conf
-
You will probably want to edit the configuration file and change various paths:
nano /path/to/motioneye/motioneye.conf
note: if you comment out all the paths in
motioneye.conf
, the/path/to/motioneye/
folder will be used for conf, run, log and media paths. -
Run the
motionEye
server:meyectl startserver -c /path/to/motioneye/motioneye.conf
(hit Ctrl+C to terminate)
note: You can use the
-b
argument tomeyectl
to start the server in background, and thenmeyectl stopserver
to stop it.
home | installation | faq