OpenStax-CNX module: m43616 1
Predefined software collections in Ubuntu - LAMP∗
Hannes Hirzel
This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 3.0†
Abstract tasksel is a utility program in Ubuntu which allows you to choose from a set of predened software collections. This makes it easy for example to set up a LAMP stack (Linux Apache MySQL PHP) for web development. Introduction In the Ubuntu OS there is a utility program called tasksel which eases the installation of complex collections of software. In the following it is shown how to install a LAMP stack. Installation of tasksel To install tasksel open a terminal window with
∗Version 1.4: Nov 23, 2013 9:47 am -0600 †http://creativecommons.org/licenses/by/3.0/
http://cnx.org/content/m43616/1.4/ OpenStax-CNX module: m43616 2
Checking the installation To check the installation you might want to bring up a web browser and navigate to http://127.0.0.1. The screen shot inserted below shows how the result should look like.
What you see is the le index.html contained in the directory /var/www. To check the PHP installation navigate to
http://cnx.org/content/m43616/1.4/ OpenStax-CNX module: m43616 3
cd /var/www Then create a new le check.php sudo gedit check.php
Insert the following code into the le
?>
Then navigate in the browser to http://127.0.0.1/check.php Then the parameters of the PHP setup are displayed. References help.ubuntu.com1 unixmen.com2 LAMP3 software bundle (Wikipedia)
1https://help.ubuntu.com/community/ApacheMySQLPHP 2http://www.unixmen.com/install-lamp-with-1-command-in-ubuntu-1010-maverick-meerkat/ 3http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29
http://cnx.org/content/m43616/1.4/