Install Ubuntu

  1. Install Apache webserver: sudo apt-get install apache2
  2. Install MySQL database server: sudo apt-get install mysql-server
  3. Install PHP: sudo apt-get install php5 libapache2-mod-php5 php5-mysql
  4. Install phpmyadmin: sudo apt-get install phpmyadmin
  5. Turn on the Apache module rewrite: sudo a2enmod rewrite
  6. Edit /etc/apache2/sites_available/default to enable .htaccess processing (set AllowOverride to All)
  7. Restart Apache: sudo /etc/init.d/apache2 restart

Search docs