CentOS 7
Sponsored Link

.NET Core 2.0 インストール
Microsoft .NET Core 2.0 をインストールします。
[1] .NET Core 2.0 をインストールします。
[root@dlp ~]#
yum -y install deltarpm unzip zlib gettext libunwind libicu libcurl-devel openssl-devel libicu-devel
[root@dlp ~]#
rpm --import https://packages.microsoft.com/keys/microsoft.asc

[root@dlp ~]#
cat > /etc/yum.repos.d/dotnetdev.repo <<EOF
[root@dlp ~]#
yum -y install dotnet-sdk-2.0.0
[root@dlp ~]#
echo 'export PATH=$PATH:$HOME/dotnet' > /etc/profile.d/dotnetdev.sh

[root@dlp ~]#
source /etc/profile.d/dotnetdev.sh

[root@dlp ~]#
dotnet --version

[2] 任意の一般ユーザーで Hello World サンプルアプリケーションをテストします。
[cent@dlp ~]$
dotnet new console -o helloworld

Welcome to .NET Core!
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see 
available commands or go to https://aka.ms/dotnet-cli-docs.

The .NET Core tools collect usage data in order to improve your experience. 
The data is anonymous and does not include command-line arguments. The data is 
collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment 
variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Getting ready...
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on helloworld/helloworld.csproj...
  Restoring packages for /home/cent/helloworld/helloworld.csproj...
  Generating MSBuild file /home/cent/helloworld/obj/helloworld.csproj.nuget.g.props.
  Generating MSBuild file /home/cent/helloworld/obj/helloworld.csproj.nuget.g.targets.
  Restore completed in 204.13 ms for /home/cent/helloworld/helloworld.csproj.

Restore succeeded.

[cent@dlp ~]$
cd helloworld

[cent@dlp helloworld]$
dotnet run

Hello World!
[3] 任意の一般ユーザーで ASP.NET Core Web App サンプルアプリケーションをテストします。
[cent@dlp ~]$
dotnet new razor -o asp.net

The template "ASP.NET Core Web App" was created successfully.
This template contains technologies from parties other than Microsoft, 
see https://aka.ms/template-3pn for details.

Processing post-creation actions...
Running 'dotnet restore' on asp.net/asp.net.csproj...
  Restoring packages for /home/cent/asp.net/asp.net.csproj...
  Restoring packages for /home/cent/asp.net/asp.net.csproj...
  Restore completed in 756.03 ms for /home/cent/asp.net/asp.net.csproj.
  Generating MSBuild file /home/cent/asp.net/obj/asp.net.csproj.nuget.g.props.
  Generating MSBuild file /home/cent/asp.net/obj/asp.net.csproj.nuget.g.targets.
  Restore completed in 2.42 sec for /home/cent/asp.net/asp.net.csproj.

Restore succeeded.

[cent@dlp ~]$
cd asp.net

[cent@dlp asp.net]$
dotnet run

Hosting environment: Production
Content root path: /home/cent/asp.net
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
  [http://localhost:5000] にアクセスすると以下のようなページが表示されます。