L.A.M.P.

L.A.M.P. is an acronym for a web server setup consisting of an operating system, a web server, a database, and a programming language.  These four components, create a web application.  In the case of a L.A.M.P. configuration you have:

  • Linux as an operating system.
  • Apache as a web server.
  • MySQL as a database.
  • PHP as a programming language.

Variants that I’ve read about differ in operating systems.  W.A.M.P. uses Windows and M.A.M.P. uses the Macintosh OS X operating system.

Encountering difficulties building Apache on Leopard OS X, I install the L.A.M.P. setup on Ubuntu, a popular flavor of Linux distribution.  Typically, I like to create these environments in Virtual Machines (VMs) where my development is sand-boxed.  If I create a mess, I can always delete it and create a new environment.

However, installing Ubuntu in a VM presented one small problem.  At the first glance, the L.A.M.P. installation did not appear to be available.

From websites that I’ve read, the L.A.M.P. installation is available by task selection within Synaptic, a program that manages linux program installations.  Synaptic can be shown by choosing from the Desktop.

System -> Administration -> Synaptic Package Manager

From the package manager, go to Edit -> Mark Packages by Task…

However, a L.A.M.P. installation is no where to be found.

Since that doesn’t appear to work, it’s time to use a second line of attack, installing each component from the command line.  I start by installing the web server and type.


sudo apt-get install apache2

And I see…


Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package apache2

As it turns out, I never setup the my network configuration and couldn’t connect to the Internet.  The L.A.M.P. installation only appears after clicking on Reload within Synaptic.  Alternatively, you can also do this by clicking on the Check button on the Update Manager.  After the package listing is refreshed, the L.A.M.P. installation becomes available.

2 comments ↓

#1 wins on 11.19.08 at 3:22 am

very nice howto, thank you for this!
i am a ubuntu user only and left windows behind long time ago..shortly after qualifying for my MCSE (microsoft certified systems engineer) and started with red hat 6.2 and kde
today i kick ubuntu only and don’t use windows.
the reason i was looking for this was because I am using zend studio for eclipse, but was looking for some software in ubuntu to draw up website flow diagrams, think you can help me with that?

should maybe check out dreamweaver cs3 - although running on windows

have a great day man, and thanks again,

wins

#2 joe.bivins on 11.26.08 at 7:43 am

Winston,

I use OpenOffice to create the flow diagrams. Prior to OpenOffice, I used another program called Dia (http://live.gnome.org/Dia). My personal preference is Microsoft Visio but that pins you to the Microsoft operating system.

Leave a Comment