Skip to content

Instantly share code, notes, and snippets.


lcdss/Ubuntu Server Setup

Last active Jun 19, 2016
What would you like to do?
sudo apt-add-repository -y ppa:git-core/ppa
sudo apt-add-repository -y ppa:nginx/stable
sudo apt-add-repository -y ppa:ondrej/php
# sudo apt-add-repositpry -y ppa:chris-lea/redis-server
curl -sL | sudo -E bash -
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp:// 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,i386] xenial main'
# sudo apt-key adv --recv-keys --keyserver hkp:// 0xcbcb082a1bb943db
# sudo add-apt-repository -y 'deb [arch=amd64,i386] trusty main'
sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get install -y git
sudo apt-get install -y nginx
sudo apt-get install -y php7.0-fpm php7.0-mbstring php7.0-mysql php7.0-gd
# sudo apt-get install -y redis-server
sudo apt-get install -y nodejs
sudo apt-get install -y mariadb-server
sudo curl -sS | sudo php -- --install-dir=/usr/local/bin -- --filename=composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment