Install Hiawatha 10.1 (Web Server) on Linux

Hiawatha is a Free, open-source webserver developed highly secure webserver in both code and features with a focus on security (There are a lot of security features in Hiawatha you won’t find in any other webservers). Hiawatha can stop SQL injections, Cross-site Scripting (XSS), Cross-site Request Forgery (CSRF/XSRF) and DoS attacks by Banning of bad behaving clients and limiting CGI runtime via mbed TLS. Keep track of all your application activity with webservers via the Hiawatha Monitor such as bandwidth usage, number of requests, errors and attacks. Hiawatha is small and lightweight webserver with support all modern webserver features. This makes Hiawatha ideal for older hardware or embedded systems. The latest version of Hiawatha 10.1 released on February 11, 2016.

Hiawatha Feature

 

  • CGI / FastCGI Support
  • IPv6 support
  • SSL and TLS support
  • supports URL rewriting
  • Reverse proxy support
  • Chroot support
  • Monitoring webserver activiy via Hiawatha Monitor tool
  • Basic and digest HTTP authentication
  • For detailed Features

1) Install Hiawatha on RPM based System

We can easily install Latest version of Hiawatha Web Server by adding Ulyaoth Repository, then simple fire below command to install Hiawatha Web server on RPM based systems.

Make a cache for repo files
# [yum|dnf] makecache

Install Hiawatha Web Server from Ulyaoth Repo
# [yum|dnf] --enablerepo=ulyaoth install ulyaoth-hiawatha

1a) Install Hiawatha on CentOS

Alternatively, we can easily install Latest version of Hiawatha Web Server by adding Anku Repository

# yum install http://anku.ecualinux.com/20/x86_64/anku-release-8-1.noarch.rpm
# yum --enablerepo=anku install hiawatha

2) Install Hiawatha on Ubuntu & Mint System

We can easily install Latest version of Hiawatha Web Server to Ubuntu & Mint systems by adding below PPA.

$ sudo add-apt-repository ppa:octavhendra/hiawatha
$ sudo apt-get update
$ sudo apt-get install hiawatha

3) Install Hiawatha on Debian System

Hiawatha initially was developed for Debian Systems, so We can easily install Latest version of Hiawatha Web Server to Debian systems by adding Hiawatha Debian official Repo. Also this will work with most of Ubuntu based distributions too.

$ sudo apt-key adv --recv-keys --keyserver keys.gnupg.net DC242980
$ sudo sh -c "echo 'deb http://apt.sparkz.no/debian/ '$(lsb_release -cs)' main' >> /etc/apt/sources.list.d/hiawatha.list"
$ sudo apt-get update
$ sudo apt-get install hiawatha

4) Install Hiawatha from source

Compile & Install Hiawatha from source very easy, just follow the below steps to do it.

$ sudo apt-get install build-essentail dpkg-dev cmake
$ wget https://www.hiawatha-webserver.org/files/hiawatha-10.1.tar.gz
$ tar -xzf hiawatha-10.1.tar.gz
$ cd hiawatha-10.1
$ mkdir build
$ cd build
$ cmake
$ make
$ make install/strip
$ hiawatha -k

5) Compile Debian Package for Hiawatha from source

We can Compile Debian Package for Hiawatha from source to install.

$ sudo apt-get install build-essentail dpkg-dev cmake
$ wget https://www.hiawatha-webserver.org/files/hiawatha-10.1.tar.gz
$ tar -xzf hiawatha-10.1.tar.gz
$ cd hiawatha-10.1
$ ./extra/make_debian_package
$ dpkg -i hiawatha_10.1_x86_64.deb
$ hiawatha -k

install-hiawatha-10-1-web-server-on-linux
Enjoy…)

About Magesh Maruthamuthu

Love to play with all Linux distribution

View all posts by Magesh Maruthamuthu

Leave a Reply

Your email address will not be published. Required fields are marked *