Get a LAMP Environment In 10 Minutes on Ubuntu 10.04

June 21, 2012

What is a LAMP Environment?

LAMP stands for Linux, Apache, MYSQL, and PHP. Linux is an operating system, Apache is an open source web server software, MYSQL is a relational database management system, and PHP is an open-source scripting language used in web development.

Since I currently do my web development on an Ubuntu (v10.04) virtual machine, I had to install a LAMP environment in order to do so. And had I known about tasksel, instead of installing Apache, MYSQL, and PHP individually, I would have been able to do it all in one go.

What is tasksel?

From the docs: “Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated “task” onto your system. ”

How do I install tasksel?

Do a “sudo apt-get install tasksel” at the command prompt. You should be ready to run tasksel and update your LAMP environment.

Example: How I installed LAMP with tasksel on my laptop

Open a command prompt (terminal) window and type “sudo tasksel”.  You should see a screen like the following:

Taskel Screenshot

Now select the “LAMP server” option. Apache, MYSQL, and PHP should install and you’re ready to go!


Profile picture

Written by Bruce Park who lives and works in the USA building useful things. He is sometimes around on Twitter.