How to install Lighttpd

nstalling Lighttpd :

Lighttpd is available via the RPMForge repositories

RPMForege i386 install

# rpm –import

# rpm -Uvh

RPMForge x86_64 or 64bit install

rpm –import

rpm -Uvh

Install lighttpd

# yum install lighttpd

Configure Lighttpd to startup automatically when system starts

# chkconfig lighttpd on

Create required run directory and give user lighttpd permission. (typically if your yum install of lighttpd server is not working this is the fix to the problem)

# mkdir -p /var/run/lighttpd/

# chown lighttpd /var/run/lighttpd

Check that Apache is not running

# service httpd status

httpd is stopped

Start lighttpd server

# service lighttpd start

Lighttpd Default Paths

Directory Root (where to put your website files): /srv/www/lighttpd/

Lighttpd Config File: /etc/lighttpd/lighttpd.conf

Lighttpd log files: /var/log/lighttpd/

Was this answer helpful?

 Print this Article

Also Read

How to install VNC

How to install VNC : VNC is used to display an X windows session running on another computer....

How to change the root password

How to change the root password Change root password: There are two kind of things we need to...

Debian asking to insert cdrom to update?

open a terminalsunano /etc/apt/sources.listput a # in front of the line talking bout cd's (or...

Changing permissions only on files or only on directories

The following two commands will change the permissions only on the files in a directory even...

Add multiple IPs to a server

For example if you want to add a few IPs from the class: [root@box ~]# cd...