Skip to content

Manual Download And Installation

Calin Crisan edited this page Sep 4, 2015 · 9 revisions

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.

  1. Unless you configure your machine for a remote cameras-only hub, make sure you have motion, ffmpeg and v4l-utils installed on your system. This step depends on the distro you're using.

  2. Make sure you have Installed a python 2.7 interpreter, pip, libcurl and libjpeg.

  3. Download motioneye from PyPI or directly from releases on github.

  4. Install motioneye, which will automatically pull Python dependencies (tornado, jinja2, pillow and pycurl):

    • 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
      
  5. Prepare the configuration directory (you can choose to use whatever configuration directory you want):

     mkdir -p /path/to/motioneye/conf
     cp /usr/share/motioneye/extra/motioneye.conf.sample /path/to/motioneye/conf/motioneye.conf
    
  6. Run the motionEye server:

     meyectl startserver -c /path/to/motioneye/conf/motioneye.conf
    

    (hit Ctrl+C to terminate)

    note: You can use the -b argument to meyectl to start the server in background, and then meyectl stopserver to stop it.

Clone this wiki locally