This commit is contained in:
Esteban Mackay Q 2023-12-11 16:13:43 -05:00
parent 38c19f7551
commit 67585b526c
2 changed files with 14 additions and 6 deletions

View File

@ -222,7 +222,7 @@ EOF
### ###
############################## ##############################
cat > /opt/emq-ver <<- "EOF" cat > /opt/emq-ver <<- "EOF"
EMQ-VER: 23.12.9 EMQ-VER: 23.12.12
EOF EOF
############################## ##############################
bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)" bash -c "$(curl -fsSLk https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu)"

View File

@ -19,11 +19,19 @@ echo "deb https://deb.debian.org/debian bullseye-backports main" > /etc/apt/sour
apt-get update apt-get update
# Install the dependencies # Install the dependencies
VERSION=$(sed 's/\..*//' /etc/debian_version)
apt install -y apache2 python3-argon2 if [ $VERSION = 10 ]
apt install -y -t bullseye-backports python3-websockets python3-aiohttp python3-aiohttp-session then
apt-get remove python3-aiohttp python3-websockets -y
# Install Allmon3 pip3 install aiohttp
pip3 install aiohttp_session
pip3 install websockets
elif [ $VERSION = 11 ]
then
apt-get install -y apache2 python3-argon2
apt-get install -y -t bullseye-backports python3-websockets python3-aiohttp python3-aiohttp-session
fi
#### Install Allmon3
wget https://github.com/AllStarLink/Allmon3/releases/download/rel_t_1_0_2/allmon3_1.0.2-1_all.deb wget https://github.com/AllStarLink/Allmon3/releases/download/rel_t_1_0_2/allmon3_1.0.2-1_all.deb
dpkg -i allmon3_1.0.2-1_all.deb dpkg -i allmon3_1.0.2-1_all.deb