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/

  • Email, SSL
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

Basic commands

How to use Linux:Linux is a Unix based operating system. Linux has a reputation as a very...

How to change mysql root password

MySQL Change root Password: Setting up mysql password is one of the essential tasks. By default...

How to change the root password

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

How to check the load average

How to check the load average : w w displays information about the users currently on the...

How to install csf

How to install csf: wget tar zxvf csf.tgz cd csf...