1、centos 7.0及以上服务器2、.NET SDK 安装2.1 安装https://www.microsoft.com/net/download/linux-package-manager/centos/sdk-current Add the dotnet product feedBefore installing .NET, youll need to ...

1、centos 7.0及以上服务器
2、.NET SDK 安装
2.1 安装
https://www.microsoft.com/net/download/linux-package-manager/centos/sdk-current
Add the dotnet product feed
Before installing .NET, you'll need to register the Microsoft key, register the product repository, and install required dependencies. This only needs to be done once per machine.
Open a command prompt and run the following commands:
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
Install the .NET SDK
Update the products available for installation, then install the .NET SDK.
In your command prompt, run the following commands:
sudo yum update sudo yum install dotnet-sdk-2.1
2.2 测试
dotnet --version
2.1.402
本文标题为:centos7部署.net core2.1


基础教程推荐
- c#中利用Tu Share获取股票交易信息 2023-03-03
- Unity shader实现多光源漫反射以及阴影 2023-03-04
- C#中类与接口的区别讲解 2023-06-04
- C# – NetUseAdd来自Windows Server 2008和IIS7上的NetApi32.dll 2023-09-20
- C#集合查询Linq在项目中使用详解 2023-06-09
- C# Winform实现石头剪刀布游戏 2023-01-11
- 使用c#从分隔文本文件中插入SQL Server表中的批量数据 2023-11-24
- c#读取XML多级子节点 2022-11-05
- C#通过GET/POST方式发送Http请求 2023-04-28
- 京东联盟C#接口测试示例分享 2022-12-02