Skip to content

Instantly share code, notes, and snippets.

@nkt
Last active August 29, 2015 13:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nkt/f7c499a266b92cd139b2 to your computer and use it in GitHub Desktop.
Save nkt/f7c499a266b92cd139b2 to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade
sudo apt-get install -y software-properties-common python-software-properties
sudo add-apt-repository -y ppa:ondrej/php5
sudo add-apt-repository -y ppa:nginx/development # or ppa:nginx/stable
sudo add-apt-repository -y ppa:git-core/ppa
# Sometimes it doesn't works fine
# add-apt-repository -y ppa:ondrej/mysql-5.6
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install -y php5-cli php5-fpm php5-mysql php5-apcu php5-intl php5-gd php5-curl
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
sudo apt-get install -y mysql-server
sudo apt-get install -y nginx-full
sudo apt-get install -y git-core
sudo apt-get install -y ruby1.9.1
sudo gem install rmate
sudo apt-get install -y nodejs
sudo npm install -g grunt gulp bower coffee-script
sudo dpkg-reconfigure tzdata
sudo reboot
@nkt
Copy link
Author

nkt commented Aug 19, 2014

curl -sS https://gist.githubusercontent.com/nkt/f7c499a266b92cd139b2/raw/vps.sh | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment