Last active
October 17, 2018 10:01
-
-
Save pvgennip/1c11f6ee5c7df99caaec2b230b1fe8dd to your computer and use it in GitHub Desktop.
Debian 8 server LAMP 5.6
This file contains 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
#!/bin/bash | |
apt-get update | |
apt-get install sudo | |
# Install LAMP 5.6 | |
https://gist.github.com/pvgennip/6b9fce2e5632182a2639d99e811a31f6 | |
# Letsencrypt certbot | |
echo 'deb http://ftp.debian.org/debian jessie-backports main' | sudo tee /etc/apt/sources.list.d/backports.list | |
sudo apt-get update | |
sudo apt-get install python-certbot-apache -t jessie-backports -y | |
# create certificate with: sudo certbot --authenticator webroot --installer apache | |
# Git | |
sudo apt-get install git -y | |
# Composer | |
cd ~ | |
# Follow manual @ https://getcomposer.org/download/ | |
# Global | |
mv composer.phar /usr/local/bin/composer | |
# Bower (better to use Yarn) | |
sudo apt-get install software-properties-common | |
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - | |
sudo apt-get install nodejs | |
sudo npm install -g bower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment