-
Notifications
You must be signed in to change notification settings - Fork 700
Manual Download And Installation
- Below instructions are for the old Python 2 based version of motionEye.
- Please refer to our new install instructions for the new Python 3 based version: https://github.com/motioneye-project/motioneye#installation
- Please open an issue at https://github.com/motioneye-project/motioneye/issues if you can update below instructions.
- Read the general Installation page first.
- 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.
- All commands require root; use
sudobefore each command or become root usingsudo -iorsu.
-
Unless you configure your machine for a remote cameras-only hub, make sure you have
motion,ffmpegandv4l-utilsinstalled on your system. This step depends on the distro you're using. -
Make sure you have installed a
python 2.7interpreter,pip,python-setuptools,libcurlandlibjpeg. -
Download
motioneyefrom PyPI or directly from releases on github. -
Install
motioneye, which will automatically pull Python dependencies (tornado,jinja2,pillowandpycurl):-
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.confnote: 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
motionEyeserver:meyectl startserver -c /path/to/motioneye/motioneye.conf(hit Ctrl+C to terminate)
note: You can use the
-bargument tomeyectlto start the server in background, and thenmeyectl stopserverto stop it.
home | installation | faq
Installation (deprecated)
- Install On Debian (deprecated)
- Install on Debian 11 (Bullseye) (deprecated)
- Install On Ubuntu (20.04 ‐ 21.10) (deprecated)
- Install On Raspbian Buster (deprecated)
- Install on Raspbian Bullseye (deprecated)
- Install On Fedora (deprecated)
- Install On Arch (deprecated)
- Install On Other Distros (deprecated)
- Install In Docker (deprecated)
- Manual Installation (deprecated)