LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver
on an Ubuntu 9.04 server with PHP5 support (mod_php) and MySQL support..
*Installing MySQL 5.0:-
#aptitude install mysql-server mysql-client
You will be asked to provide a password for the MySQL root user – this password is valid for the user root@localhost as well as
root@server1.example.com, so we don’t have to specify a MySQL root password manually later on:
New password for the MySQL “root” user: <– yourrootsqlpassword
Repeat password for the MySQL “root” user: <– yourrootsqlpassword