ianosburn
Posts: 11
Joined: Tue Jan 22, 2013 7:38 pm

Hiawatha 8.7 deb package download

Wed Jan 23, 2013 9:48 pm

To save some people a bit of time I thought I'd make available a compiled RPi/armhf deb package for hiawatha 8.7. It should help with installs of RPi webservers without the need to install compilation packages etc

Download the deb from http://www.osburn-garrote.com/hiawatha_8.7_armhf.deb
MD5: db03598e836473af10e7d3c508e71fe2 (also at http://www.osburn-garrote.com/hiawatha_8.7_armhf.hash)

The tutorial below should now work (modified copy of http://www.hiawatha-webserver.org/forum/topic/1214).

Untested but I hope it helps.

Enjoy

======================================

Howto: Hiawatha on Raspberry Pi by Heiko
sudo apt-get update
sudo apt-get upgrade
wget http://www.hiawatha-webserver.org/files ... 8.7.tar.gz
tar -xzvf hiawatha-8.7.tar.gz
cd hiawatha-8.7
wget http://www.osburn-garrote.com/hiawatha_8.7_armhf.deb
dpkg -i hiawatha_8.7_armhf.deb

Test:
hiawatha -k

The result should be:
Using /usr/local/etc/hiawatha
Reading hiawatha.conf
Readinf mimetype.conf
Configuration OK.

Test:
service hiawatha status

The result should be:
Hiawatha is runnung

Have fun with a great Webserver on Raspberry Pi

===========================================================
Also:

PHP with FastCGI (Raspberry Pi) 2 November 2012, 22:22

sudo apt-get install php5-cli php5-cgi

Uncomment in /etc/hiawatha/php-fcgi.conf the line:
Server = /usr/bin/php5-cgi ; 3; 127.0.0.1:2005 ; www-data ; /etc/php5/cgi/php.ini

Make changes in /etc/php5/cgi/php.ini:
cgi.rfc2616_headers = 1
zlib.output_compression = On
zlib.output_compression_level = 6

Do some optional security settings in /etc/php5/cgi/php.ini

Uncomment in /etc/hiawatha/hiawatha.conf the line:
ServerId = www-data

Change / uncomment in /etc/hiawatha/hiawatha.conf the lines:

FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php, php5
SessionTimeout = 30
}

Uncomment the line:
CGIhandler = /usr/bin/php5-cgi:php

Uncomment: VirtualHost { ... }
Change / correct: Hostname, Websiteroot ... etc.

Enable daemon:
sudo php-fcgi -c /etc/hiawatha/php-fcgi.conf
sudo service hiawatha restart


Read and follow the instructions:
http://www.hiawatha-webserver.org/howto/cgi_and_fastcgi

Have fun

ianosburn
Posts: 11
Joined: Tue Jan 22, 2013 7:38 pm

Re: Hiawatha 8.7 deb package download

Wed Jan 23, 2013 10:37 pm

To be clear, the deb is tested and working. It's using it with the tutorial that's untested. Thanks.

Return to “General discussion”