• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to Install Lighttpd Web-server in OpenSUSE

909

To Install Lighttpd Web-server in OpenSUSE

In this tutorial we will learn how to install Lighttpd in OpenSuse is explained. Lighttpd is an open-source server, which acts as an alternative to Apache. It is highly secure and especially built for high-performance environments.

Features

  • Load balancing FastCGI, SCGI and HTTP proxy support
  • Supports Chroot.
  • Rule-based downloading with possibility of a script handling only authentication.
  • Web server event mechanism performance &ndash select(), poll(), and epoll()
  • Supports event notification schemes like kqueue and epoll
  • Conditional URL rewriting.
  • TLS/SSL with SNI support, via OpenSSL.
  • Authentication against LDAP server
  • RRDtool statistics
  • Server Side Includes support
  • Flexible virtual hosting
  • HTTP compression using mod_compress and the newer mod_deflate
  • Single-process design with only several threads.
  • No processes or threads started per connection.


To install Lighttpd

Utilize the following command to install Lighttpd web-server.

linuxhelp:/home/user1 # zypper install lighttpd
Retrieving repository ' openSUSE-13.2-Non-Oss'  metadata ......................................[done]
Building repository ' openSUSE-13.2-Non-Oss'  cache ...........................................[done]
Retrieving repository ' openSUSE-13.2-Oss'  metadata ..........................................[done]
Building repository ' openSUSE-13.2-Oss'  cache ...............................................[done]
.
.
.
Checking for file conflicts: ................................................................[done]
(1/2) Installing: spawn-fcgi-1.6.3-12.1.5 ...................................................[done]
(2/2) Installing: lighttpd-1.4.35-2.1.11 ....................................................[done]
Additional rpm output:
Updating /etc/sysconfig/lighttpd...

Start and enable the services.

blinuxhelp:/home/user1 # systemctl start lighttpd
linuxhelp:/home/user1 # systemctl enable lighttpd

After starting the services, verify the status of Lightttpd.

linuxhelp:/home/user1 # systemctl status lighttpd
lighttpd.service - LSB: lighttpd
   Loaded: loaded (/etc/init.d/lighttpd)
   Active: active (running) since Thu 2016-09-15 13:13:59 IST  29s ago
  Process: 34500 ExecStart=/etc/init.d/lighttpd start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/lighttpd.service
           ??34509 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
Sep 15 13:13:58 linuxhelp lighttpd[34500]: Starting lighttpd 2016-09-15 13:13:58: (network.c....ges
Sep 15 13:13:59 linuxhelp lighttpd[34500]: ..done
Hint: Some lines were ellipsized, use -l to show in full.

Then configure Lighttpd, open the configuration file and add the following lines into it.

linuxhelp:# vim /etc/lighttpd/lighttpd.conf

Lighttpd-configuration

Create a index.html file in web-root directory and enter the text in that file.

linuxhelp:~ # vim /srv/www/htdocs/index.html

Lighttpd-text
Now its time to access the browser with your system IP.
Lighttpd-access

Tags:
sebastian
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

How to make the Source code installation for Lighttpd?

A

Above RPM binary does not carries mod_rewrite and other stuff, so I had decided to rebuild lighttpd from source code (note source code installation is recommended for advanced users only):
$

Q

How do I configure Lighttpd web server as the virtual host for serving multiple websites from a single public IP address (name-based virtual hosting)?

A

There are two basic methods of accomplishing virtual hosting .
(A) name-based virtual hosting : You use multiple host names for the same webserver IP address. For example domain nixcraft.com and theos.in uses same IP address called 65.111.211.111.

(B) ) IIP address / ip-based virtual hosting

Q

What are the Lighttpd ​Configuration Options?

A

After installing lighttpd, we will begin by creating a file that defines the web server settings. Let’s call this ‘example.conf’ in the home directory. We will simply copy the default config

Q

Does it support .htaccess files?

A

No. Lightys design does not permit implementing this functionality as config files are loaded at startup time and .htaccess would be needed to be parsed at request time.
Also scanning all the

Q

How do I configure Lighttpd for name-based virtual hosting?

A

Let us say your setup is as follows:
Public IP address: 72.12.5.10
Domain names: domain1.com and domain2.net
Default Document Root: /home/lighttpd/default/http

Related Tutorials in How to Install Lighttpd Web-server in OpenSUSE

Related Tutorials in How to Install Lighttpd Web-server in OpenSUSE

How to Configure Nginx as a Reverse Proxy in CentOS
How to Configure Nginx as a Reverse Proxy in CentOS
Nov 26, 2016
How to Install and update openssl on opensuse15.1
How to Install and update openssl on opensuse15.1
Nov 15, 2019
How To Create Python SimpleHTTPServer on ubuntu 18.04
How To Create Python SimpleHTTPServer on ubuntu 18.04
Jun 9, 2018
How to create SSL certificate in OpenSUSE
How to create SSL certificate in OpenSUSE
Aug 12, 2017
How to Configure Load Balancer in Apache
How to Configure Load Balancer in Apache
Nov 18, 2016
How to Install AnyDesk on opensuse15.1
How to Install AnyDesk on opensuse15.1
Oct 30, 2019
How to configure Apache Virtual Host in OpenSUSE
How to configure Apache Virtual Host in OpenSUSE
Nov 1, 2016
How to install Webmin in OpenSUSE
How to install Webmin in OpenSUSE
Nov 7, 2016

Related Forums in How to Install Lighttpd Web-server in OpenSUSE

Related Forums in How to Install Lighttpd Web-server in OpenSUSE

Web Server
jacob class=
How to remove httpd completely from server
Apr 7, 2017
Pligg
aiden class=
CMS : Pligg install on opensuse
Oct 6, 2017
Apache
rebeccajazz class=
Apache2 : mod_proxy in opensuse
Jan 3, 2018
OpenSUSE
dalogui class=
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web
Jul 15, 2019
Apache
elijah class=
What is the difference between httpd and apache
Feb 18, 2017
OpenSUSE
victorsamuel class=
exec: "git": executable file not found in $PATH
Nov 16, 2017
OpenSUSE
lucas class=
best browser for OpenSUSE
Apr 17, 2017
Apache
rolando class=
How to find apache user in opensuse
Sep 23, 2017

Related News in How to Install Lighttpd Web-server in OpenSUSE

Related News in How to Install Lighttpd Web-server in OpenSUSE

openSUSE Leap 42.3 Officially Released
openSUSE Leap 42.3 Officially Released
Jul 27, 2017
PHP7 bugs used by hackers to remotely hijack web servers
PHP7 bugs used by hackers to remotely hijack web servers
Nov 5, 2019
Tyson Foods Honored as SUSE Customer of the Year
Tyson Foods Honored as SUSE Customer of the Year
Feb 11, 2017
SUSE Soon To Be Largest Independent Linux Vendor
SUSE Soon To Be Largest Independent Linux Vendor
Apr 14, 2019
Despite ISP Opposition, All Major Browsers will Eventually Roll Out DNS-over-HTTPS
Despite ISP Opposition, All Major Browsers will Eventually Roll Out DNS-over-HTTPS
Nov 12, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Jayce ?
What are the types of table used in IPtables

What are the various types of table used in IPtables and how to use that for my server security?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.