Last active
June 19, 2016 01:14
-
-
Save lcdss/a060d2b24d34a6a73ffc to your computer and use it in GitHub Desktop.
ubuntu-server-setup
This file contains hidden or 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
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 https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get install software-properties-common | |
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 | |
sudo add-apt-repository 'deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu xenial main' | |
# sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db | |
# sudo add-apt-repository -y 'deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu 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 https://getcomposer.org/installer | 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