For cross-platform. Netcore, it is a trend to make its programs run on Linux systems, after all, many of our services are placed on Linux servers (redis,mongodb,myql,fastdfs,lucene), And we want to communicate with these Component Services, the code we need to use is java,python and so on, and these are not what we're good at, because we're a. NET engineer, haha!
For. The advent of Netcore allows us to run the start of the C # program on other systems, this cross-platform features, of course, is the next generation of Microsoft to occupy the market, of course, this is only a personal opinion, Let's take a look at the steps to deploy the. Netcore development environment on Linux-centos.
An SSH client that installs the CentOS window
Secure Shell is a good tool.
Two installations. Netcore Program
This process needs to be downloaded from the Internet, so it takes some time and patience to wait
sudo yum install libunwind libicu -ssl-o dotnet.tar.gz https://go.microsoft.com/ fwlink/? linkid=809131 sudo mkdir-p/opt/dotnet && sudo tar zxf dotnet.tar.gz-c/opt/ dotnet-s/op T/dotnet/dotnet/usr/local/bin-- Add soft links
Build the project, restore the class library, run Hello
mkdir hwapp cd hwapp New
dotnet Restore dotnet Run
The result is, of course, what we expect!
Hope this article on just contact. Netcore's classmates have some help!
Linux~centos installed on the Netcore,helloworld return!