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.
ASP.NET 5 는 DNX가 설치되어야 하는데, 이는 DNVM 즉, .NET Version Manager 에 의해 관리 및 설치 됩니다. DNVM 은 Homebrew 이라는 울을 사용하면 쉽게 맥 환경에서 설치가 쉽게 할 수 있습니다. 이 또한 OS X 의 Mono 버전에서도 설치 할 수 있습니다.
설치 부분은 위의 사이트를 참고해서 하나씩 설치 해 보시면 됩니다.
제가 설치한 로그를 아래 녹색으로 표기하였으니 따라해 보시면 됩니다. (기기는 MACBOOK AIR 입니다.)
Last login: Wed Jul 8 22:17:28 on console
sim-ui-MacBook-Air:~ shimjaewoon$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
Sorry, try again.
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 3655, done.
remote: Compressing objects: 100% (3489/3489), done.
remote: Total 3655 (delta 35), reused 704 (delta 25), pack-reused 0
Receiving objects: 100% (3655/3655), 2.96 MiB | 494.00 KiB/s, done.
Resolving deltas: 100% (35/35), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at b17e213 doc: add xcode 6.4
==> Installation successful!
==> Next steps
Run `brew help` to get started
sim-ui-MacBook-Air:~ shimjaewoon$ brew tap aspnet/dnx
==> Tapping aspnet/dnx
Cloning into '/usr/local/Library/Taps/aspnet/homebrew-dnx'...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 1), reused 2 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), done.
Checking connectivity... done.
Tapped 2 formulae (33 files, 136K)
sim-ui-MacBook-Air:~ shimjaewoon$ brew install dnvm
==> Installing dnvm from aspnet/homebrew-dnx
==> Installing aspnet/dnx/dnvm dependency: mono
==> Downloading https://homebrew.bintray.com/bottles/mono-4.0.2.5.yosemite.bottl
######################################################################## 100.0%
==> Pouring mono-4.0.2.5.yosemite.bottle.tar.gz
==> Caveats
To use the assemblies from other formulae you need to set:
export MONO_GAC_PREFIX="/usr/local"
==> Summary
🍺 /usr/local/Cellar/mono/4.0.2.5: 1006 files, 178M
==> Installing aspnet/dnx/dnvm
==> Cloning https://github.com/aspnet/Home.git
Cloning into '/Library/Caches/Homebrew/dnvm--git'...
remote: Counting objects: 62, done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 62 (delta 15), reused 36 (delta 8), pack-reused 0
Unpacking objects: 100% (62/62), done.
Checking connectivity... done.
==> Checking out branch dev
==> bash -c 'source /usr/local/Cellar/dnvm/1.0.0-dev/libexec/dnvm.sh; dnvm upgra
==> Caveats
Add the following to the ~/.bash_profile, ~/.bashrc or ~/.zshrc file:
source dnvm.sh
==> Summary
🍺 /usr/local/Cellar/dnvm/1.0.0-dev: 4 files, 56K, built in 11 seconds
sim-ui-MacBook-Air:~ shimjaewoon$ dnvm
-bash: dnvm: command not found
sim-ui-MacBook-Air:~ shimjaewoon$ dnvm
-bash: dnvm: command not found
sim-ui-MacBook-Air:~ shimjaewoon$ source dnvm.sh
sim-ui-MacBook-Air:~ shimjaewoon$ dnvm
___ _ ___ ____ ___
/ _ \/ |/ / | / / |/ /
/ // / /| |/ / /|_/ /
/____/_/|_/ |___/_/ /_/
.NET Version Manager - Version 1.0.0-beta6-10396
By Microsoft Open Technologies, Inc.
DNVM can be used to download versions of the .NET Execution Environment and manage which version you are using.
You can control the URL of the stable and unstable channel by setting the DNX_FEED and DNX_UNSTABLE_FEED variables.
Current feed settings:
Default Stable: https://www.nuget.org/api/v2
Default Unstable: https://www.myget.org/F/aspnetvnext/api/v2
Current Stable Override: <none>
Current Unstable Override: <none>
Use dnvm [help|-h|-help|--help] to display help text.
sim-ui-MacBook-Air:~ shimjaewoon$ dnvm upgrade
Determining latest version
Latest version is 1.0.0-beta5
dnx-mono.1.0.0-beta5 already installed.
Adding /Users/shimjaewoon/.dnx/runtimes/dnx-mono.1.0.0-beta5/bin to process PATH
Updating alias 'default' to 'dnx-mono.1.0.0-beta5'
sim-ui-MacBook-Air:~ shimjaewoon$