Skip to content

Instantly share code, notes, and snippets.

@megawubs
Last active December 14, 2015 18:59
Show Gist options
  • Save megawubs/5133158 to your computer and use it in GitHub Desktop.
Save megawubs/5133158 to your computer and use it in GitHub Desktop.
Webserver one line installation

###1 one-line installment of php, apache, mysql and phpmyadmin:

$ sudo apt-get install apache2 php5-mysql php5-curl libapache2-mod-php5 mysql-server phpmyadmin

###2: open up vim

$ sudo vim /etc/apache2/apache2.conf

###3: add this line to the file and save Include /etc/phpmyadmin/apache.conf

###4: restart apache

$ sudo service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment