mirror of
https://github.com/tteck/Proxmox.git
synced 2026-07-04 21:22:39 +02:00
Compare commits
4 Commits
946fad73b9
...
ecb4294a18
| Author | SHA1 | Date | |
|---|---|---|---|
| ecb4294a18 | |||
| 482f60f90a | |||
| a078adfaea | |||
| 122271dd34 |
@@ -24,6 +24,7 @@ $STD apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing Bazarr"
|
msg_info "Installing Bazarr"
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ $STD apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ $STD apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing Deluge"
|
msg_info "Installing Deluge"
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ $STD apt-get install -y \
|
|||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-venv
|
python3-venv
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing ESPHome"
|
msg_info "Installing ESPHome"
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ if [[ "$CTTYPE" == "0" ]]; then
|
|||||||
chmod 660 /dev/dri/*
|
chmod 660 /dev/dri/*
|
||||||
fi
|
fi
|
||||||
msg_ok "Set Up Hardware Acceleration"
|
msg_ok "Set Up Hardware Acceleration"
|
||||||
|
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/blakeblackshear/frigate/releases/latest | jq -r '.tag_name')
|
RELEASE=$(curl -s https://api.github.com/repos/blakeblackshear/frigate/releases/latest | jq -r '.tag_name')
|
||||||
msg_ok "Stop spinner to prevent segmentation fault"
|
msg_ok "Stop spinner to prevent segmentation fault"
|
||||||
msg_info "Installing Frigate $RELEASE (Perseverance)"
|
msg_info "Installing Frigate $RELEASE (Perseverance)"
|
||||||
@@ -155,7 +156,10 @@ cd /
|
|||||||
wget -qO edgetpu_model.tflite https://github.com/google-coral/test_data/raw/release-frogfish/ssdlite_mobiledet_coco_qat_postprocess_edgetpu.tflite
|
wget -qO edgetpu_model.tflite https://github.com/google-coral/test_data/raw/release-frogfish/ssdlite_mobiledet_coco_qat_postprocess_edgetpu.tflite
|
||||||
wget -qO cpu_model.tflite https://github.com/google-coral/test_data/raw/release-frogfish/ssdlite_mobiledet_coco_qat_postprocess.tflite
|
wget -qO cpu_model.tflite https://github.com/google-coral/test_data/raw/release-frogfish/ssdlite_mobiledet_coco_qat_postprocess.tflite
|
||||||
cp /opt/frigate/labelmap.txt /labelmap.txt
|
cp /opt/frigate/labelmap.txt /labelmap.txt
|
||||||
wget -qO cpu_audio_model.tflite https://tfhub.dev/google/lite-model/yamnet/classification/tflite/1?lite-format=tflite
|
wget -qO yamnet-tflite-classification-tflite-v1.tar.gz https://www.kaggle.com/api/v1/models/google/yamnet/tfLite/classification-tflite/1/download
|
||||||
|
tar xzf yamnet-tflite-classification-tflite-v1.tar.gz
|
||||||
|
rm -rf yamnet-tflite-classification-tflite-v1.tar.gz
|
||||||
|
mv 1.tflite cpu_audio_model.tflite
|
||||||
cp /opt/frigate/audio-labelmap.txt /audio-labelmap.txt
|
cp /opt/frigate/audio-labelmap.txt /audio-labelmap.txt
|
||||||
mkdir -p /media/frigate
|
mkdir -p /media/frigate
|
||||||
wget -qO /media/frigate/person-bicycle-car-detection.mp4 https://github.com/intel-iot-devkit/sample-videos/raw/master/person-bicycle-car-detection.mp4
|
wget -qO /media/frigate/person-bicycle-car-detection.mp4 https://github.com/intel-iot-devkit/sample-videos/raw/master/person-bicycle-car-detection.mp4
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ $STD apt-get install -y \
|
|||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
python3-venv
|
python3-venv
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing runlike"
|
msg_info "Installing runlike"
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ $STD apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing Motion"
|
msg_info "Installing Motion"
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ $STD apt-get install -y \
|
|||||||
python3-venv
|
python3-venv
|
||||||
|
|
||||||
$STD apt-get install -y python3-setuptools
|
$STD apt-get install -y python3-setuptools
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Creating user octoprint"
|
msg_info "Creating user octoprint"
|
||||||
|
|||||||
@@ -29,10 +29,10 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Updating Python3"
|
msg_info "Updating Python3"
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
python3 \
|
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
$STD apt-get install -y python3-setuptools
|
$STD apt-get install -y python3-setuptools
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing SABnzbd"
|
msg_info "Installing SABnzbd"
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ $STD apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing Python3 Dependencies"
|
msg_info "Installing Python3 Dependencies"
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ $STD apt-get install -y \
|
|||||||
python3-dev \
|
python3-dev \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Setting up Node.js Repository"
|
msg_info "Setting up Node.js Repository"
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ $STD apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing Tautulli"
|
msg_info "Installing Tautulli"
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ $STD apt-get install -y \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Python3"
|
msg_ok "Updated Python3"
|
||||||
|
|
||||||
msg_info "Installing Whoogle"
|
msg_info "Installing Whoogle"
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade
|
$STD apt-get -o Dpkg::Options::="--force-confold" -y dist-upgrade
|
||||||
|
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||||
msg_ok "Updated Container OS"
|
msg_ok "Updated Container OS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user