How to Install Lighttpd with PHP5 and MySQL on Ubuntu 9.10
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:

