Skip to content

Instantly share code, notes, and snippets.

@jlopezcur
Last active July 13, 2017 01:29
Show Gist options
  • Save jlopezcur/7d36eb010130236516962135f014a875 to your computer and use it in GitHub Desktop.
Save jlopezcur/7d36eb010130236516962135f014a875 to your computer and use it in GitHub Desktop.
Setup Laravel Server
# Packages
sudo apt install php7.0 php7.0-mbstring php7.0-xml php7.0-mysql php7.0-cli git curl composer nginx mariadb-client -y
# Deployment user
sudo adduser forge --disabled-password
sudo adduser forge sudo
# Certbot (Let's encrypt)
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt update
sudo apt install python-certbot-nginx -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment