mirror of
https://github.com/MysticRyuujin/guac-install.git
synced 2023-10-10 13:36:56 +02:00
Fixed Typos - Switched to apt
This commit is contained in:
parent
24f39dbe17
commit
e4ecf3eda0
@ -9,13 +9,13 @@ read -s -p "Enter the password that will be used for the Guacamole database: " G
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
#Install Stuff
|
#Install Stuff
|
||||||
apt-get update
|
apt update
|
||||||
apt-get -qq -y install docker.io mysql-client wget jq curl
|
apt -y install docker.io mysql-client wget jq curl
|
||||||
|
|
||||||
# Get perfered download server
|
# Get perfered download server
|
||||||
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")')
|
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")')
|
||||||
|
|
||||||
# Download the guacamole auth files for MySQL
|
# Download the Guacamole auth files for MySQL
|
||||||
wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/binary/guacamole-auth-jdbc-${VERSION}-incubating.tar.gz
|
wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/binary/guacamole-auth-jdbc-${VERSION}-incubating.tar.gz
|
||||||
tar -xzf guacamole-auth-jdbc-${VERSION}-incubating.tar.gz
|
tar -xzf guacamole-auth-jdbc-${VERSION}-incubating.tar.gz
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user