Category Archives: LAMP

LAMP, turn IT on

For the majority of the readers of this blog, you probably already know exactly what a LAMP is. So why not go down a Monster, or grab that third cup of coffee, and skip this blog entry.

For the rest of you who don’t write code everyday – I’m not talking about a lamp that requires a lightbulb and plugs into the wall. I am talking about a Linux/Apache/MySQL/Perl, PHP, Python server.

It is, as the acronym indicates, a Linux operating system, Apache web server, MySQL database, and one of the “P” scripting/programming languages. There are many sites that will teach you how to learn basic Perl, PHP and Python scripts, which, combined with some HTML code, would give you a functional and very inexpensive website. It’s actually free, although the time you spend setting it up is probably worth something to you..

And, my time is money too, so I’m not going to reinvent the wheel in this blog and talk about how to install or configure a LAMP server, that has been done already, and very well, I might add, on many other sites. Consult Google to find them.

And if you haven’t left to do that yet, you should know setting up a LAMP server is actually not that hard to do using Linux Ubuntu 10.04 version. You don’t need years of programming experience – actually you don’t have to do any programming at all, other than how to follow default settings during the installation. Just select LAMP as an option during the simplified installation process.

So thanks to the efforts of community minded open source developers, this blog actually tells you all you need to know to get a LAMP server up and running.

The alternate is that you would have to pay out some of your hard earned $$ for Microsoft’s equivalent of Windows Server 2003 Web Edition. With that statement, a light should have gone on over your head.

Ubuntu server…like IT so far?

A few weeks ago, I downloaded and installed Ubuntu server 10.04 on a Toshiba Tecra 8200 series laptop. I downloaded the ISO image from their website (which is a great site, by the way).

For the impatient people… If you cannot wait, you can download the server version or go to the main page.

Where was I? Oh yes. (Sometimes I talk to myself while typing these, so get over IT) Anyway, I downloaded the ISO image, and then burned it to CD on my Microshaft Windows XP Media Center running on a Dell Dimension E510. I burned it with a free program called InfraRecorder. Then I simply loaded the CD into the laptop CD/DVD drive and went through the default installation process, which anyone can do.

I noted that with this version (10.04), you can setup a Linux / Ubuntu server and add additional applications. I choose to create a LAMP server. You merely need to select the option. Presuming you have an Internet connection or you are connected local area network that allows DHCP clients, it will also automatically setup your network, go out and get the install packages, and when complete, you will have a fully functioning LAMP server!

For those of you who do not know how to use Linux commands, be aware that the server version by default is not installed with a Graphical User Interface (GUI) interface. I would recommend you try the Ubuntu desktop instead. Again, you will need to create a CD from the ISO image that you download. If you do not know how to burn an ISO image to a CD-ROM disc, please get the free program listed above.

Jeez, I went off on a tangent there…you’d think I’m getting paid for each of these links or something… Getting back to the Ubuntu server, I went in and modified the default index.html page, and entered some really basic HTML.

[ Edger Heckten Tip: I wanted to find out the IP address assigned via DHCP to my LAMP server, so I simply logged in, opened a command prompt, and typed ifconfig. ]

Then I went back to my Dell E510, typed in the IP address into my Firefox web browser and the web pages I just created showed up. If I had not already created literally hundreds of web pages, this would have been a memorable occasion. Instead, I remarked “cool.” and moved on.

Ok, so what are your thoughts about IT? Let me know right here – post your comments!