LAMP is the free open source software bundle stands for L for Linux (Operating system), A for Apache (The http server), M for MySQL (The best open source database software ) and P for PHP (Server Side Scripting Language).
Linux is already installed hence all we have to install now is Apache, MySQL and PHP.
Installing Apache: Apache is the number one open source http server on Internet with unrestrictive licence from Apache Software Foundation.
For installation: From your terminal window type the command:
sudo apt-get install apache2
After installation Apache automatically starts. To start it manually type the given command:
sudo /etc/init.d/apache2 start
For restarting Apache, follow the command:
sudo /etc/init.d/apache2 restart
Installing PHP: To install PHP, type the following command in the terminal:
sudo apt-get install php5 libapache2-mod-php5
After installation restart Apache.
Now create a new PHP file by giving the extension .php like filename.php and save the file in /var/www/
Open your web browser and points the file to the address: http://localhost/filename.php and you will see the filename.php in your browser. Now it’s the time to install MySQL.
Installing MySQL: Type the command in the terminal for installing server:
sudo apt-get install mysql-server
After the installation you have to login to the MySQL prompt and give the administrative user password.
Login with the command: mysql -u root -p.
As no password is configured so you have to press ENTER when it prompts for the password.
Then type the given command with your own password:
SET PASSWORD FOR ‘root’@'localhost’ = PASSWORD (‘YOURPASSWORD’)
Now quit the console by typing quit and pressing ENTER. To start MySQL again type the command: sudo /etc/init.d/mysql start




[...] more here: Configuring LAMP Server « Linux | Apache | MySQL | PHP Category: TipsTags: lamp > linux > PHP > scripting > scripting-language > software-bundle > [...]
Got it! Thnaks a lot again for helping me out!
Posts like this brighten up my day. Thankss for taking the time.
You have shed a ray of ssunhine into the forum. Thanks!
[...] on Add A New Custom-Logo To Your …Deandra on I am using wordpress and want …Idalia on Configuring LAMP ServerBoomer on Configuring LAMP ServerCami on Add A New Custom-Logo To Your …Nelia on Configuring [...]