Skip to content

Instantly share code, notes, and snippets.

@richardkiene
Last active December 30, 2015 20:24
Show Gist options
  • Save richardkiene/c4d0517a68cda66bad65 to your computer and use it in GitHub Desktop.
Save richardkiene/c4d0517a68cda66bad65 to your computer and use it in GitHub Desktop.
Install CoreCLR Development Environment on Ubuntu 14.04 LX Branded Zone
#!/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