There can be no Triumph without Loss,No Victory without Suffering,No Freedom without Sacrifice.
All you have to decide is what to do with the time that is given to you.
Get busy Living, or Get busy Dying?
  首页 | 留言给我 | 订阅 Rss | CLI | 黄白之恋 Posts:158   Hits: 5271713    Comments: 173    
<<  <  2024 - 07  >  >>
 About Me
 Name: ZhangSichu
 Sex: Male
 Age: 32
  ·C++/C(5)  RSS
  ·软件工程(1)  RSS
  ·杂事/随感(26)  RSS
  ·.Net/Java(30)  RSS
  ·面向对象程序设计(5)  RSS
  ·汇编/破解(0)  RSS
  ·平面设计(3)  RSS
  ·SQL(5)  RSS
  ·COM/COM+(2)  RSS
  ·Web开发(81)  RSS
 My Friends
Back Forward Refresh Home 2024年7月23日 星期二 RSS CLI Mine Sweeper. In Javascript.

  Mac OS 安装 Asp.Net
字体大小 [ ]


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:
ruby -e "$(curl -fsSL"

The installer will inform you of the steps it is taking and pause before proceeding. You can learn more about Homebrew here.

到这一步,可能会出现 brew 已经安装了。
Click to Open in New Window

brew -v

Click to Open in New Window

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.
Click to Open in New Window

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 feed.

Click to Open in New Window

chown root:wheel /usr/local/bin/brew

brew link mono

Click to Open in New Window
完成安装。 一切正常了。

Next, run dnvm to verify that your terminal understands this command. If it does not, run the command source to link it, then try running dnvm again. You should see something like this:

Click to Open in New Window
  Posted @ 6/29/2015 10:21:47 AM | Hits (17239) | Comments (1

 #re:Mac OS 安装 Asp.Net  7/5/2018 3:56:17 AM  ss
<a href="">上海搬家公司</a>
  Post Comment
标题 *
作者 *
密码 记住我
评论 *

Stable in Firefox 1.5 2.0Stable in IE6 IE7Stable in MozillaStable in Netscape V0.1.7507
Powered By ZhangSichu
Copyright © ZhangSichu
Download source code. Download source code