LigHTTPDServer module

Synopsis

xLighttpd is an open-source web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible. It is an alternative web server for apache. Lighttpd supports the FastCGI, SCGI and CGI interfaces to external programs, Auth, Output-Compression, URL-Rewriting, permitting web applications written in any programming language to be used with the server. Lighttpd are the best known asynchronous servers. The main advantage of the asynchronous approach is scalability. This module aims to install the latest version of Lighttpd server and its dependencies.

Help Command

The help command guides the user to provide what is necessary to accomplish the task. The command to make use of help under the terminal is given as follows,

cleopatra lighttpdserver help

The snapshot below gives you a pictorial representation of help command and it listed three parameters as LigHTTPDServer, lighttpd-server, lighttpdserver. (Parameters are case insensitive)

 Kevells@corp:/kevellphara/docs/source# cleopatra LigHTTPDServer help

 ******************************


This command is part of Core and provides you  with a method by which you can configure Application Settings.
You can configure default application settings, ie: mysql admin user, host, pass

LigHTTPDServer, lighttpd-server, lighttpdserver

- install
Installs LigHTTPD HTTP Server
example: cleopatra lighttpd-server install

------------------------------
End Help
******************************

Installation

The command used for installing Lighttpd module is given below,

cleopatra lighttpd-server  install
Kevells@corp:/# cleopatra lighttpd-server install

Install LigHTTPD Server? (Y/N)
y
*******************************
*        Pharaoh Tools        *
*         LigHTTPD Server!        *
*******************************
update-alternatives: warning: not replacing /usr/share/man/man1/spawn-fcgi.1.gz with a link
2015-01-09 14:45:09: (network.c.405) can't bind to port:  80 Address already in use
invoke-rc.d: initscript lighttpd, action "start" failed.
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
gamin libgamin0 libterm-readkey-perl libterm-readline-perl-perl spawn-fcgi
Suggested packages:
rrdtool apache2-utils
The following NEW packages will be installed:
gamin libgamin0 libterm-readkey-perl libterm-readline-perl-perl lighttpd
spawn-fcgi
0 upgraded, 6 newly installed, 0 to remove and 280 not upgraded.
Need to get 378 kB of archives.
After this operation, 1,622 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libgamin0 amd64 0.1.10-4.1ubuntu1 [16.4 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty/universe gamin amd64 0.1.10-4.1ubuntu1 [41.1 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libterm-readline-perl-perl all 1.0303-1 [51.9 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ trusty/universe lighttpd amd64 1.4.33-1+nmu2ubuntu2 [227 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ trusty/universe spawn-fcgi amd64 1.6.3-1 [14.0 kB]
Fetched 378 kB in 24s (15.2 kB/s)
Selecting previously unselected package libgamin0.
(Reading database ... 171800 files and directories currently installed.)
Preparing to unpack .../libgamin0_0.1.10-4.1ubuntu1_amd64.deb ...
Unpacking libgamin0 (0.1.10-4.1ubuntu1) ...
Selecting previously unselected package gamin.
Preparing to unpack .../gamin_0.1.10-4.1ubuntu1_amd64.deb ...
Unpacking gamin (0.1.10-4.1ubuntu1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
Unpacking libterm-readkey-perl (2.31-1) ...
Selecting previously unselected package libterm-readline-perl-perl.
Preparing to unpack .../libterm-readline-perl-perl_1.0303-1_all.deb ...
Unpacking libterm-readline-perl-perl (1.0303-1) ...
Selecting previously unselected package lighttpd.
Preparing to unpack .../lighttpd_1.4.33-1+nmu2ubuntu2_amd64.deb ...
Unpacking lighttpd (1.4.33-1+nmu2ubuntu2) ...
Selecting previously unselected package spawn-fcgi.
Preparing to unpack .../spawn-fcgi_1.6.3-1_amd64.deb ...
Unpacking spawn-fcgi (1.6.3-1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libterm-readkey-perl (2.31-1) ...
Setting up libterm-readline-perl-perl (1.0303-1) ...
Setting up spawn-fcgi (1.6.3-1) ...
update-alternatives: using /usr/bin/spawn-fcgi.standalone to provide /usr/bin/spawn-fcgi (spawn-fcgi) in auto mode
Setting up gamin (0.1.10-4.1ubuntu1) ...
Setting up libgamin0 (0.1.10-4.1ubuntu1) ...
Setting up lighttpd (1.4.33-1+nmu2ubuntu2) ...
 * Starting web server lighttpd
   ...fail!
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Processing triggers for ufw (0.34~rc-0ubuntu2) ...
Processing triggers for ureadahead (0.100.0-16) ...
[Pharaoh Logging] Adding Package lighttpd from the Packager Apt executed correctly
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************


Single App Installer:
--------------------------------------------
LigHTTPDServer: Success
------------------------------
Installer Finished
******************************

options

Paramaeters Required Comments
cleopatra lighttpd-server install Yes This command will install the LigHTTPD module
install lighttpd-server(Y/N) Y If the user inputs Y, this module checks for previously installed version, if exits it was updated to latest version or else it installs the fresh package.
install lighttpd-server(Y/N) N If the user inputs N, the installation was aborted.|

Benefits to the users

  • Install LigHTTPDServer in a single environment without any browser.
  • Ease use of access and installation
  • Coding is case insensitive.
comments powered by Disqus

Edit this document!

This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.

  1. Go to LigHTTPDServer module on GitHub.
  2. Edit files using GitHub's text editor in your web browser (see the 'Edit' tab on the top right of the file)
  3. Fill in the Commit message text box at the bottom of the page describing why you made the changes. Press the Propose file change button next to it when done.
  4. Then click Send a pull request.
  5. Your changes are now queued for review under the project's Pull requests tab on GitHub!

For an introduction to the documentation format please see the reST primer.