Skip to content

Instantly share code, notes, and snippets.

View tonyrayo's full-sized avatar

Tony Rayo tonyrayo

View GitHub Profile
@manraog
manraog / install PHP
Last active August 31, 2018 02:15
Installs LAMP with PHP 5.6 on Ubuntu 16.04
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