Lamp Under Ubuntu Jaunty

Lamp is an web developement under Linux(Using mysql as database) , where Apache as the web server,Mysql as the relational database management system and PHP as the object-oriented scripting language.
Installation : Apache2

Open Terminal and follow the commands given below (step by step)

Command :-
sudo apt-get install apache2

For checking Apache has been installed correctly, open your browser and type:   http://localhost

or from remote machine

http://serveripaddress

Note:- You can find your serveripaddress using ipconfig command

if everything is correct you will see the message :  It works !

Installation :Php5

Install php5 using the following command

sudo apt-get install php5 libapache2-mod-php5

restart apache2 using the following command

sudo etc/init.d/apache2 restart

Installation :Mysql

To install MySql type the command
sudo apt-get install mysql-server

During the installation you will get the screen to set root password for MySql, enter your password and retype it

About Phpmyadmin

phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement.

Installation : Phpmyadmin
sudo apt-get install phpmyadmin

During Installation ,it is asked to choose between apache ans apache2 ,you choose apache2 and continue installation.

  • Share/Bookmark
Get Adobe Flash playerPlugin by wpburn.com wordpress themes