Updated Linux install script.

This commit is contained in:
Jared Goodwin 2019-04-11 07:54:06 -07:00
parent eecfc5c958
commit 7009d03087
3 changed files with 25 additions and 25 deletions

View File

@ -12,7 +12,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Utilities", "Utilities", "{
Utilities\Install-RemotelyServer.ps1 = Utilities\Install-RemotelyServer.ps1
Utilities\Publish.ps1 = Utilities\Publish.ps1
Utilities\Remotely_Server_Install.sh = Utilities\Remotely_Server_Install.sh
Utilities\Setup_Ubuntu_Builder.sh = Utilities\Setup_Ubuntu_Builder.sh
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Assets", "Assets", "{D96B47F6-EF3E-4AF6-A1BE-006D531DDBA4}"
@ -36,7 +35,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Remotely_ScreenCast.Linux",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Remotely_ScreenCast.Core", "Remotely_ScreenCast.Core\Remotely_ScreenCast.Core.csproj", "{B04A1728-2E87-491E-BC7F-F575A1754DEF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Remotely_Shared", "Remotely_Shared\Remotely_Shared.csproj", "{3B1B36AE-7A60-4974-A868-1E24894D4149}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Remotely_Shared", "Remotely_Shared\Remotely_Shared.csproj", "{3B1B36AE-7A60-4974-A868-1E24894D4149}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -1,15 +1,32 @@
#!/bin/bash
echo "If you haven't already, publish the Remotely Server app using the 'dotnet publish'
command (e.g. dotnet publish <path to csproj file> -o <output directory>).
The output directory is the app root path. This would typically be in /var/www/[appname]/.
"
read -p "Enter app root path: " appRoot
echo "Thanks for trying remotely! If you have any questions, feel free to email me at Translucency_Software@outlook.com."
echo
read -p "Enter app root path (typically /var/www/remotely): " appRoot
read -p "Enter server host (e.g. example.com): " serverHost
apt-get install acl
# Download and install Remotely files.
echo "Downloading Remotely server package"
mkdir -p $appRoot
wget -q "https://remotely.lucency.co/Downloads/linux-x64/Remotely_Server.zip"
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 .NET Core Runtime.
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
@ -121,8 +138,4 @@ systemctl start remotely.service
# Install Certbot and get SSL cert.
apt-get -y install certbot python-certbot-nginx
certbot --nginx
apt-get -y install ffmpeg
apt-get -y install libgdiplus
certbot --nginx

View File

@ -1,12 +0,0 @@
add-apt-repository universe
apt-get update
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
apt-get install apt-transport-https
apt-get update
apt-get install dotnet-sdk-2.2
apt-get install git
mkdir ~/Downloads/Remotely
cd ~/Downloads/Remotely
git clone https://github.com/Jay-Rad/Remotely.git