Posts Tagged ‘lamp’

Setting up a LAMP server with Ubuntu

5. July 2009

No Comments »

Ubuntu, known for its ease of use, makes no exception for setting up an apache, mysql, and php stack. Since the release of Feisty Fawn, Ubuntu has come packed with tasksel – a user interface for installing tasks.

1. At your command prompt, run tasksel as root.

john@earth:~$ sudo tasksel

2. Select LAMP server
1

3. Continue the installation by following the prompts.

It works!
4

One tool I have difficulty living without is phpMyAdmin. From the command prompt type

sudo apt-get install phpmyadmin

Continue the installation by following the prompts. If you are using a version of Ubuntu older than 9.04 (Jaunty) you will need to add the following line to /etc/apache2/apache2.conf Continue the installation by following the prompts. Version 9.04 does this automatically. You will be able to access phpMyAdmin by browsing directly to http:///phpmyadmin

Note that the MySQL client library is not bundled anymore!

9. May 2009

2 Comments »

Unable to get PHP configured to my specifications using the Ubuntu repositories, I decided to install it from source. However, I kept getting the error:

Note that the MySQL client library is not bundled anymore!

Not wanting to install MySQL from source, I found a package in the Ubuntu repositories that installed the necessary library files.

sudo apt-get install libmysqlclient15-dev

After I installed that package, PHP was able to install successfully.