Update emqx-install.sh

This commit is contained in:
tteckster 2022-09-24 04:13:18 -04:00 committed by GitHub
parent 4078e67dad
commit 0060499d74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -74,12 +74,12 @@ apt-get install -y gnupg &>/dev/null
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing EMQX" msg_info "Installing EMQX"
curl -s https://assets.emqx.com/scripts/install-emqx-deb.sh | sudo bash &>/dev/null #curl -s https://assets.emqx.com/scripts/install-emqx-deb.sh | sudo bash &>/dev/null
sudo apt-get install -y emqx &>/dev/null #sudo apt-get install -y emqx &>/dev/null
sudo emqx start &>/dev/null #sudo emqx start &>/dev/null
#wget https://www.emqx.com/en/downloads/broker/5.0.8/emqx-5.0.8-debian11-amd64.deb &>/dev/null wget https://www.emqx.com/en/downloads/broker/5.0.8/emqx-5.0.8-debian11-amd64.deb &>/dev/null
#apt install ./emqx-5.0.8-debian11-amd64.deb &>/dev/null apt install ./emqx-5.0.8-debian11-amd64.deb &>/dev/null
#systemctl start emqx systemctl start emqx
msg_ok "Installed EMQX" msg_ok "Installed EMQX"
PASS=$(grep -w "root" /etc/shadow | cut -b6); PASS=$(grep -w "root" /etc/shadow | cut -b6);