Ubuntu 8.10 (Intrepid Ibex) Apache-PHP-MySQL Server

Submitted by str on Wed, 12/17/2008 - 22:58

Simple installation of Apache, PHP and MySQL in Ubuntu 8.10 (Intrepid Ibex).

Optionally, install SSH Client and Server (for remote access to this server)
sudo apt-get install ssh

Install Database Server
sudo apt-get install mysql-server

Install Apache2 web server
sudo apt-get install apache2

Install PHP5
sudo apt-get install php5 libapache2-mod-php5

Install PHP5-MySQL support
sudo apt-get install php5-mysql

Restart Apache
sudo /etc/init.d/apache2 restart

Optionally, install phpMyAdmin
sudo apt-get install phpmyadmin

Have fun with your new LAMP box!

I don't think any difference, just in case you want :) the latest and simplest version of this quick guide is here.


ben11 (not verified)

Thu, 12/18/2008 - 10:33

Thanks to this updated guide. I'm comparing to others seems like the same, but using the old, had some minor issues with my 8.10 LAMP setup. Format my old box, install 8.10 fresh, follow this guide (very timely as I'm seeing you just posted this last night) and it works like a charm. I don't know if formating my box and starting fresh made some difference - I don't care - fact is my home LAMP server is up and running with PHPMyAdmin installed also. Perfect for my learning purposes.

Thanks Sandro and please keep on posting.

Anonymous (not verified)

Fri, 02/13/2009 - 17:52

Hi there .. I'm about to install ubuntu instead of windows srv. After setup of ubuntu .. are these lines the only ones I need to run .. ? no downloads whatsoever .. ?


Yes, thatś all you need to do, at least if you have a working internet connection on your Ubuntu box. apt-get will download the neccesary packages automatically.

I have installed Ubuntu 10.04 in my desktop. Now I want to install MySQL, Apache & PHP from the Ubuntu standard CD because I have no internet connection at home. Is that possible? What command would be appropriate to get from the CD not from the repositories?