mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "f5b629de5175e1669d2376ecb4357410aeaac6b4" and "09e21f33e1e646a66b891d0fc926d191612358d1" have entirely different histories.
f5b629de51
...
09e21f33e1
|
@ -20,8 +20,6 @@ $STD apt-get install -y mc
|
|||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing MariaDB"
|
||||
$STD bash <(curl -fsSL https://r.mariadb.com/downloads/mariadb_repo_setup)
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y mariadb-server
|
||||
sed -i 's/^# *\(port *=.*\)/\1/' /etc/mysql/my.cnf
|
||||
sed -i 's/^bind-address/#bind-address/g' /etc/mysql/mariadb.conf.d/50-server.cnf
|
||||
|
|
|
@ -20,12 +20,6 @@ $STD apt-get install -y mc
|
|||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Mosquitto MQTT Broker"
|
||||
if [ "$PCT_OSTYPE" == "debian" ]; then
|
||||
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
|
||||
wget -qO- http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key >/etc/apt/trusted.gpg.d/mosquitto-repo.asc
|
||||
wget -qO /etc/apt/sources.list.d/mosquitto-${VERSION}.list http://repo.mosquitto.org/debian/mosquitto-${VERSION}.list
|
||||
$STD apt-get update
|
||||
fi
|
||||
$STD apt-get -y install mosquitto
|
||||
$STD apt-get -y install mosquitto-clients
|
||||
cat <<EOF >/etc/mosquitto/conf.d/default.conf
|
||||
|
|
Loading…
Reference in New Issue