巨硬官网 - https://dotnet.microsoft.com/zh-cn/download/dotnet
环境很简单,根据需要选择版本;SDK 很大,如果不需要在 Linux 上开发,只需要安装运行时即可
rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpmyum updateyum -y install dotnet-runtime-3.1yum -y install dotnet-sdk-3.1yum -y install aspnetcore-runtime-3.1
注意:aspnetcore 和 dotnet 是两个东西
/usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.23
dotnet --infoIt was not possible to find any installed .NET Core SDKsDid you mean to run .NET Core SDK commands? Install a .NET Core SDK from:https://aka.ms/dotnet-downloadHost (useful for support):Version: 3.1.23Commit: 7af614fde0.NET Core SDKs installed:No SDKs were found..NET Core runtimes installed:Microsoft.NETCore.App 3.1.23 [/usr/share/dotnet/shared/Microsoft.NETCore.App]To install additional .NET Core runtimes or SDKs:https://aka.ms/dotnet-download
.NET 监听所有 IP
dotnet ./publish/Scigo.Utils.HttpApi.dll --urls=http://*:5000
