月別アーカイブ: 2019年7月

Linux(CentOS)でのインストール方法

(本記事は.NET Core2.1向けの古い記事です)

スミレをCentOS環境でインストールする方法をご紹介します。

.NET Core 2.1のインストール

.NET Coreは、Microsoftで配布されているシェルスクリプトを利用してインストールできます。

まず依存するライブラリをインストールします。

yum install libunwind libicu

dotnet-install.shを使って.NET Core 2.1をインストールします。この時インストールディレクトリを「/opt/dotnet」にしてパスを通しておきます。

wget https://dot.net/v1/dotnet-install.sh
chmod 555 dotnet-install.sh
./dotnet-install.sh -c 2.1 -InstallDir /opt/dotnet
ln -s /opt/dotnet/dotnet /usr/local/bin

スミレのインストール

スミレをダウンロードします。

wget https://sumire.utopiat.net/files/core/sumire-1.0.3-linux-x64.tar.gz
tar xvf sumire-1.0.3-linux-x64.tar.gz

解凍したディレクトリへ移動して、起動します。

cd sumire-linux-x64
dotnet Sumire.dll hello.smr
//hello.smr
「こんにちは」を報告する
  • いいね (0)
  • 続きを読みたい (0)