主页:https://dotnet.github.io/

github:https://github.com/dotnet/core

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

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

  1. 1

    Install .NET Core SDK

    Before 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

  2. 2

    Initialize some code

    Let's initialize a sample Hello World application!

    1. dotnet new console -o hwapp
    2. cd hwapp
  3. 3

    Run the app

    The 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
  4. And you're ready!

    You now have .NET core running on your machine!

    Visit the .NET Documentation to get access to additional tutorials, samples and the full .NET Core documentation.

  5. Want some tools?

    • Visual Studio Code has full support for .NET Core. Install the C# extension to get the best experience.

      Download Visual Studio Code

    • There are also third party tools for developing with .NET
      • JetBrains Rider is a cross-platform .NET IDE built using IntelliJ and ReSharper technology. It offers support for .NET and .NET Core applications on all platforms.
      • The OmniSharp project enables cross-platform .NET development in editors such as Atom, Brackets, Sublime Text, Emacs, and Vim.

.NET Core Linux环境搭建(CentOS 7)相关推荐

  1. (三)Linux环境部署(Centos+Nginx+Tomcat+Mysql) - Nginx环境搭建

    因为在网上发现系统性.严谨(特别是在安全方面)的Linux部署方面的参考文章很少,于是整理以下六篇Linux环境部署的系列性文章,其为本人在实践中,完整的搭建一个基于Linux系统上Centos+Ng ...

  2. (六)Linux环境部署(Centos+Nginx+Tomcat+Mysql) - 常用命令总结

    因为在网上发现系统性.严谨(特别是在安全方面)的Linux部署方面的参考文章很少,于是整理以下六篇Linux环境部署的系列性文章,其为本人在实践中,完整的搭建一个基于Linux系统上Centos+Ng ...

  3. (四)Linux环境部署(Centos+Nginx+Tomcat+Mysql) - 安装Tomcat和JDK 以及 Nginx与Tomcat整合

    因为在网上发现系统性.严谨(特别是在安全方面)的Linux部署方面的参考文章很少,于是整理以下六篇Linux环境部署的系列性文章,其为本人在实践中,完整的搭建一个基于Linux系统上Centos+Ng ...

  4. Linux环境搭建(最全的搭建过程)

    Linux环境搭建 打开centOS,点击右下方的网络适配器,如图一所示.打开设置,出现图二所示. 图一 图二 在图二中选择网络适配器,其中有网络连接,常见有桥接模式以及NAT模式, 桥接模式相当于我 ...

  5. linux git服务器搭建端口号是多少,Linux 环境 搭建Git 服务器,并且修改SSH端口使用...

    1.环境配置说明 服务器 CentOS 7 + git(git version 1.8.3.1) 客户端 Windows10 + SourceTree 2.安装 Git 服务器端安装: sudo yu ...

  6. Linux 环境搭建一步到位,看这篇就够了!

    VMware Workstation 是一款功能强大的桌面虚拟软件,可模仿物理机器承载多个虚拟操作系统. 虚拟机下载安装 VMWare下载地址:https://pan.baidu.com/s/1OFV ...

  7. 手动angular2环境搭建_详解.Net Core + Angular2 环境搭建

    本文介绍了.Net Core + Angular2 环境搭建,具体如下: 环境搭建: 1)node.js版本>5.0,NPM版本>3.0,TypeScript版本>2.0(全装最新版 ...

  8. Linux(一)-- Linux环境搭建

    Linux环境搭建 一.虚拟机安装 1.下载地址 https://my.vmware.com/web/vmware/info/slug/desktop_end_user_computing/vmwar ...

  9. 环境搭建-CentOS集群搭建

    环境搭建-CentOS集群搭建 写在前面 最近有许多小伙伴问我,大数据的hadoop分布式集群该如何去搭建.所以,想着,就写一篇博客,帮助到更多刚入门大数据的人.本博客会一步一步带你实现一个Hadoo ...

最新文章

  1. tensorflow eager调试模式关键导入如下两行便于debug
  2. 分布式服务框架原理与实践pdf_深度解析微服务治理的技术演进和架构实践
  3. 2021-12-27
  4. 第一次离线写Blog,先上个图先
  5. javaweb简单的登录增删改查系统_利用python操作小程序云数据库实现简单的增删改查!
  6. 继卡巴斯基后 赛门铁克网站被爆亦有SQL注入缺陷
  7. GPU Gems1 - 13 使用遮挡区间映射产生模糊的阴影(Generating Soft Shadows Using Occlusion Interval Maps)
  8. Java中数组在内存中的存放原理?
  9. input输入框汇总
  10. 2017.9.26 货币兑换 失败总结
  11. win10 基础之上安装 Linux-Manjaro-Deepin 连夜采坑,快速整理下
  12. 绘制一幅蓝图_如何给新家绘制一张生活蓝图
  13. 联想电脑重装win7系统详细图文教程
  14. 见面会 | 创新工场执行董事王嘉平:高性能可伸缩性区块链系统揭秘!
  15. 安卓AutoCompleteTextView的简单使用(搜索时弹出可选择项)
  16. 记录第一次使用python模拟鼠标点击
  17. 逻辑地址与物理地址的转换
  18. js实现登录页面的背景图片的随机展示
  19. 无internet,安全
  20. 判断手机号是否可注册淘宝

热门文章

  1. 网易云音乐ios旧版本安装包_网易云音乐产品分析报告
  2. 洛谷——P1568 赛跑
  3. 实验2-1-1 计算摄氏温度 (5 分)
  4. three.js 键盘w、s、a、d控制几何体移动
  5. Symbol()类型的定义及特点
  6. ubuntu之搭建http服务器apache2
  7. linux进行硬盘分区挂载-了解系统,最更好的开发
  8. hive实战读书笔记(第9章)Hive性能优化
  9. wireshark----教你如何抓包
  10. 状态机(FSM)的介绍--以检测序列1001为例