1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

motioneye for x64 install ubuntu20.04LTS

Last updated at Posted at 2021-09-13

先に最新verにしときます

apt update && sudo apt upgrade -y

motioneyeのベースのもとをインストールしていきます

apt install curl motion ffmpeg v4l-utils -y

そして次にmotioneyeを動かすpipをインストールしていきます

apt-get install python2 -y
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
python2 get-pip.py
apt install libffi-dev libzbar-dev libzbar0 -y
apt install python2-dev libssl-dev libcurl4-openssl-dev libjpeg-dev -y
apt install python-pil -y

motioneyeをインストールしていきます

pip2 install motioneye
mkdir -p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
mkdir -p /var/lib/motioneye
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service

motioneyeの自動起動設定

systemctl daemon-reload
systemctl enable motioneye
systemctl start motioneye

motioneyeの単体アップデート

pip2 install motioneye --upgrade
motioneye 再起動
systemctl restart motioneye
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?