Skip to content

Instantly share code, notes, and snippets.

@ShawkyZ
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShawkyZ/0b3831329a0372e33aef to your computer and use it in GitHub Desktop.
Save ShawkyZ/0b3831329a0372e33aef to your computer and use it in GitHub Desktop.
#!/bin/sh
#for mono dependencies
sudo apt-get install git
sudo apt-get install build-essential
wget http://download.mono-project.com/sources/mono/mono-3.8.0.tar.bz2
tar -xvf mono-3.8.0.tar.bz2
cd mono-3.8.0/
./configure --prefix=/usr/local
make
sudo make install
#Certificates
sudo certmgr -ssl -m https://go.microsoft.com
sudo certmgr -ssl -m https://nugetgallery.blob.core.windows.net
sudo certmgr -ssl -m https://nuget.org
sudo certmgr -ssl -m https://www.myget.org/F/aspnetvnext/
mozroots --import --sync
#for KVM
sudo apt-get install curl
curl -sSL https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.sh | sh && source ~/.kre/kvm/kvm.sh
sudo -s
source /home/xuser/.kre/kvm/kvm.sh
kvm upgrade
#for libuv
sudo apt-get install gyp
wget http://dist.libuv.org/dist/v1.0.0-rc2/libuv-v1.0.0-rc2.tar.gz
tar -xvf libuv-v1.0.0-rc2.tar.gz
cd libuv-v1.0.0-rc2/
./gyp_uv.py -f make -Duv_library=shared_library
make -C out
sudo cp out/Debug/lib.target/libuv.so /usr/lib/libuv.so.1.0.0-rc2
sudo ln -s libuv.so.1.0.0-rc2 /usr/lib/libuv.so.1
#Get Template And Build IT
git clone http://github.com/aspnet/home
cd home/samples/HelloMvc
kpm restore
kpm build
#OmniSharpServer
git clone https://github.com/nosami/OmniSharpServer.git
git clone https://github.com/aspnet/Home
cd OmniSharpServer
git submodule update --init --recursive
xbuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment