Archive for the ‘Command Lines’ category

Install Apache2, MySQL5, PHP5 and PHPMyAdmin on Ubuntu

September 20th, 2009

This is a collection of guide how to install Apache Httpd Web Server complete with latest PHP (as Apache mod), MySQL for Ubuntu. As a bonus, I even through in an additional guide to install PHPMyAdmin. Please do note that most of this guide can be found elsewhere which is listed at the bottom of the guide.

Getting Started

I’m sure everyone here is familiar on how to use Terminal which is available from:

Applications > Accessories > Terminal

Install Apache Httpd Web Server

To install Apache, type the following command into your Terminal:

> sudo apt-get install apache2

Testing Apache

Paste the following command into your Terminal

> sudo /etc/init.d/apache2 start

Then open http://localhost/ or http://127.0.0.1 from your web browser. At first run, you would probably see a directory listing or a HTML page with a text saying “It’s Work“.

It’s Work

» Read more: Install Apache2, MySQL5, PHP5 and PHPMyAdmin on Ubuntu