As part of our mission to empower Linux Embedded devices with a strong HTTP stack, we are supporting Monkey stack on Raspbian and also distributing Raspbian packages for our latest releases.
Our packages can be obtained from our own updated Debian repository. Please refer to the following steps to setup your RPI:
Edit your /etc/apt/sources.list file and append the following line at bottom:
deb http://packages.monkey-project.com/primates_pi primates_pi main
Update your local database:
# apt-get update
Install Monkey and it plugins:
# apt-get install monkey
Once the packages are installed, you will be able to reach Monkey Server which by default is running on TCP port 2001:
$ curl -i http://raspberry_ip:2001/
If you are upgrading from Monkey v1.4, note that packages structure have changed so you will need first to remove any previous Monkey package before to install the new version:
# apt-get remove monkey \ monkey-logger \ monkey-dirlisting \ monkey-cgi \ monkey-fastcgi \ monkey-mandril \ monkey-cheetah \ monkey-auth \ monkey-polarssl \ libmonkey
Monkey supports SSL through the PolarSSL library. In order to install the SSL plugin and it dependencies run the following command:
# apt-get install monkey-polarssl libpolarssl0
the next steps are configure Monkey to use the monkey-polarssl plugin as the default transport layer.
We also distribute the shared library version of Monkey for developers. You can obtain the package with:
# apt-get install libmonkey
For us, the Raspberry Pi device is one of the most exciting target boards for development, for hence we are hard working to improve documentation and continue improving our stack. Stay tuned to this page for furter updates.