Installing The Lighttpd Web Server:
written by EON Mar 10, 2012 (Estimated Time: 5 mins)
EON 1.0 and higher no longer embeds Apache or Perl. If a web server is needed, there are 3 web server options (Apache, Lighttpd and Nignx). The web servers can be installed together but will require configuration edits to run simultaneously because the default settings are configured for port 80 and 443.
Let's show how to install and run the Lighttpd Web Server. With this EON release, 2 programs were introduced to simplify installs. One is the internet package installer, "rail" and the other "emp" is a program to start/stop/restart all the various programs.
Pre-requisite(s): The Binary Kit must be installed.
PHP must be installed (or comment the fastcgi.server section in /usr/local/light/etc/lighttpd.conf)
This assumes Internet connectivity is working and the binary kit has already been installed. So, let's install the Lighttpd Web Server.
That's it, Lighttpd 1.4.30 is installed. Now let's start the Lighttpd web server, with "emp". Then, point your favorite browser to the IP address of your EON Server and you should see
Let's view the running Lighttpd processes.
To see other options for simply run "emp". The highlight below says, for apache, lighttpd, and nginx the options start, stop, restart and show are possible.
The Lighttpd web server is pre-configured with a self-signed CA certificate. You can (and should) generate your own unique self-signed CA cert using "certgen.sh"
To generate a certificate for Lighttpd. The highlight shows the pre-configured certificate, already exist.
To remove the pre-configured certificate and generate a unique certificate.
Configuration file location(s):
Log file location(s):