Last active
November 29, 2016 15:45
-
-
Save kierwils/e724844e7e4faa121e2a2513971fa123 to your computer and use it in GitHub Desktop.
server setup on aws ec2 debian 8.3
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
apt update | |
apt upgrade -y | |
apt install git curl software-properties-common -y | |
echo 'deb http://packages.dotdeb.org jessie all' > /etc/apt/sources.list.d/dotdeb.list | |
echo 'deb-src http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list.d/dotdeb.list | |
wget https://www.dotdeb.org/dotdeb.gpg | |
apt-key add dotdeb.gpg | |
rm dotdeb.gpg | |
apt update | |
apt install php7.0-curl php7.0-intl php7.0-fpm php7.0-imagick php7.0-mysql php7.0-sqlite php7.0-redis php7.0-memcached -y | |
echo 'deb http://nginx.org/packages/debian/ jessie nginx' > /etc/apt/sources.list.d/nginx.list | |
echo 'deb-src http://nginx.org/packages/debian/ jessie nginx' >> /etc/apt/sources.list.d/nginx.list | |
wget http://nginx.org/keys/nginx_signing.key | |
apt-key add nginx_signing.key | |
rm nginx_signing.key | |
apt update | |
apt install nginx -y | |
echo 'deb [arch=amd64,i386] http://lon1.mirrors.digitalocean.com/mariadb/repo/10.2/debian jessie main' > /etc/apt/sources.list.d/mariadb.list | |
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db | |
apt update | |
apt install mariadb-server -y | |
echo 'deb https://deb.nodesource.com/node_7.x jessie main' > /etc/apt/sources.list.d/nodejs.list | |
echo 'deb-src https://deb.nodesource.com/node_7.x jessie main' >> /etc/apt/sources.list.d/nodejs.list | |
wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key | |
apt-key add nodesource.gpg.key | |
rm nodesource.gpg.key | |
apt update | |
apt install nodejs -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment