From a561f9f9fa16ecfc2f774d76fb9c562ecf2bfc3e Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Sat, 13 Apr 2019 08:15:03 -0700 Subject: [PATCH] Rearrange install order. --- Utilities/Remotely_Server_Install.sh | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/Utilities/Remotely_Server_Install.sh b/Utilities/Remotely_Server_Install.sh index e5506646..350c7a87 100644 --- a/Utilities/Remotely_Server_Install.sh +++ b/Utilities/Remotely_Server_Install.sh @@ -4,7 +4,6 @@ echo read -p "Enter app root path (typically /var/www/remotely): " appRoot read -p "Enter server host (e.g. example.com): " serverHost - # Install .NET Core Runtime. wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb dpkg -i packages-microsoft-prod.deb @@ -15,6 +14,14 @@ apt-get install -y aspnetcore-runtime-2.2 rm packages-microsoft-prod.deb + # Install other prerequisites. +apt-get install -y unzip +apt-get install -y acl +apt-get -y install ffmpeg +apt-get -y install libgdiplus +setfacl -R -m u:www-data:rwx $appRoot + + # Download and install Remotely files. mkdir -p $appRoot wget "https://remotely.lucency.co/Downloads/linux-x64/Remotely_Server.zip" @@ -22,18 +29,6 @@ unzip -o Remotely_Server.zip -d $appRoot rm Remotely_Server.zip - # Install other prerequisites. - -apt-get install -y unzip - -apt-get install -y acl - -apt-get -y install ffmpeg - -apt-get -y install libgdiplus - -setfacl -R -m u:www-data:rwx $appRoot - # Install Nginx apt-get update