在CentOS 7 下安装.Net 框架

简介: 在CentOS 7 下安装.Net 框架

https://www.microsoft.com/net/core#linuxcentos

Install for CentOS 7.1 (64 bit) & Oracle Linux 7.1 (64 bit)

  1. 1Install .NET Core SDKBefore you start, please remove any previous versions of .NET Core from your system.In order to install .NET Core 1.1 on CentOS or Oracle Linux, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet onto your PATH.For other releases you can check the Linux downloads section.
  1. sudo yum install libunwind libicu
  2. curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=848821
  3. sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
  4. sudo ln -s /opt/dotnet/dotnet /usr/local/bin
  1. 2Initialize some codeLet's initialize a sample Hello World application!
  1. dotnet new console -o hwapp
  2. cd hwapp
  1. 3Run the appThe first command will restore the packages specified in the project file, and the second command will run the actual sample:
  1. dotnet restore
  2. dotnet run


目录
相关文章
|
5天前
|
Go
CentOS6.4安装GO语言环境
CentOS6.4安装GO语言环境
8 0
|
5天前
|
NoSQL Linux Redis
Centos7 安装和配置 Redis 5 教程
在Centos上安装Redis 5,如果是 Centos8,那么 yum 仓库中默认的 redis 版本就是 5,直接 yum install 即可。
36 0
|
6天前
|
开发框架 .NET C#
使用C#进行.NET框架开发:深入探索与实战
【5月更文挑战第28天】本文探讨了C#在.NET框架中的应用,展示了其作为强大编程语言的特性,如类型安全、面向对象编程。C#与.NET框架的结合,提供了一站式的开发环境,支持跨平台应用。文中介绍了C#的基础知识,如数据类型、控制结构和面向对象编程,以及.NET的关键技术,包括LINQ、ASP.NET和WPF。通过一个实战案例,展示了如何使用C#和ASP.NET开发Web应用,包括项目创建、数据库设计、模型和控制器编写,以及视图和路由配置。本文旨在揭示C#在.NET开发中的深度和广度,激发开发者探索更多可能性。
|
10天前
|
存储 Linux 虚拟化
Hyper-V 安装 CentOS 8.5
本文档介绍了在 Windows 10 上使用 Hyper-V 安装 CentOS 8.5.2111 的详细步骤
38 3
|
10天前
|
Linux 开发工具
蓝易云 - 在CentOS7/RHEL7上安装OpenSSL1.1.x教程
以上就是在CentOS7/RHEL7上安装OpenSSL 1.1.x的步骤。希望对你有所帮助。
39 0
|
12天前
|
网络协议 Java Linux
CentOS上安装运行XWiKi
CentOS上安装运行XWiKi
11 0
|
12天前
|
Java Linux
CentOS上安装openjdk
CentOS上安装openjdk
11 0
|
14天前
|
Java 应用服务中间件 Linux
Centos7 安装JDK和Tomcat
Centos7 安装JDK和Tomcat
43 0
|
14天前
|
运维 网络协议 Linux
2024年最全CentOS8 Consul微服务架构安装(1)_agent(1),Linux运维开发面试
2024年最全CentOS8 Consul微服务架构安装(1)_agent(1),Linux运维开发面试

热门文章

最新文章