日历归档 |
|
<< < 2024 - 11 > >> | Su | Mo | Tu | We | Th | Fr | Sa | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
|
|
|
About Me |
|
|
ZhangSichu |
|
Male |
|
32 |
|
ZhangSichu@gmail.com |
|
ZhangSichu@hotmail.com |
|
ZhangSichu.com |
|
weibo.com/zhangsichu |
|
|
|
个人推荐 |
|
|
|
|
分类归档 |
|
|
|
|
My Friends |
|
|
|
|
Mac OS 安装 Asp.Net
|
原文地址: http://docs.asp.net/en/latest/getting-started/installing-on-mac.html 本文是按照英文原文安装时遇到的问题的总结Blog.
Installing ASP.NET 5 On Mac OS X By Steve Smith
ASP.NET 5 runs on the .NET Execution Environment (DNX), which is available on multiple platforms, including OS X. This article describes how to install DNX, and therefore ASP.NET 5, on OS X, using Homebrew.
In this article: Install ASP.NET 5 on OS X Install ASP.NET 5 on OS X ASP.NET 5 requires DNX, which is installed and managed by the .NET Version Manager (DNVM). The DNVM is easily installed using a tool called Homebrew, which will also install the correct version of Mono for OS X.
Install Homebrew The first step is to install Homebrew if it’s not already installed. This can be done from a Terminal prompt using this script:
The installer will inform you of the steps it is taking and pause before proceeding. You can learn more about Homebrew here.
到这一步,可能会出现 brew 已经安装了。
可以执行:
Install the .NET Version Manager (DNVM) Once Homebrew is installed, install the DNVM by running brew tap aspnet/dnx from a Terminal window. If you need to update your version of DNVM, first run brew untap aspnet/dnx to delete the old commands, and then run the brew tap aspnet/dnx command again to get the updated scripts.
If you had an older version of our Homebrew “tap” configured, you might get the following error: Could not create link for aspnet/dnx/kvm, as it conflicts with aspnet/k/kvm. In that case, simply run brew uninstall kvm to ensure any old versions of kvm are removed, then brew untap aspnet/k to remove the old tap. After that, the brew tap aspnet/dnx command should succeed.
Next, run the command brew install dnvm to install the .NET Version Manager. This will also automatically install the latest DNX package from the https://www.nuget.org/api/v2 feed.
这一步可能出现没有权限的问题:
执行
chown root:wheel /usr/local/bin/brew
|
然后执行
完成安装。 一切正常了。
Next, run dnvm to verify that your terminal understands this command. If it does not, run the command source dnvm.sh to link it, then try running dnvm again. You should see something like this:
|
|
#re:Mac OS 安装 Asp.Net 7/5/2018 3:56:17 AM ss
|
<a href="http://www.movesh.com">上海搬家公司</a>
|
|
|
|
|
|