运行脚本
1、cd /www/netcore/
2、yum install dnf
3、sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm //安装密钥
4、sudo dnf install dotnet-runtime-3.1 //安装运行时
5、dotnet ITGB.Apprentice.WebApi.dll --urls "http://*:5000" //启动netcore项目