mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Rearrange install order.
This commit is contained in:
parent
2a4f9d2410
commit
a561f9f9fa
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user