Breaking News
Loading...
Monday, July 29, 2013

How to Install lighttpd with Fastcgi on CentOS 6.4

3:40 PM

This post will cover the step to install lighttpd with Fastcgi on CentOS 6.3. lighttpd is a secure, fast, compliant, and very flexible web-server that has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that suffers load problems.
Run the following command to install using yum :
[root@howtolinux ~]# yum install lighttpd lighttpd-fastcgi -y
Example :
[root@howtolinux ~]# yum install lighttpd lighttpd-fastcgi -y
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base: mirror1.ku.ac.th
 * epel: mirror.nus.edu.sg
 * extras: mirror.issp.co.th
 * updates: mirror1.ku.ac.th
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package lighttpd.i686 0:1.4.31-1.el6 will be installed
---> Package lighttpd-fastcgi.i686 0:1.4.31-1.el6 will be installed
--> Processing Dependency: spawn-fcgi for package: lighttpd-fastcgi-1.4.31-1.el6.i686
--> Running transaction check
---> Package spawn-fcgi.i686 0:1.6.3-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                       Arch              Version                    Repository         Size
====================================================================================================
Installing:
 lighttpd                      i686              1.4.31-1.el6               epel              296 k
 lighttpd-fastcgi              i686              1.4.31-1.el6               epel               45 k
Installing for dependencies:
 spawn-fcgi                    i686              1.6.3-1.el6                epel               16 k

Transaction Summary
====================================================================================================
Install       3 Package(s)

Total download size: 357 k
Installed size: 808 k
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 357 k
(1/3): lighttpd-1.4.31-1.el6.i686.rpm                                        | 296 kB     00:02
(2/3): lighttpd-fastcgi-1.4.31-1.el6.i686.rpm                                |  45 kB     00:00
(3/3): spawn-fcgi-1.6.3-1.el6.i686.rpm                                       |  16 kB     00:00
----------------------------------------------------------------------------------------------------
Total                                                               112 kB/s | 357 kB     00:03
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : lighttpd-1.4.31-1.el6.i686                                                       1/3
  Installing : spawn-fcgi-1.6.3-1.el6.i686                                                      2/3
  Installing : lighttpd-fastcgi-1.4.31-1.el6.i686                                               3/3
  Verifying  : lighttpd-fastcgi-1.4.31-1.el6.i686                                               1/3
  Verifying  : spawn-fcgi-1.6.3-1.el6.i686                                                      2/3
  Verifying  : lighttpd-1.4.31-1.el6.i686                                                       3/3

Installed:
  lighttpd.i686 0:1.4.31-1.el6                 lighttpd-fastcgi.i686 0:1.4.31-1.el6

Dependency Installed:
  spawn-fcgi.i686 0:1.6.3-1.el6

Complete!
To start lighttpd, run the following command :
[root@howtolinux ~]# /etc/init.d/lighttpd start
To stop lighttpd, run the following command :
[root@howtolinux ~]# /etc/init.d/lighttpd stop
 
Good Luck For You!! 

0 comments:

Post a Comment

 
Toggle Footer