Skip to content

Instantly share code, notes, and snippets.

@Shaltz
Last active November 14, 2015 14:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shaltz/b73f7cfd36ca98046a2d to your computer and use it in GitHub Desktop.
Save Shaltz/b73f7cfd36ca98046a2d to your computer and use it in GitHub Desktop.
Install LAMP server on ubuntu
# Install packages
sudo apt-get install apache2 mysql-server mysql-client php5 php5-mysql php5-intl libapache2-mod-php5 phpmyadmin
# Access phpMyAdmin
http://serverIP/phpmyadmin/
# If doesn't work, edit
sudo nano /etc/apache2/apache2.conf
# and add to the bottom of the file
Include /etc/phpmyadmin/apache.conf
# restart apache 2 server
service apache2 restart
# or on ubuntu 15.04
sudo systemctl restart apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment