When ASP. NET Core is installed in Linux, asp. netcore

Source: Internet
Author: User

When ASP. NET Core is installed in Linux, asp. netcore
I use Centos7. For other Linux systems, refer to Microsoft documentation. Microsoft official documentation:
Https://www.microsoft.com/net/learn/get-started/linux/centos

1. Add dotnet product Feed

To start installing. NET, you must register a Microsoft signature key and add a Microsoft Product abstract. This only needs to be done once on each machine. Run the following command in a command prompt:


Sudo rpm -- import https://packages.microsoft.com/keys/microsoft.asc

Sudo sh-c 'echo-e "[packages-microsoft-com-prod] name = packages-microsoft-com-prod baseurl = https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prodenabled=1gpgcheck=1gpgkey=https://packages.microsoft.com/keys/microsoft.asc">/etc/yum. repos. d/dotnetdev. repo'

 


2. Start to install the ASP. NET Core Runtime Environment

Run the following command in a command prompt:

Sudo yum update // upgrade the Repository

Sudo yum-y install libunwind libicu

Sudo yum install dotnet-sdk-2.0.3

3. Check whether the installation is successful.

Run the dotnet -- version command to display the runtime environment version.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.