If you are a web developer, then installing the Apache, MySQL and PHP stack is of paramount importance, something that becomes apparent when you look around and see how many customised LAMP and WAMP installers there are out and about at the moment.
Ubuntu comes with its own tool to make installing these three as simple as a snap of the fingers, this time in the form of its uber useful Tasksel tool, which itself is actually in integral part of the Debian installer. Basically Tasksel groups software packages by tasks and offers an easy way to install all packages needed for that particular task. In other words, basically it does the same as a conventional meta-package.
Unfortunately, since 10.04 Tasksel has been dropped from the default Ubuntu install, meaning that if you want to make use of it, you’ll first need to install it with the following command:
sudo apt-get install tasksel
Once installed, you can run the application like so:
sudo tasksel
From there it is a matter of scrolling through the menu to locate the LAMP server option, press space to select it (an asterisk will appear next to the menu option) and then a final click on OK to begin the installation process. Answer the prompts accordingly and once done, you should have a nice and shiny new installation of Apache, MySQL and PHP at your fingertips, verified by the standard “It Works!” message returned when hitting http://localhost
Nifty.
You might also enjoy:
-
PHPMyAdmin is a useful web-based management tool for your MySQL server running as part of your LAMP stack. To install this tool in Ubuntu turns out to be pr ...
-
LAMP (Linux, Apache, mySQL and PHP) is a popular open source web development platform that uses Linux as its operating system, Apache as the web server, myS ...
-
Installing a new software package via a command line terminal in Ubuntu Karmic Koala (and basically all the other versions preceding it) is deceptively easy ...
-
To run any one of the brilliantly useful Adobe AIR applications floating around there on your shiny new Ubuntu Lucid Lynx installation is actually pretty ea ...
-
MySQL gets installed with a default root account under the username "root". Sometimes the system will allow you to install a root account without a password ...