Last active
February 21, 2016 19:41
-
-
Save magohl/029efefbf15527b5f10d to your computer and use it in GitHub Desktop.
Raspberry Pi 2 - Install mono and ASP.NET 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Raspian | |
-Resize sdcard | |
-Install mono | |
-Install DNVM | |
-Install DNVM Execution Env | |
-Download ASPNET samples | |
-Resore packages for HelloWorldMvc | |
-Run HelloWorldMvc | |
sudo raspi-config | |
Select "Resize SD option..." | |
Reboot | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install mono-complete | |
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh | |
source ~/.dnx/dnvm/dnvm.sh | |
dnvm upgrade | |
https://github.com/aspnet/Home.git | |
cd Homes/samples/HelloMvc | |
kpm restore | |
dnx . kestrel |
You're missing the installation instructions for libuv. It should be installed after mono.
sudo apt-get install automake libtool curl
curl -sSL https://github.com/libuv/libuv/archive/v1.4.2.tar.gz | sudo tar zxfv - -C /usr/local/src
cd /usr/local/src/libuv-1.4.2
sudo sh autogen.sh
sudo ./configure
sudo make
sudo make install
sudo rm -rf /usr/local/src/libuv-1.4.2 && cd ~/
sudo ldconfig
Lines 25 and 26 should be:
git clone https://github.com/aspnet/Home.git
cd Home/samples/latest/HelloMvc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would replace line # 27 with 'dnu restore' instead.
thanks for the gist anyway, saved me a lot of time