Wednesday, October 26, 2011

Install LAMP on Ubuntu 11.10

sudo -i 
apt-get install mysql-server mysql-client 
apt-get install apache2 
apt-get install php5 libapache2-mod-php5 
/etc/init.d/apache2 restart 
vi /var/www/info.php
<?php
phpinfo();
?>
apt-cache search php5

apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

/etc/init.d/apache2 restart

apt-get install phpmyadmin

Refer
  • http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-11.10-lamp
  • http://gregrickaby.com/2011/10/how-to-install-lamp-on-ubuntu-1110-oneiric-ocelot.html

No comments:

Post a Comment