Created
February 8, 2014 10:27
-
-
Save gravitano/8881587 to your computer and use it in GitHub Desktop.
Setup LAMP on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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