標籤:控制台 運行 tor lease 程式 server 環境搭建 tar sof
跨平台系列匯總:http://www.cnblogs.com/dunitian/p/4822808.html#linux
VSCode安裝:http://www.cnblogs.com/dunitian/p/6661644.html
搜狗拼音安裝:http://www.cnblogs.com/dunitian/p/6662374.html
官方參考連結:
離線下載: https://www.microsoft.com/net/download/linux
.NET Core 命令 https://docs.microsoft.com/zh-cn/dotnet/articles/core/tools/index
1.設定源並更新 https://www.microsoft.com/net/core#linuxubuntu
2.安裝SDK
sudo sh -c ‘echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list‘
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
sudo apt-get update
1.建立一個控制台程式 dotnet new console -o xxx
2.用VSCode開啟
3.Ctrl+`開啟終端
4.第一次開啟CS檔案會載入一些調試時用的包
5.載入依賴包 dotnet restore,運行程式 dotnet run
6.自動建立的設定檔
7.運行控制台
8.ok了,vscode用起來可能沒有VS嗨皮,但是真的比其他編輯器好太多,慢慢習慣吧
9.建立MVC項目 dotnet new mvc -o MyMVC
10.載入依賴包dotnet restore 運行 dotnet run
11.瀏覽器開啟該地址~運行效果
Ubuntu16.04下的NetCore環境搭建