mirror of
https://git.koehlerweb.org/frodovdr/guac-install
synced 2024-11-23 01:37:13 +01:00
Fixed Typos - Switched to apt
This commit is contained in:
parent
ada86f1df9
commit
24f39dbe17
@ -11,21 +11,21 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install Server Features
|
# Install Server Features
|
||||||
apt-get update
|
apt update
|
||||||
apt-get -qq -y install build-essential libcairo2-dev $JPEGTURBO libpng12-dev libossp-uuid-dev libavcodec-dev libavutil-dev \
|
apt -y install build-essential libcairo2-dev $JPEGTURBO libpng12-dev libossp-uuid-dev libavcodec-dev libavutil-dev \
|
||||||
libswscale-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev \
|
libswscale-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev \
|
||||||
libvorbis-dev libwebp-dev jq curl wget
|
libvorbis-dev libwebp-dev jq curl wget
|
||||||
|
|
||||||
# If Apt-Get fails to run completely the rest of this isn't going to work...
|
# If apt fails to run completely the rest of this isn't going to work...
|
||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
echo "apt-get failed to install all required dependencies."
|
echo "apt failed to install all required dependencies."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
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 Guacample Files
|
# Download Guacamole Files
|
||||||
wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/source/guacamole-server-${VERSION}-incubating.tar.gz
|
wget ${SERVER}/incubator/guacamole/${VERSION}-incubating/source/guacamole-server-${VERSION}-incubating.tar.gz
|
||||||
|
|
||||||
# Extract Guacamole Files
|
# Extract Guacamole Files
|
||||||
@ -34,7 +34,7 @@ tar -xzf guacamole-server-${VERSION}-incubating.tar.gz
|
|||||||
# MAKE DIRECTORIES
|
# MAKE DIRECTORIES
|
||||||
mkdir /etc/guacamole
|
mkdir /etc/guacamole
|
||||||
|
|
||||||
# Install GUACD
|
# Install guacd
|
||||||
cd guacamole-server-${VERSION}-incubating
|
cd guacamole-server-${VERSION}-incubating
|
||||||
./configure --with-init-dir=/etc/init.d
|
./configure --with-init-dir=/etc/init.d
|
||||||
make
|
make
|
||||||
|
Loading…
Reference in New Issue
Block a user