Update install/emqx-install.sh
This commit is contained in:
parent
f922fab9ae
commit
eff492425e
|
@ -13,22 +13,22 @@ setting_up_container
|
||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies Bitches"
|
||||||
$STD apt-get install -y curl
|
$STD apt-get install -y curl
|
||||||
$STD apt-get install -y sudo
|
$STD apt-get install -y sudo
|
||||||
$STD apt-get install -y mc
|
$STD apt-get install -y mc
|
||||||
msg_ok "Installed Dependencies Bitches"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Apt-Cacher NG"
|
msg_info "Installing EMQX"
|
||||||
DEBIAN_FRONTEND=noninteractive $STD apt-get -o Dpkg::Options::="--force-confold" install -y apt-cacher-ng
|
$STD bash <(curl -fsSL https://packagecloud.io/install/repositories/emqx/emqx/script.deb.sh)
|
||||||
sed -i 's/# PassThroughPattern: .* # this would allow CONNECT to everything/PassThroughPattern: .*/' /etc/apt-cacher-ng/acng.conf
|
$STD apt-get install -y emqx
|
||||||
systemctl enable -q --now apt-cacher-ng
|
$STD systemctl enable --now emqx
|
||||||
msg_ok "Installed Apt-Cacher NG"
|
msg_ok "Installed EMQX"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
$STD apt-get -y autoremove
|
apt-get autoremove >/dev/null
|
||||||
$STD apt-get -y autoclean
|
apt-get autoclean >/dev/null
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
Loading…
Reference in a new issue