How to install LAMP

Type the following commands in terminal:

$sudo apt-get install apache2

Then type y

$sudo apt-get install php5 libapache2-mod-php5

Type y

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

Type y

After this fill the password as username ‘root’

then press Tab

then press space to select ok

$sudo apt-get install phpmyadmin

press y

Firstly press Space to select apache2

then press Tab and then Space to select ok

Press Tab and Space to select ok

Press Tab and SpaceĀ  to select yes

Fill password here. Then press Tab and Space to select ok

then press Tab

then press Space to select ok

Retype the same password to confirm

$sudo apt-get install libapache2-mod-auth-mysql php5-mysql

$sudo /etc/init.d/apache2 restart


Open with browser:


it shows :

Then open in browser:


login with username and password


How to install PYTHON 2.7

Type the commands in terminal:

$ wget
$ tar xzf Python-2.7.tgz
$ cd Python-2.7
$ ./configure –with-pth –with-dec-threads –with-signal-module –prefix=/opt/python-2.7
$ make
# make install

For more information refer the link: