Skip to content

Instantly share code, notes, and snippets.

@gravitano
Created February 8, 2014 10:27
Show Gist options
  • Save gravitano/8881587 to your computer and use it in GitHub Desktop.
Save gravitano/8881587 to your computer and use it in GitHub Desktop.
Setup LAMP on Ubuntu
sudo apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2-suexec libexpat1 ssl-cert
sudo apt-get install libapache2-mod-php5 libapache2-mod-ruby libapache2-mod-python php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
sudo apt-get install mysql-server mysql-client libmysqlclient15-dev
sudo apt-get install phpmyadmin
#enable mod rewrite
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart
sudo chown -R gravitano /var/www
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment