Nowadays there is a new comer on web server market – cherokee, they said they won the benchmark and security measurement, plus a graphic admin interface for easy maintenance. It is a good choice with Slitaz to hold a web server, because both are small, young and growing.
N.B. : This article helps people build cherokee in Slitaz stable or people who want to try the latest version of cherokee. For people who using cooking release please direct install cherokee by using tazpkg get-install cherokee.
Before install Cherokee, a Slitaz system must be ready. Other Linux distro sure works, too
A. Install the development packages
We need start installing development packages, libraries and 3rd party packages in order to compile our little toy.
tazpkg get-install slitaz-toolchain
It will continue to install the missing packages if any. When you saw the following question, just enter “No” to continue
Do you want Bash for /bin/sh (yes/No) ? :
B. Install other packages
Continue install the following packages after the previous steps finished.
C. Install 3rd party package, geoip (C Library version)
Download the geoip in the official site, http://www.maxmind.com/app/api. After un-tar the tarball file, execute the following code, default is installed in /usr/local/lib.
D. Compile and Install Cherokee
Everything is ready and we start to build-up our toy. Type the following to compile
./configure –localstatedir=/var \
All installation files will be placed under /usr/local. To execute Cherokee, execute the following command.
Same way to run the admin mode, but sure execute cherokee-admin instead.