Last update at :2024-07-08,Edit by888u
A few days ago, a netizen asked Lao Zuo to help install the .NET Core environment on his server. He said that there was a program that needed this environment to run. I don’t know what it was. Because I had never been exposed to this before, I didn't help him solve it. Later, he probably went to find someone else to solve it. I have read this question for a few days and found that it is still an unresolved problem. I am going to demonstrate how to install .NET Core in the test server environment, so that I can still deal with similar problems in the future.
First, download the .NET Core 2.1 file
Here Lao Zuo (LAOZUO.ORG) is going to install the .NET Core 2.1 version, so he downloaded this version.
wget –no-check-certificate -O dotnet-2.1.tar.gz https://download.microsoft.com/download/4/0/9/40920432-3302-47a8-b13c-bbc4848ad114/dotnet-sdk -2.1.302-linux-x64.tar.gz
Here we download.
mkdir /usr/dotnetmkdir /usr/dotnet/dotnet-2.1
Create the installation directory first.
tar zvxf dotnet-2.1.tar.gz -C /usr/dotnet/dotnet-2.1
Extract to the corresponding directory.
Second, install dependency package files
yum install -y libunwind libicu
Third, check whether the soft routing configuration is completed
ln -s /usr/dotnet/dotnet-2.1/dotnet /usr/local/bin/dotnet2.1
dotnet2.1 –info
Finally we can see that the current server has installed the .NET Core 2.1 environment. I am using the CENTOS7 system.
Recommended site searches: overseas virtual hosting, US imitation brand space, foreign vps server rental, Hong Kong server rental, permanent free server address, icp registration query network, registration information, Chongqing Telecom server hosting, game server rental, US host reviews ,
发表评论