Installing LAMP Stack in Ubuntu

Hai friends. Lets Setup the LAMP-Linux Apache MySql and PHP in Ubuntu Linux 🙂

First of all Install Ubuntu Linux in the Machine you wish to Install the LAMP Stack.

Step1: Hey Step 1 in setting LAMP Stack is installing a Linux Distro and by now you might have completed the  first step 🙂

Considering the installation as a fresh one.

First update the distro for that open a terminal and give the following commands :

$sudo apt-get update

The above command will fetch the softwares list from the Ubuntu repositories.


$sudo apt-get upgrade

The above command will update your Ubuntu OS to date.


The Second step is to install APACHE WEB SERVER. for that :

$sudo apt-get install apache2

this will install apache server on your machine

You can control apache using

$sudo service apache2 start/stop/restart


The next step is MYSQL DATABASE SERVER for that:

$sudo apt-get install mysql-server mysql-client

while installing the server it will prompt for a password for mysql server. Enter is twice and continue.

You can control mysql server by

$sudo service mysql start/stop/restart

Here you can install mysql-gui-tools-common which will give you



which will be of great help 🙂


Now the last step is to install php.

$sudo apt-get install php5

and everything is done. 🙂

Now goto /var/www and create a test.php




and open a browser and navigate to http://localhost/test.php

it shows the phpinfo page and the LAMP Stack is Ready 🙂


Installing Google Chrome on Fedora Core 8


Hai friends we are going to install Google chrome(chromium) on fedora core 8. Those who had tried to install would have found various dependency problems. Now with the help of the above link i am going to explain the installation procedure .Chromium requires more recent libraries than already installed, and yum cannot update them due to unresolved dependencies. But you can download and extract the required libraries and make Chromium use them, without interfering with the already installed system libraries.

1. First of all become root using su.and enter password when prompted


.2. First step is to create a folder for working

#mkdir -pm 777 /opt/chrome-linux/libs

3. Now navigate to the folder created

#cd /opt/chrome-linux/libs

4. Now download some rpm’s and install it.


5. Now install the downloaded packages and remove those rpms from the current directory either by deleting or copying it for later use.We here just delete those files

#rpm -Uh *rpm

#rm -f *rpm

6. Now get some more rpm’s


for i in `ls *rpm`; do rpm2cpio $i | cpio -idv; rm $i; done

7. Now move the new libraries to the root of the installation

#cp usr/lib/* $PWD

#cd /opt/chrome-linux/

#mv libs/* $PWD

8. Now create a custom launcher.

cat << EOF > /opt/chrome-linux/
export LD_LIBRARY_PATH=/opt/chrome-linux/libs:$LD_LIBRARY_PATH

9. Recheck the script whether the item in bold displayed above is there or not

10. Now apply execute permission to the script

#chmod 755 /opt/chrome-linux/libs/

11. Download Chromium and extract it.

wget -N

sudo unzip -o -d /opt
sudo chown -R user /opt/chrome-linux

12. Remember the user shown in bold is the username of the local user

13. Now create a custom launcher in dekstop with

name:Google chrome



in terminal just excecute