How to install LAMP in Ubuntu 10.04?

Why we should install LAMP?

If you’re developing websites, it’s nice to be able to test your code in the privacy of your own computer rather that out in the public internet. In order to do that, you’ll need to install a webserver on your development computer. LAMP (Linux, Apache, MySQL, php) is one of the most common web hosting platforms, so it’s a perfect environment for you to build and test your website code. If you carefully follow these step by step instructions, you’ll have your own LAMP setup running in no time.

Install LAMP on Ubuntu

To install it, type and run the following commands one by one in the terminal:

sudo apt-get install apache2

sudo apt-get installphp5 libapache2-mod-php5

sudo apt-get install mysql-server mysql-server

sudo apt-get install phpmyadmin

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

sudo /etc/init.d/apache2 restart

Note: We will be promoted to enter teh password for mysql,phpmyadmin etc.It will look as if installation is going on with blue blink. But don’t get confuse. It is the space where you have to write the password. Press the Tab key to navigate from one button to another like to choose ok or cancel button, press the tab key for choosing it.

Advertisements

About Priyanka Kapoor

Simple, Hardworking & friendly.....
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s