yum install gcc
wget http://www.cherokee-project.com/download/LATEST_is_1.2.98/cherokee-1.2.98.tar.gz
tar -zxvf cherokee-1.2.98.tar.gz
cd cherokee-1.2.98
./configure --localstatedir=/var --prefix=/usr/local/cherokee --sysconfdir=/usr/local/cherokee/etc --with-wwwroot=/home/wwwroot --with-wwwuser=www --with-wwwgroup=www
make
make install
出错解决方法
wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2
gcc start-stop-daemon.c -o start-stop-daemon
cp start-stop-daemon /usr/sbin/
如果你设置开机启动需要设置以下三个步骤:
===========================================
(1)cp contrib/cherokee /etc/rc.d/init.d/cherokee 设置开机启动
(2)chmod 755 /etc/rc.d/init.d/cherokee 增加权限
==================================================
(3)、
#启动web server
#/etc/rc.d/init.d/cherokee start //启动cherokee服务
//管理配制GUI
/usr/local/cherokee/sbin/cherokee-admin -p 9090 -b -C /usr/local/cheroke/etc/cherokee/cherokee.conf //启动cherokee服务