Skip to content

Instantly share code, notes, and snippets.

@btk
Created June 10, 2016 16:59
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 btk/f9a98f271895cc7c65da14c15395a790 to your computer and use it in GitHub Desktop.
Save btk/f9a98f271895cc7c65da14c15395a790 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo mysql_install_db
sudo /usr/bin/mysql_secure_installation
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo nano /etc/apache2/mods-enabled/dir.conf
"<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.php index.xhtml index.htm
</IfModule>"
apt-cache search php5-
sudo apt-get install "name of the module"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment