Installing Complete LAMP Stack on Ubuntu 6.10(Edgy Eft)
One way to get the complete LAMP(GNU/Linux + Apache + MySQL + PHP) stack installed and configured on Ubuntu operating system is to use the Server install CD version of the distribution. Ubuntu 6.10 Server Edition, for example, provides a menu option during the installation to install a complete LAMP server on the machine. No desktop environment or unnecessary packages will be installed, so this is the preferred way to run a dedicated LAMP stack on a machine. Once installed this way, one can easily login to this machine remotely and tweak the default configuration settings.
For those who would like to run the LAMP stack on their personal desktops(for development and testing purposes for example), selecting a few packages will get all the required components installed. There is an easier way though: Select the LAMP task from the Synaptic Package Manager and install everything with a single selection:
- Start Synaptic Package Manager, go to Edit -> Mark Packages by Task… and select LAMP Server from the list of options. Click OK and then click the “Apply” button on the toolbar.
This will install the default list of packages that are part of LAMP installation. I prefer to install additional packages too, like GUI tools to work with the databases. The following two commands will install LAMP and some additional packages related to it:
Basic LAMP Installation:
Additional LAMP related packages:
To know more about these additional packages, search for them in the Synaptic Package Manager and read their descriptions. Though PostgreSQL is not technically a part of LAMP stack, it is a good alternative to MySQL DBMS and and fits equally nicely with Apache and PHP combination. These are the applications that I install on my machine; to browse through the entire collection of packages related to the LAMP stack, search for ‘apache’, ‘php’ and ‘mysql’ in Synaptic Package Manager(Edit -> Search) and select your own favourite packages to install from the result list. Installing the complete LAMP stack and related packages is similar for Kubuntu operating system, with Adept Package Manager taking the place of Synaptic Package Manager.
Related Posts:
Readers who viewed this page, also viewed:
- EasyEclipse is the Best Packaged Distribution of Eclipse Platform
- Wascana is Eclipse Based Standalone C++ IDE for MS Windows
- Update or Install Applications on Debian/Ubuntu Without an Internet Connection
- Setting Up Rails Development Environment on Ubuntu GNU/Linux
Awesome, Im trying it now!
QuoteComment by Gunnard — December 8, 2006 @ 5:48 am
Hi,
Interesting article. I have no broadband. I have the Dapper server cd. I have installed KDE. I
would like to install LAMP from the server CD. Whenever I try the apt-get install LAMP or
apt-get install any of the LAMP packages I get an error message. I have checked the cd and I
can see that the packages are alphabetically listed in folders.
So how do I install LAMP from the server CD from KDE. Thanks.
QuoteComment by Joe — December 8, 2006 @ 5:28 pm
Did you try the following command?
What error(s) do you get?
QuoteComment by tabrez — December 10, 2006 @ 3:08 pm
Hi,
I found some info. I ran sudo apt-cdrom add and I added the server packages list from the cd. I have added the components to the laptop. I now have another problem. I now have new entries in the menu.lst for grub. One seems to be for the server software the other for KDE. I have no idea what it means or what to do. Thanks
QuoteComment by Joe — December 12, 2006 @ 8:33 pm
we where searching compiler c c++ to install it in the Debian (edubuntu plateforme) no success,
is a place to get it.
thank you, and happy holidays to all .
code name : lurius
QuoteComment by michael — December 19, 2006 @ 12:39 am
[...] Every Flavour Beans » Installing Complete LAMP Stack on Ubuntu 6.10(Edgy Eft) very useful. (tags: howto lamp ubuntu) [...]
QuotePingback by its about time» Blog Archive » links for 2006-12-19 — December 20, 2006 @ 7:35 am
I followed all of the instructions up to the basic LAMP installation. Apache2 works fine, but PHP does not. When I click on a link to a PHP file/page, Ubuntu tries to open it with Gedit.
Is there additional configuration required?
QuoteComment by surfer — February 4, 2007 @ 5:44 am
i reccomend phpmyadmin (in multiverse)
here is a what i use:
apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin
QuoteComment by James — March 17, 2007 @ 2:53 am