We know that the biggest feature of .NET Core is cross-platform, so we should have a basic understanding of how to build a development environment on Linux.

If you want to build a stand-alone Linux server for practical operation, it is recommended to refer to the
ASP.NET Core Quick Start (Environmental–Agricultural Code Lifetime)


If no independent Linux systems, can make use of
Tencent cloud Developer Lab

, which provides free developer exclusive online experiment platform, in the above we can easily learn new techniques and get started. It provides an experiment
on building a .NET Core development environment

on Linux to help us learn how to build a .NET Core Web development environment consisting of .NET Core and Jexus on Linux.


Building a .Net Core development environment on Linux

The above experiment is based on .net core 1.1. If you need to upgrade to .net core 2.0, you need to execute the following official website command.

curl -sSL -o dotnet.tar.gz https://aka.ms/dotnet-sdk-2.0.0-linux-x64
mkdir -p ~/dotnet && tar zxf dotnet.tar.gz -C ~/dotnet
export PATH=$PATH:$HOME/dotnet

Then delete the original folder:

rm -rf /opt/dotnet                             
rm -rf /usr/local/bin/dotnet                    
sudo ln -s /root/dotnet/dotnet /usr/local/bin   

If you don’t have a Linux foundation, you can start with the following course:

Tencent Cloud Developer Lab: Getting Started with Linux


Getting started with Linux


Install .NET and build your first app on CentOS or Oracle Linux