diff --git a/install/emqx-install.sh b/install/emqx-install.sh index dae18a0..52e862e 100644 --- a/install/emqx-install.sh +++ b/install/emqx-install.sh @@ -13,22 +13,22 @@ setting_up_container network_check update_os -msg_info "Installing Dependencies" +msg_info "Installing Dependencies Bitches" $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc -msg_ok "Installed Dependencies Bitches" +msg_ok "Installed Dependencies" -msg_info "Installing Apt-Cacher NG" -DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng -sed -i 's/# PassThroughPattern: .* # this would allow CONNECT to everything/PassThroughPattern: .*/' /etc/apt-cacher-ng/acng.conf -systemctl enable -q --now apt-cacher-ng -msg_ok "Installed Apt-Cacher NG" +msg_info "Installing EMQX" +$STD bash <(curl -fsSL https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh) +$STD apt-get install -y emqx +$STD systemctl enable --now emqx +msg_ok "Installed EMQX" motd_ssh customize msg_info "Cleaning up" -$STD apt-get -y autoremove -$STD apt-get -y autoclean +apt-get autoremove >/dev/null +apt-get autoclean >/dev/null msg_ok "Cleaned" \ No newline at end of file