How to set up Linux server for core 2 web app and make it visible on internet? Part 2 [Music no 2]

Go to linux server, eg. loggin via putty:


curl | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

sudo sh -c 'echo "deb [arch=amd64] xenial main" > /etc/apt/sources.list.d/dotnetdev.list'

sudo apt-get update

sudo apt-get install apt-transport-https

sudo apt-get update

sudo apt-get install dotnet-sdk-2.1.104


.NET Core is installed :).

To make sure that all is up and running follow those bash commands

dotnet new console -o myApp

cd myApp

dotnet run

If you will see: „Hello word”… Than means that you can be more than sure that .net core is up running

Leave a Comment

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *