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 

ShareThis
Post new comment
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Use the special tag [adsense:format:slot] or [adsense:format:[group]:[channel][:slot]] or [adsense:block:location] to display Google AdSense ads.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

ShoutBox


ShoutMix chat widget

User login

Who's online

There are currently 0 users and 9 guests online.


Poll

What is your favorite Virtualization Server ?:
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 8 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Recent comments

Alexa