How to install .Net Core 2.1 on Oracle Linux 7 – Dotnet Core 2.1 installation on Oracle Linux 7
.NET Core is a free, cross-platform, open-source developer platform for building many different types of applications.
In this video we are going to install dotnet core 2.1 manually from generic tar.gz file on Oracle Linux 7.
Linux Base Environment : Server with GUI (this four dependencies krb5-libs,libicu,openssl,zlib available by default in this base environment).
https://dotnet.microsoft.com/download/dotnet/2.1
When you install with a package manager, these libraries are installed for you. But, if you manually install .NET Core or you publish a self-contained app, you’ll need to make sure these libraries are installed:
krb5-libs
libicu
openssl-libs
zlib
All these libraries available in DVD iso file itself. No need to download from internet.
dotnet –version,
dotnet –list-sdks and
dotnet –list-runtimes commands to see which versions are installed.
In this video two separate directories are created to
store binaries (/opt/dotnet) and dotnet Applications (/opt/dotnetApps) for clarity.
Install .NET and create your first application – A simple application written in C# that prints Hello, World! to the console.
Below are the commands used in videos.
Create C# Console Application
#############################
dotnet new console -o myApp
cd myApp
dotnet run
Install .NET and create your first web application – An ASP.Net web app that displays a Hello, World! message on a web page.
Below are the commands used in videos.
Create ASP.Net Web Application
###############################
dotnet new webApp -o myWebApp –no-https
cd myWebApp
dotnet watch run
#dotnetcorelinux #dotnetcoreoraclelinux7 #dotnetcore2 #dotnetonlinux
by java frm
linux web server