{"id":2162,"date":"2019-11-19T14:46:46","date_gmt":"2019-11-19T11:46:46","guid":{"rendered":"http:\/\/surgery.moscow\/smos\/?p=2162"},"modified":"2019-11-19T15:58:28","modified_gmt":"2019-11-19T12:58:28","slug":"asp-net-core-%d0%b2-linux","status":"publish","type":"post","link":"https:\/\/surgery.moscow\/smos\/2019\/11\/19\/asp-net-core-%d0%b2-linux\/","title":{"rendered":"ASP.NET Core \u0432 Linux"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Download and install<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To start building .NET apps you just need to download and install the .NET SDK (Software Development Kit).Linux Distribution\u00a0 \u00a0 \u00a0<br><br>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b:<br>\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0 <br> \u00a0RHEL 7 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0Ubuntu 16.04 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0Ubuntu 18.04 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0Ubuntu 19.04 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0Debian 9 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0Debian 10 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0Fedora 29 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0Fedora 30 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0CentOS 7 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0openSUSE 42.3 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0openSUSE 15 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0SLES 12 &#8212; x64\u00a0 \u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0\u00a0 \u00a0SLES 15 &#8212; x64\u00a0 \u00a0 \u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Register your Red Hat subscription<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In order to install .NET Core from Red Hat on RHEL, you first need to register using the Red Hat Subscription Manager. If this has not been done on your system, or if you are unsure, see the&nbsp;<a href=\"https:\/\/access.redhat.com\/documentation\/net_core\/\" target=\"_blank\" rel=\"noreferrer noopener\">Red Hat Product Documentation for .NET Core<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 .NET SDK<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After registering with the Subscription Manager, you are ready to install and enable the .NET SDK.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In your terminal, run the following commands:TerminalCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install rh-dotnet30 -y\nscl enable rh-dotnet30 bash<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Check everything installed correctly<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once you&#8217;ve installed, open a&nbsp;<strong>new<\/strong>&nbsp;terminal and run the following command:TerminalCopy<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dotnet<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If the command runs, printing out information about how to use dotnet, you&#8217;re good to go.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f <a href=\"https:\/\/dotnet.microsoft.com\/learn\/dotnet\/hello-world-tutorial\/install\">https:\/\/dotnet.microsoft.com\/learn\/dotnet\/hello-world-tutorial\/install<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download and install To start building .NET apps you just need to download and install the .NET SDK (Software Development<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2162","post","type-post","status-publish","format-standard","hentry","category-internet"],"_links":{"self":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/2162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/comments?post=2162"}],"version-history":[{"count":1,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/2162\/revisions"}],"predecessor-version":[{"id":2163,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/2162\/revisions\/2163"}],"wp:attachment":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/media?parent=2162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/categories?post=2162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/tags?post=2162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}