一、安装sudo
yum -y install sudo
二、安装wget
yum -y install wget
三、安装dnf
yum install dnf
四、配置受信任源
sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
五、安装运行环境
udo dnf install aspnetcore-runtime-7.0
yum -y install sudo
yum -y install wget
yum install dnf
sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
udo dnf install aspnetcore-runtime-7.0