2 - Установка Nginx и Dotnet
Установка Nginx
------------------------------------
sudo apt-get install nginx
sudo systemctl enable nginx
====================
Установка Dotnet
-----------------------------------
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -y dotnet-sdk-5.0
sudo apt-get update
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -y aspnetcore-runtime-5.0
=================================
Для проверки установим Mono
sudo apt install mono-complete