From 4078e67dad608d74dcd1dc02ecf522e64a2c991b Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 24 Sep 2022 00:39:40 -0400 Subject: [PATCH] Update emqx-install.sh --- setup/emqx-install.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/setup/emqx-install.sh b/setup/emqx-install.sh index 69ee6b25..4947a0cc 100644 --- a/setup/emqx-install.sh +++ b/setup/emqx-install.sh @@ -74,12 +74,12 @@ apt-get install -y gnupg &>/dev/null msg_ok "Installed Dependencies" msg_info "Installing EMQX" -#curl -s https://assets.emqx.com/scripts/install-emqx-deb.sh | sudo bash &>/dev/null -#sudo apt-get install -y emqx &>/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 -apt install ./emqx-5.0.8-debian11-amd64.deb &>/dev/null -systemctl start emqx +curl -s https://assets.emqx.com/scripts/install-emqx-deb.sh | sudo bash &>/dev/null +sudo apt-get install -y emqx &>/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 +#apt install ./emqx-5.0.8-debian11-amd64.deb &>/dev/null +#systemctl start emqx msg_ok "Installed EMQX" PASS=$(grep -w "root" /etc/shadow | cut -b6); @@ -102,4 +102,5 @@ msg_ok "Customized Container" msg_info "Cleaning up" apt-get autoremove >/dev/null apt-get autoclean >/dev/null +rm -rf emqx-5.0.8-debian11-amd64.deb msg_ok "Cleaned"