Last active
November 13, 2015 00:07
-
-
Save wwwbruno/4c1839bb96cb6fd68937 to your computer and use it in GitHub Desktop.
LAMP env instalation
This file contains hidden or 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
# INSTALATION | |
# udpate system | |
sudo apt-get update | |
# install apache2 | |
sudo apt-get install apache2 | |
# install ppa | |
sudo apt-get install python-software-properties | |
# install mysql 5.6 | |
sudo apt-get install mysql-server-5.6 libapache2-mod-auth-mysql php5-mysql | |
# add php 5.5 ppa (if needed) | |
sudo add-apt-repository ppa:ondrej/php5 | |
# udpate system | |
sudo apt-get update | |
# install php | |
sudo apt-get install libapache2-mod-php5 php-pear php5-cli php5-common php5-curl php5-dev php5-gd php5-mcrypt php5-mysql php5-pgsql php5-xdebug | |
# install phpmyadmin | |
sudo apt-get install phpmyadmin | |
sudo ln -s /usr/share/phpmyadmin /var/www/html/ | |
# restart apache | |
sudo service apache2 restart | |
# REFERENCES | |
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu | |
http://ubuntuforums.org/showthread.php?t=804021 | |
http://www.pixelite.co.nz/article/upgrading-php-54-ubuntu-1204-lts-support-drupal-8/ | |
http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server#answer-23175981 | |
http://www.dev-metal.com/enable-mod_rewrite-ubuntu-14-04-lts/ | |
https://coderwall.com/p/uaohzg/use-nfs-to-speed-up-your-vagrant | |
http://askubuntu.com/questions/455614/downgrade-php-version-from-5-5-to-5-4-on-ubuntu-14-04 | |
http://tecadmin.net/install-php5-on-ubuntu/ | |
http://www.webtechquery.com/index.php/2010/11/ubuntu-call-to-undefined-function-mssql_connect/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment