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:
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
Test the Apache web server by using your favorite browser application (Firefox, Chrome, etc.) by typing http://127.0.0.1 or http: // localhost at the existing browser address.
B. PHPHalaman: 1 2 3