.NET Core Installation Guide
Install for CentOS 7.1 (64 bit) & Oracle Linux 7.1 (64 bit)
1.VM Install CentOS 7 & Config IP
- CentOS-7.0-1406-x86_64-DVD.iso 标准安装版,一般下载这个就可以了
- CentOS-7.0-1406-x86_64-NetInstall.iso 网络安装镜像
- CentOS-7.0-1406-x86_64-Everything.iso 对完整版安装盘的软件进行补充,集成所有软件。
- CentOS-7.0-1406-x86_64-GnomeLive.iso GNOME桌面版
- CentOS-7.0-1406-x86_64-KdeLive.iso KDE桌面版
- CentOS-7.0-1406-x86_64-livecd.iso 光盘上运行的系统,类拟于winpe
(1)CentOS-xxxx-LiveCD.ios 和CentOS-xxxx-bin-DVD.iso有什么区别?前者只有700M,后者有3.8G。其差别不仅仅在大小上,其更本质的差别是,CentOS-xxxx-LiveCD.ios只能加载到内存里运行,不能安装。CentOS-xxx-bin-DVD1.iso才可以安装到硬盘上。
(2)CentOS-xxx-bin-DVD1.iso,CentOS-xxx-bin-DVD2.iso分别是干什么的?前者是3.8G,后者是500M。其差别是DVD1是CentOS的安装文件,DVD2是CentOS的一些软件(就简单实用CentOS来说是不需要的)。
IDE:
VS2017
VSCode
JetBrains-Rider
2.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.
3.Initialize some code
Let's initialize a sample Hello World application!
4.Run the app
The first command will restore the packages specified in the project file, and the second command will run the actual sample:
5.Step By Step
Home
.NET Core platform
ASP.NET Core
Document(zh-CN)
https://docs.microsoft.com/zh-cn/dotnet/articles/core/
Windows
https://www.microsoft.com/net/core#windowsvs2017
Linux()
https://www.microsoft.com/net/core#linuxredhat
Mac
https://www.microsoft.com/net/core#macos
Docker
https://www.microsoft.com/net/core#dockercmd
Other
Ref:实践.Net Core在Linux环境下的第一个Hello World
Ref:.NET Core全面扫盲贴
Ref:魅力 .NET:从 Mono、.NET Core 说起
Ref:.NET Core 系列
Ref:ASP.NET Core 介绍
.NET Core 2.0
Ref:.NET Core SDK