Installation of LAMP(Howto)

Published on by Fahim

Apt-Get Installation of LAMP 

The LAMP (Linux+Apache+Mysql+Php) stack is very easily installed on any default installation of ubuntu server as follows

A). Install MySQL

sudo apt-get install mysql-server mysql-client

Then provide a password for the MySQL root user

root password: xyz

Configuration file contain as nano /etc/mysql/my.cnf. you could change the bind address of your local ip.





Just write this command and after give root pass!!

mysql -u root -p     ------> Root pass

B). Install Apache2

sudo apt-get install apache2

apache default document place at /var/www , which you find index.html file for editing (eg. nano /var/www/ index.html )




and apache config file is /etc/apache2.conf.

after configring, make restart apache2 web server

sudo /etc/init.d/apache2 restart


JUST write this from your browser!!


C). Install PHP

sudo apt-get install libapache2-mod-php5

sudo /etc/init.d/apache2 restart

From this post i just only done installation of above services thats works properly but you could find more for your configuration requirement from following links. 

See more...

To be informed of the latest articles, subscribe:

Comment on this post

Obat Wasir 06/17/2016 07:03

Thank's very much. Nice post

Obat Ambeien 06/17/2016 07:02

Really good

Obat kutil kelamin 03/29/2016 02:56

I really like the information provided in this article. Installing solar panel will drastically reduce the green house gas emissions (carbon footprint) and electricity bill of ones house holds, Even though solar panel don’t emmidiately pay for themselves 5 to ten years they are still a very wise investment.

Obat wasir 03/10/2016 12:54

Nice post

Wasir 03/10/2016 12:54

Nice info