asp.net core 3.1 is deployed to centos7.3 server

1 View server.net core environment information
Connect to the server, enter dotnet --info to view server dotnet core environment information

Insert picture description here
This is a server without a .net core environment. You need to install it.
2. Install the .net core environment.
If the server is only used to run .net core programs, you only need to install the .net core runtime; if you want to develop and compile, You need to install .net core sdk.
Net core sdk includes .net core runtime, so here is the
official installation document for .net core skd : https://docs.microsoft.com/zh-cn/dotnet/core/ install/linux-centos
a Execute the command sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm to add the Microsoft package signing key to the list of trusted keys, and Add Microsoft package repository
b Execute the command sudo yum install dotnet-sdk-3.1 to install .net core 3.1 sdk

Also what the programmer community can learn from ? Come and share my love , technical articles, open source code, WYSIWYG
Portal: https://www.52fenxiang.top/

Guess you like

Origin blog.csdn.net/u011087747/article/details/107075965