Skip to content

Instantly share code, notes, and snippets.

@carbontwelve
Last active March 14, 2017 12:47
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 carbontwelve/f9319a36fb252a7d44d55158005e71dc to your computer and use it in GitHub Desktop.
Save carbontwelve/f9319a36fb252a7d44d55158005e71dc to your computer and use it in GitHub Desktop.
LEMP Stack
// Debian
wget https://packages.sury.org/php/apt.gpg && apt-key add apt.gpg && rm apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
// Ubuntu
// Both
apt-get update && apt-get upgrade
apt-get install zip htop bmon mc nginx php7.1-cli php7.1 php7.1-fpm php7.1-curl php7.1-zip php7.1-gd php7.1-xml php7.1-mysql php7.1-mcrypt php7.1-mbstring php7.1-opcache mariadb-server mariadb-client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment