.Net core Linux環境安裝

來源:互聯網
上載者:User

標籤:dir   .gz   命令   nbsp   沒有   下一步   yum   官方文檔   dem   

    10月份的時候在自己電腦上搭了開發環境,當時跑完Welcome後就擱置了一段時間,最近有一個小項目要正式採用core來開發並部署在linux環境下,於是在Linux上也搭建一個運行環境。

     雖然不經常使用Linux,但一直覺得軟體的安裝Linux比windows更具便捷性,雖說windows提供的表單式互動安裝介面看上去更加直觀且只要點擊下一步,但還是沒有linux幾個命令來的歡快。

      core的官方文檔簡潔明了,讓入門變得非常容易,linux是cent os 7的版本,按著提供的三步走即完成環境的安裝和一個簡單的Demo。

      

  1. sudo yum install libunwind libicu
  2. curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?LinkID=835019
  3. sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
  4. sudo ln -s /opt/dotnet/dotnet /usr/local/bin

.Net core Linux環境安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.