Your preferences have been saved!

How to Install Lighttpd with PHP5 and MySQL on Ubuntu 9.10

Written by compews
Jan 17 2010

Lighttpd is a secure web server, which is faster when compared to Apache. We will show here how you can install Lighttpd on an Ubuntu 9.10 server with PHP5 support (through FastCGI) and MySQL support.

In this tutorial we have used hostname as server1.example.com with the IP address 192.168.0.100. They maybe different for you.

The first thing you need to do is to login as root. You can login as root in Ubuntu Linux by typing in the terminal:

sudo su

Installing MySQL 5:

In the terminal type:

aptitude install mysql-server mysql-client

You will be asked to provide a password for MySQL user “root“. The same password will be valid for the user root@localhost as well as root@server1.example.com .

Installing Lighttpd on Ubuntu 9.10:

Lighttpd is already available as a pre-configured package in Ubuntu 9.10, so we can install it through terminal very easily. Type in the terminal:

aptitude install lighttpd

Now open your web browser and type http://192.168.0.100, and you should see the Lighttpd placeholder page:

Complete articles : techpp.com

Related posts:

  1. How to Install Lighttpd with PHP5 and MySQL on Ubuntu 9.10
  2. Easily Install Ubuntu Linux with Windows Using the Wubi Installer
  3. Install Microsoft IIS Server on Windows 7
  4. How To Fix Sound Issues in Ubuntu 9.10
  5. How to install Ubuntu 9.04 (Jaunty Jackalope) in Parallels Desktop for OS X

Write a Comment

Bad Behavior has blocked 145 access attempts in the last 7 days.