How to install LAMP server in Ubuntu 9.04

This post was written by admin on August 29, 2009
Posted Under: General

LAMP is abbreviated from Linux,Apache,MySQL,andPHP.It’s an open source Web development platform running on Linux operating system.

To install LAMP in ubuntu 9.04,first install the web server Apache2:

sudo apt-get install apache2

Type this in your browser addressbar to check the installation.

http://localhost

Then install the object-oriented scripting language PHP5

sudo apt-get install php5 libapache2-mod-php5

And restart apache by following command

sudo /etc/init.d/apache2 restart

Now install the relational database management system MySQL by following command

sudo apt-get install mysql-server

Install the free software tool phpMyAdmin to handle the administration of MySQL over the World Wide Web.

sudo apt-get install phpmyadmin

A blue screen will appear during the installation,choose the apache2 and click ok.

Related posts:

  1. The easiest way Installing Lamp server in Ubuntu
  2. Install PHP5 and Apache in ubuntu
  3. Fix Mysql5.0 ERROR 1045(forget database password) in Ubuntu Linux
  4. Enable Remote Access to Mysql database in Ubuntu Linux
  5. Install and Enable Telnet server in Ubuntu Linux

    Tags:

    Reader Comments

    Thank you for the very usefull information.
    But, where is the location of htdocs and MySQL/Data?

    [Reply]

    #1 
    Written By Bayu on October 19th, 2009 @ 9:23 pm

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address