mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 22:11:56 +00:00
Add files via upload
This commit is contained in:
parent
3f682792c2
commit
78c1a7b438
@ -50,22 +50,13 @@ echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m"
|
|||||||
apt-get update &>/dev/null
|
apt-get update &>/dev/null
|
||||||
apt-get -qqy install \
|
apt-get -qqy install \
|
||||||
curl \
|
curl \
|
||||||
sudo \
|
sudo &>/dev/null
|
||||||
python-dev-is-python2 \
|
|
||||||
python-setuptools \
|
|
||||||
libssl-dev \
|
|
||||||
libcurl4-openssl-dev \
|
|
||||||
libjpeg-dev \
|
|
||||||
zlib1g-dev \
|
|
||||||
libffi-dev \
|
|
||||||
libzbar-dev \
|
|
||||||
libzbar0 &>/dev/null
|
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing FFmpeg... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing FFmpeg... \e[0m"
|
||||||
apt-get install ffmpeg v4l-utils -y &>/dev/null
|
apt-get install ffmpeg v4l-utils -y &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing Python... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing Python... \e[0m"
|
||||||
apt-get install python2 curl -y &>/dev/null
|
apt-get install python-dev-is-python2 python-setuptools libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev libffi-dev libzbar-dev libzbar0 -y &>/dev/null
|
||||||
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py &>/dev/null
|
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py &>/dev/null
|
||||||
python2 get-pip.py &>/dev/null
|
python2 get-pip.py &>/dev/null
|
||||||
apt-get install python-pillow &>/dev/null
|
apt-get install python-pillow &>/dev/null
|
||||||
@ -76,13 +67,13 @@ echo -e "${CHECKMARK} \e[1;92m Installing Motion... \e[0m"
|
|||||||
systemctl disable motion &>/dev/null
|
systemctl disable motion &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing MotionEye... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing MotionEye... \e[0m"
|
||||||
pip install motioneye
|
pip install motioneye &>/dev/null
|
||||||
mkdir -p /etc/motioneye
|
mkdir -p /etc/motioneye
|
||||||
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
|
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
|
||||||
mkdir -p /var/lib/motioneye
|
mkdir -p /var/lib/motioneye
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Creating Service file motioneye.service... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Creating Service file motioneye.service... \e[0m"
|
||||||
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
|
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Customizing Container... \e[0m"
|
||||||
rm /etc/motd
|
rm /etc/motd
|
||||||
|
Loading…
Reference in New Issue
Block a user