When ASP. Net Core is installed in Linux (Runtime), asp. netruntime
If you do not want to install the. Net Core SDK on your Linux server during deployment, you can only install Runtime. Next, let's take a look at how to install Runtime.
Download runtime files
Download Page: https://www.microsoft.com/net/download/linux
First, obtain the corresponding download link. You can click the link in the browser to obtain the download link for a specific object.
After obtaining the link, you can use the command to obtain and install it.
Run the following command to install ASP. Net Core 2.0.5 on Centos 7 and Ubuntu 16.04:
wget -O dotnet-runtime.tar.gz https://download.microsoft.com/download/1/1/0/11046135-4207-40D3-A795-13ECEA741B32/dotnet-runtime-2.0.5-linux-x64.tar.gzwget -O aspnetcore-store.tar.gz https://download.microsoft.com/download/1/1/0/11046135-4207-40D3-A795-13ECEA741B32/aspnetcore-store-2.0.5-linux-x64.tar.gzmkdir dotnettar zxf dotnet-runtime.tar.gz -C dotnettar zxf aspnetcore-store.tar.gz -C dotnet
You also need to install
Libunwind
Centos 7
yum update -y && yum install libunwind libicu -y
Ubuntu 16.04
apt-get update -y && apt-get install libunwind-dev -y
Address: https://www.zkea.net/codesnippet/detail/post-85