LAMP: For the un-familiar user

January 8, 2009 at 8:34 PM 8 comments

Two days back, I was searching for a good LAMP package on the ever-expanding internet. But I was amazed to find that there was no unified package where one could do everything in just a single step like the MAMP and WAMP version. People reading this topic will know what I am talking about. But for others, I am referring to the open-source package called MAMP, LAMP or WAMP depending on the platform. The full for is given by – Mac/Linux/Windows Apache MySQL and PHP/Perl/Python(depending on the requirement). As many of you can recognize, it is a web development package. I installed the LAMP package including PHPmyadmin by following one of the many tutorials available. The best one according to me, is this one. It describes the process to install LAMP and configure it by providing the right commands. But it still made the process a little long. No one would want to do it the long way right?

That is the reason that was given to me by Abhilash, one of my close friends. When I asked him if something could be done about it, He gave me a wonderful idea of compiling all thos commands into one easy shell script. You can find this file here. It is in the “.doc” format. But it should work fine as any other shell script if you use it with the sh command. Once you finish downloading the file, go to your “terminal” and change to the directory where you downloaded this file. Once there, type out the following command and follow the instructions.

$ sh lamp.doc

That will do almost everything you need to. The only thing left is the creation of files based on your requirement. Once this step is done, place all the files which you create under the directory : /var/www. Make sure you give suitable permissions to the files. Otherwise they might not work. If someone does not understand any part of what I have said above, PLEASE DO NOT FIDDLE WITH IT! Only a person looking for simple LAMP installation should carry out this process.

Finally, this package includes Apache 2, MySQL, and PHP 5. Additionally, it includes Phpmyadmin also. You can access you localhost by typing localhost in your browser’s address bar. And phpmyadmin can be accessed by typing localhost/phpmyadmin in the browser’s address bar. Enjoy, fellow developers. Credit for the idea goes to my friend G.Abhilash. Signing off, Pavan a.k.a Anniyan.

Download lamp.doc

Disclaimer: This was tested and run on an Ubuntu 8.04 64-bit PC. This is in no way related to Windows. So please DO NOT blame me if you can’t read.


Entry filed under: Linux. Tags: , , , , , , , , .

GOD – Mythology or reality? Prioritize your needs.

8 Comments Add your own

  • 1. vimal  |  January 9, 2009 at 4:24 AM


  • 2. arvind  |  January 9, 2009 at 5:10 PM

    I really have no idea what the post is about !! πŸ™„

  • 3. Varun  |  January 9, 2009 at 6:27 PM

    Nice, neat shell script!! What if the user types wrong user name or password!? Needs a lil re-look. Doesn’t it?

  • 4. smallstar  |  January 9, 2009 at 8:17 PM

    heya… How are you, buddy???? HUGS AND KISSES

  • 5. T  |  January 10, 2009 at 6:12 AM

    Xampp does the same thing without any fizzles:

    Its the easiest way !!!

    Btw congrats that you are not afraid of shell scripts and now must have understood the power of command line :p

  • 6. Nikhil  |  January 19, 2009 at 11:52 AM

    That was the sound of all this flying over the top of my head! πŸ˜€

  • 7. Sandhya - Bhargav  |  February 1, 2009 at 2:31 AM

    am technically challenged ! 😦

  • 8. [Sticky]: For newcomers « Care to take a look?  |  March 9, 2009 at 11:07 AM

    […] LAMP: For the un-failiar user […]


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

%d bloggers like this: