Linux, Open Source, Free Software, Bicycles, and other topics of interest.
RSS icon Twitter icon
  • How To Install LAMP Server in Ubuntu Linux

    Posted on December 9th, 2009 linuxandfriends No comments

    This guide teaches you how to install LAMP server in Ubuntu Linux the easy way. LAMP is an acronym for Linux Apache MySQL and PHP. Apache web server, MySQL database, and PHP form the de facto standard for running any content management system – be it WordPress, Drupal, Joomla and so on.

    Install LAMP Server in Ubuntu Linux

    You can easily install LAMP server in Ubuntu 7.04 or later (Ubuntu 9.10) using the tasksel command.

    Fire up a terminal and enter the following command to install LAMP server on your Ubuntu machine.

    $ sudo tasksel install lamp-server

    Ubuntu will then start downloading the relevant packages and install it on your machine. During installation, you will be prompted to set a password for root user in MySQL.

    [Source : Ubuntu Docs]

    Problems Encountered And Their Solution

    If while downloading the packages, tasksel unexpectedly exits with an error – tasksel: aptitude failed (100), do not despair. It is because the package database of your Ubuntu installation is old. Doing a sudo apt-get update will resolve the error and tasksel will be able to continue where it left off.

    As this guide shows, installing LAMP server in Ubuntu has become childs play.

    Related Posts

    Comments are closed.