Howto Install LAMP server in Jaunty

Sponsored Link
LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform that uses Linux as operating system, Apache as the Web server,MySQL as the relational database management system and PHP as the object-oriented scripting language.
We have already discussed howto install LAMP server using the base installation.If you want to install separately use this procedure.

Apache2 installation

Install apache2 using the following command

sudo apt-get install apache2

to check that Apache has been installed without problems, go to your browser and type

http://localhost

or from remove machine

http://serveripaddress

Note:- You can find your server ip address using ifconfig command

if everything is correct you will see the message

It works

PHP5 Installation

Install php5 using the following command

sudo apt-get install php5 libapache2-mod-php5

restart apache2 using the following command

sudo /etc/init.d/apache2 restart

MySql Installation

To install MySql type the command

sudo apt-get install mysql-server

During the installation you will get the screen to set root password for MySql, enter your password and retype it

Phpmyadmin

phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement.

Install phpmyadmin in ubuntu

sudo apt-get install phpmyadmin

During the installation a blue screen will appear asking you which server you want to use apache, apache2 …. choose then apache2 and click ok

Now Point your browser to: http://serverip/phpmyadmin

Sponsored Link

Incoming search terms:

Related posts

13 thoughts on “Howto Install LAMP server in Jaunty

  1. Try also “sudo tasksel install lamp-server”.

    This is what the Ubuntu Server install CD uses. It should install and configure the stack automagically.

    [Reply]

  2. Nice guide. I’ve been trying to get mysql to work under Jaunty for an hour or so, and it kept “failing” to install…

    Removed everything, followed this guide, and it worked. Thanks a lot!

    [Reply]

  3. Hi,
    There is a ‘/’ missing in ‘sudo etc/init.d/apache2 restart’, it should be ‘sudo /etc/init.d/apache2 restart’

    [Reply]

    admin Reply:

    Mike

    Thanks for your reply.We have updated the main article.

    [Reply]

  4. Windows: 4 hours configuring php, mysql, apache, phpmyadmin config files

    Linux: 10 minutes apt-get install

    Gotta love it. Thanks for this great guide.

    [Reply]

  5. I absolutely new to Linux and rented a Ubuntu Jaunty Root-Server

    All the steps work fine with no error messages, until I´m pointing my browser to: http://serverip/phpmyadmin
    Of course I entered my server IP where it says serverip.

    My errormessage is this:

    Not Found

    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch Server at X.X.X.X Port 80

    Any Idea what to do?

    [Reply]

  6. Just use command: sudo apt-get install lamp-server^ (dont forget to include the carrot)

    Linux: 10 minutes apt-get install

    Gotta love it. Thanks for this great guide.

    [Reply]

  7. ok i have read aall the comments and the article but its still not working terminal keeps saying “could not find task lamp-server” i really need help.

    [Reply]

Leave a comment

Your email address will not be published. Required fields are marked *