巨硬官网 - https://dotnet.microsoft.com/zh-cn/download/dotnet
    环境很简单,根据需要选择版本;SDK 很大,如果不需要在 Linux 上开发,只需要安装运行时即可

    1. rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
    2. yum update
    3. yum -y install dotnet-runtime-3.1
    4. yum -y install dotnet-sdk-3.1
    5. yum -y install aspnetcore-runtime-3.1

    注意:aspnetcoredotnet 是两个东西
    /usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.23

    1. dotnet --info
    2. It was not possible to find any installed .NET Core SDKs
    3. Did you mean to run .NET Core SDK commands? Install a .NET Core SDK from:
    4. https://aka.ms/dotnet-download
    5. Host (useful for support):
    6. Version: 3.1.23
    7. Commit: 7af614fde0
    8. .NET Core SDKs installed:
    9. No SDKs were found.
    10. .NET Core runtimes installed:
    11. Microsoft.NETCore.App 3.1.23 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
    12. To install additional .NET Core runtimes or SDKs:
    13. https://aka.ms/dotnet-download

    .NET 监听所有 IP

    1. dotnet ./publish/Scigo.Utils.HttpApi.dll --urls=http://*:5000