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
基础教程推荐
- linux – 如何在Debian Jessie中安装dotnet core sdk 2023-09-26
- 一个读写csv文件的C#类 2022-11-06
- unity实现动态排行榜 2023-04-27
- C# List实现行转列的通用方案 2022-11-02
- C#类和结构详解 2023-05-30
- C# windows语音识别与朗读实例 2023-04-27
- C#控制台实现飞行棋小游戏 2023-04-22
- ZooKeeper的安装及部署教程 2023-01-22
- C# 调用WebService的方法 2023-03-09
- winform把Office转成PDF文件 2023-06-14