Centos 部署Asp.net Core

1.安装net core框架 sudo rpm --import https://packages.microsoft.com/keys/microsoft.ascsudo sh -c echo -e [packages-microsoft-com-prod]\nname=packages-microsoft-com-prod \nbaseurl= https://packages.m...

 

1.安装net core框架

 

sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[packages-microsoft-com-prod]\nname=packages-microsoft-com-prod \nbaseurl= https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prod\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/dotnetdev.repo'
sudo yum update
sudo yum install libunwind libicu
sudo yum install dotnet-sdk-2.0.2

 

 

本文标题为:Centos 部署Asp.net Core