Skip to content

Instantly share code, notes, and snippets.

View naanzitos's full-sized avatar
🤑

Renan Nogueira naanzitos

🤑
View GitHub Profile
@naanzitos
naanzitos / install.sh
Created March 2, 2018 17:45
Installs LAMP with PHP 5.6 on Ubuntu 16.04
#!/bin/bash
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y apache2
sudo ufw allow in "Apache Full"
sudo apt-get install -y mysql-server
# After running this command, select (Y), option 2, then (Y) for the rest of the prompts.
sudo mysql_secure_installation