Last active
December 30, 2015 20:24
-
-
Save richardkiene/c4d0517a68cda66bad65 to your computer and use it in GitHub Desktop.
Install CoreCLR Development Environment on Ubuntu 14.04 LX Branded Zone
This file contains 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
#!/bin/bash | |
useradd -m -c "ASP.NET user account" aspnet -s /bin/bash; | |
read -s -p "Enter aspnet user password: " aspnetpassword; | |
echo "aspnet:$aspnetpassword" | chpasswd; | |
adduser aspnet sudo; | |
echo "aspnet ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | |
apt-get update && apt-get -y dist-upgrade && apt-get install -y unzip curl libunwind8 gettext libssl-dev libcurl4-openssl-dev zlib1g libicu-dev uuid-dev make automake libtool; | |
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -; | |
apt-get install -y nodejs; | |
curl -sSL https://github.com/libuv/libuv/archive/v1.4.2.tar.gz | tar zxfv - -C /usr/local/src; | |
cd /usr/local/src/libuv-1.4.2; | |
sh autogen.sh && ./configure && make && make install; | |
rm -rf /usr/local/src/libuv-1.4.2 && cd ~/ && ldconfig; | |
npm install npm -g; | |
npm install -g yo bower grunt-cli gulp generator-aspnet; | |
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh && dnvm upgrade -u -r coreclr; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment