Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, SSI, TLS and SSL encrypted connections, Virtual hosts, Authentication, on the fly encoding, Load Balancing, Apache compatible log files, Data Base Balancing, Reverse HTTP Proxy, Traffic Shaper, Video Streaming and much more.
A user friendly interface called cherokee-admin is provided for a no-hassle configuration of the server. Check out the benchmarks and documentation to learn more, and give it a try to squeeze your hardware to the fullest!
Install Packages
#yum install wget gcc gcc-c++ libtool bind mysql-server mysql-devel php-mysql
Download Cherokee Package
# mkdir download
# cd download
# wget http://www.cherokee-project.com/download/0.99/0.99.20/cherokee-0.99.20.t...
# tar -xzvf cherokee-0.99.20.tar.gz
Compiling and Install Cherokee
# cd cherokee-0.99.20
# ./configure --localstatedir=/usr/local/cherokee/var \
--prefix=/usr/local/cherokee \
--sysconfdir=/usr/local/cherokee/etc/ \
--with-wwwroot=/usr/local/cherokee/var/www
# make && make install
Configure Cherokee
You can start cherokee web server daemon with cherokee command line.
#cherokee &
and stop this daemon with command killall cherokee
#killall cherokee
if you want start and stop cherokee web server daemon with cherokee script, you can make this under init.d directory.
# vi /etc/init.d/cherokee
=========[ /etc/init.d/cherokee ]========
#!/bin/sh
#
# Contrib to RedHat Fedora Based Systems by: [EMAIL PROTECTED]
# chkconfig: 2345 95 05
# description: Starts and stops the Cherokee ligth Web Server system
#
# Source function library
. /etc/rc.d/init.d/functions
NAME=cherokee
BASE=/usr/local/cherokee/sbin/$NAME
DAEMON="-d"
CONF="/usr/local/cherokee/etc/cherokee/cherokee.conf"
PIDFILE="/var/run/$NAME.pid"
# Check that $BASE exists.
[ -f $BASE ] || exit 0
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
RETVAL=0
# See how we were called.
case "$1" in
start)
if [ -n "`/sbin/pidof $NAME`" ]; then
echo -n $"$NAME: already running"
echo ""
exit $RETVAL
fi
echo -n "Starting Cherokee service: "
$BASE -C $CONF $DAEMON pidfile $PIDFILE
sleep 1
action "" /sbin/pidof $NAME
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/cherokee
;;
stop)
echo -n "Shutting down Cherokee service: "
killproc $BASE
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/cherokee
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
status)
status $BASE
RETVAL=$?
;;
*)
echo "Usage: $NAME {start|stop|restart|reload|status}"
exit 1
esac
exit $RETVAL
===============[ e.o.f ]====================
# chmod 755 /etc/init.d/cherokee
Start and stop cherokee daemon
# /etc/init.d/cheroke start
# /etc/init.d/cheroke stop
Cherokee Admin Daemon
Cherokee-admin daemon used for configure and manage cherokee web server.
this daemon service (zeus-admin) over port 9090/tcp.
For start this service, you can do this (localhost only) :
#cherokee-admin
Login:
User: admin
One-time Password: bmS5wq3DibxdPpPP
Web Interface:
URL: http://127.0.0.1:9090/
Cherokee Web Server 0.99.15 (Jun 10 2009): Listening on port ALL:9090, TLS
disabled, IPv6 disabled, using epoll, 1024 fds system limit, max. 505
connections, caching I/O, single thread
or if you want start cherokee for all interface on your box, you can do this :
# cherokee-admin -b
Login:
User: admin
One-time Password: FppPAKbumPbtAwWq
Web Interface:
URL: http://localhost:9090/
Cherokee Web Server 0.99.15 (Jun 10 2009): Listening on port ALL:9090, TLS
disabled, IPv6 disabled, using epoll, 1024 fds system limit, max. 505
connections, caching I/O, single thread
password cherokee-admin changed after you start this daemon.
Testing
for cherokee web server you can access with your web browser on url:
http://10.10.10.10
or
http://yourdomain.tld
Result


Recent comments
6 days 9 hours ago
3 weeks 6 days ago
4 weeks 5 days ago
4 weeks 6 days ago
5 weeks 7 hours ago
5 weeks 7 hours ago
5 weeks 1 day ago
5 weeks 1 day ago
5 weeks 4 days ago
6 weeks 12 hours ago