mirror of https://gitlab.com/hp3icc/emq-TE1.git
update
This commit is contained in:
parent
38c19f7551
commit
67585b526c
|
|
@ -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)"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue