Tuesday, 18 March 2014

Installing LAMP Server in Ubuntu Linux 13.10

In my this blog post here's the quickest way to get LAMP Server (Apache, MySQL and PHP) in Ubuntu Linux 13.10.
To start installation process press Ctrl + Alt + T on your keyboard to open the terminal. When it's open, run the following command to install them with a single command:

#sudo apt-get install lamp-server






To verify Apache service, just type localhost in your web browser:














To verify PHP run the commands below to create a test page in the root directory on the web-server:


#sudo gedit /var/www/test.php


and add the below line into the file and save it.


<?php phpinfo();?>
























Now to verify PHP type the below link into your web browser:

http://localhost/test.php

























Finally, to verify MySQL run the below command .

You have to must type the password which is you have created for MySQL during the installation:

#mysql -u root -p


#mysql>


For any query please feel free to contact me my email id is sashwatkatore@gmail.com.

No comments:

Post a Comment