How to Install LAMP on Linux Ubuntu

LAMP is an abbreviation for mentioning Linux, Apache, MySQL and PHP which are open source based web development environments, where Linux is an operating system, Apache as a web server, MySQL as a relational database management system and PHP (Hyper Text Preprocessor) is an object oriented programming language.

As Linux users maybe colleagues want to know how to install the LAMP. There are many approaches to installing LAMP servers on Linux. The simplest and most frequently used approach is to use the command line in Terminal.

This tutorial will show you how to easily install a LAMP server on Linux Ubuntu.

This practice uses the Ubuntu 11.04 “Natty Nawhal” distro, whereas to install the LAMP server, first make sure you are connected to the Internet or DVD Ubuntu 11.04 repository.

The steps are as follows:

I. Installation

1. Open Terminal via the menu: Applications → Accessories → Terminal
2. Type the command below :

$ sudo apt-get install lamp-server

3. Enter a new password for the MySQL root user

II. Testing

A. Apache

Test the Apache web server by using your favorite browser application (Firefox, Chrome, etc.) by typing or http: // localhost at the existing browser address.


Halaman: 1 2 3


How to Install Google Adsense Ads in the Article Posting

Chocolate for Health Benefits