Counting...


Labels

New Flash Labels by Way2Blogging

Tuesday, July 31, 2012

LAMP server

Hello again
Most of the websites which are related to Database commonly designed with PHP. You can run those type of file on regular browser as client script but its not possible to run server side script on regular browser directly. To run those scripts we need to install specific server like apache n all.
Here I am with instructions for installing the LAMP server on Ubuntu OS. LAMP stands for Linux Apache Mysql and PHP.
follow the following instructions to install it on ur system

sudo apt-get install lamp-server^
sudo gedit /var/www/testing.php ()
sudo /etc/init.d/apache2 restart
Chek http://localhost/testing.php
sudo apt-get install libapache2-mod-auth-mysql phpmyadmin
Select Apache2

chmod -R 777 /var/www
sudo chmod a+rwx /var/www

To thange the permission


Ti Edit Host File
sudo gedit /etc/hosts
now open your browser and type localhost in address bar and if you are able to see message as 'It Works' then you can say the sever has been installed successfully.
If you have some queries related to above post U can mail me @chougule.anupam@gmail.com with subject LAMP OR

No comments:

Stay tuned by Email