# How to Install Hiawatha Web Server On CentOS 7

> URL: https://www.atlantic.net/vps-hosting/how-to-install-hiawatha-web-server-centos-7/ | Published: 2015-07-14 | Updated: 2026-03-03 | Author: Alexander Wise

##### Verified and Tested 07/3/15

## Introduction

This tutorial will show you how to install Hiawatha Web Server on CentOS 7. Hiawatha is a web server built with the focus on security. It has built-in rules that can prevent cross-site scripting and forgery, SQL injections, and resource expenditure. Although its focus is on security, it also excels in performance due to its lightweight design.

[jumpbox]

## Installing Hiawatha on CentOS 7

Before we install Hiawatha, we need to make sure that our firewall is in order.

First, we need to update our firewall to allow HTTP and HTTPS traffic.

Check to see if your firewall is running by running

```
sudo systemctl status firewalld
```

If the firewall is not running, run the following command:

```
sudo systemctl start firewalld
```

If you want the firewall to start when CentOS 7 boots up, run the following command:

```
sudo systemctl enable firewalld
```

To allow HTTP and HTTPS, run the following commands:

```
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
```

You need to run the following command so that the rules above take effect.

```
sudo firewall-cmd --reload
```

Now that we have taken care of the firewall, we can install Hiawatha. In this how-to we are going to use the repo provided by [Anku](http://anku.ecualinux.com/). Download the RPM with the following command:

```
sudo wget http://anku.ecualinux.com/7/x86_64/anku-release-8-1.noarch.rpm
```

> Note: In some instances, you may not have wget installed, install it with the following command:
>
> ```
> sudo yum install wget
> ```

Now that the RPM has been downloaded we can install it with the following command:

```
sudo rpm -ivh anku-release-8-1.noarch.rpm
```

Install Hiawatha with the following command:

```
sudo yum install hiawatha
```

Run the following command to start Hiawatha:

```
sudo service hiawatha start
```

We can now verify Hiawatha is working by opening your browser and entering the URL `http://your-server-address`. You should get an “Installation successful” page similar to the image below.

> Note: If you do not know your IP address, run the following command:
>
> ```
> sudo ip addr show eth0
> ```
>
> ![An example of using the ip addr command and getting the IP 192.168.100.10](https://www.atlantic.net/wp-content/uploads/2018/01/haiwatha1.png)
>
> An example of using the ip addr command and getting the IP 192.168.100.10
>
> In our example, we would put `http://192.168.100.10` into our browser’s address bar.

 

![An example of the Hiawatha installation web page](https://www.atlantic.net/wp-content/uploads/2018/01/haiwatha2.png)

An example of the Hiawatha installation web page

Using the default settings, you can put your web content in the following directory:

```
/var/www/hiawatha
```

For any configuration changes that you may want to make, you can go to the following directory:

```
/etc/hiawatha
```

Congratulations on installing Hiawatha webserver on a CentOS server. Thank you for following along in this How-To, and check back with us for any new updates.
