add runtime-only install steps

This commit is contained in:
Lee Coward 2018-02-02 09:02:33 -08:00
parent f20ab0d53f
commit 8fca9a9c24

View file

@ -81,13 +81,17 @@ sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/microsoft-prod.list'
```
Then, update the package cache and install .NET Core
Then, update the package cache and install the .NET Core SDK, which includes the .NET Core Runtime.
```bash
sudo apt-get update
sudo apt-get install dotnet-sdk-2.1.4
```
### .NET Core Runtime-only installation
If only the .NET Core Runtime is needed, install `dotnet-runtime-2.0.5` using your package manager.
### RHEL and Fedora based systems
Register the Microsoft key, the product repository for your distro and install required system dependencies with the following scripts.
@ -116,7 +120,7 @@ curl -o prod.repo https://packages.microsoft.com/config/opensuse/42.2/prod.repo
sudo mv prod.repo /etc/zypp/repos.d/microsoft-prod.repo
```
Then, update the package cache and install .NET Core
Then, update the package cache and install .NET Core SDK, which includes the .NET Core Runtime
#### Fedora, CentOS and Oracle Linux
@ -134,6 +138,10 @@ sudo zypper install dotnet-sdk-2.1.4
**Note:** When installing the SDK, SUSE and OpenSUSE may report that nothing provides libcurl. libcurl should already be installed on supported versions of both distros. Run zypper search libcurl to confirm. The error will present 2 "solutions". Choose "Solution 2" to continue installing .NET Core.
### .NET Core Runtime-only installation
If only the .NET Core Runtime is needed, install `dotnet-runtime-2.0.5` using your package manager.
## Installation from a binary archive
Installing from the packages detailed above is recommended and you can also install from binary archive. When using binary archives to install, the contents must be extracted to a user location such as `$HOME/dotnet` and a symbolic link created for `dotnet`.
@ -145,20 +153,21 @@ export PATH=$PATH:$HOME/dotnet
## Server Hosting
If you are looking to host stand-alone apps on Windows Servers, the ASP.NET Core Module for IIS can be installed separately on servers without installing .NET Core runtime.
If you are looking to host stand-alone applications on Servers, the appropriate components can be installed
## Windows
### Windows
Windows Server Hosting installer will install the ASP.NET Core Module for IIS.
You can download the Windows (Server Hosting) installer and run the following command from an Administrator command prompt:
[DotNetCore.2.0.5-WindowsHosting.exe](https://download.microsoft.com/download/1/1/0/11046135-4207-40D3-A795-13ECEA741B32/DotNetCore.2.0.5-WindowsHosting.exe)
## Linux
### Linux
On supported Linux systems, register the Microsoft Product feed as described above and install `dotnet-hosting-2.0.5` using your package manager.
### ASP.NET Runtime Core Package Store
The Runtime Package Store is installed by the .NET Core SDK and the Windows Server Hosting installer. If you need to install the Runtime Package Store separately, the following can be used.
The Runtime Package Store is installed by the .NET Core SDK and the Server Hosting installers. If you need to install the Runtime Package Store separately, the following can be used.
* [AspNetCore.2.0.5.RuntimePackageStore_x64.exe](https://download.microsoft.com/download/1/1/0/11046135-4207-40D3-A795-13ECEA741B32/AspNetCore.2.0.5.RuntimePackageStore_x64.exe)
* [AspNetCore.2.0.5.RuntimePackageStore_x86.exe](https://download.microsoft.com/download/1/1/0/11046135-4207-40D3-A795-13ECEA741B32/AspNetCore.2.0.5.RuntimePackageStore_x86.exe)