linux上部署netcore项目
1.sudo apt-get install rpm
2. .net core2.1的安装
参照官方文档,地址:https://www.microsoft.com/net/learn/dotnet/hello-world-tutorial#install
1.添加yum源
sudo apt-get install rpm
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm --nodeps --force
2.升级所有包同时也升级软件和系统内核
sudo apt-get install yum
sudo yum update
3.安装.net core
sudo yum install dotnet-sdk-2.1.4