Cherokee is actually a project develop by OSS developer with the ability to serve http on a machine that its' run on. Cherokee is fully coded in C and it support: 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.
In this post, I will guide Ubuntu 8.10 user to install cherokee on your Ubuntu Machine.
- Install MySQL to your system:
- Set up your mySQL user and password after the installation above finish.
- The next step will be setting up PHP,
- We will compile cherokee source by using C compiler as cherokee is being code by C language. So we need to download C compiler and all dependencies.
- Afterward, we must download the source and then compile the source once done downloading.
- CD into tmp folder where we want our source code to be download:
- Download the source from trunk:
- Another way to download the source is by visiting http://www.cherokee-project.com/download/ and select your preferred release. I will strongly advise user to download the stable release.
- Unpack the source code with tar command in terminal:
- and enter into it's new created directory:
- now it has to be configured the way we need. Do this command if you are unsure with what is the configuration:
- Compile cherokee and install it:
sudo apt-get install mysql-server-5.0 mysql-client
sudo apt-get install php5-cgi php5-mysql
sudo apt-get install gcc cpp g++ make
cd /tmp
wget http://www.cherokee-project.com/download/trunk/cherokee-latest-svn.tar.gz
tar zxvf cherokee-latest-svn.tar.gz
cd cherokee-0.11.0b2449
./configure --localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc \
--with-wwwroot=/var/www
sudo make ; sudo make install ;
This will make cherokee running on your machine as a webserver. It is extremely fast. Moreover it does provide a web-based User Interface for admin to manage the webserver without have to open terminal to change configuration. Here is some screen shot of the admin control panel:
Source : http://www.cherokee-project.com/doc/ | Steve Harms Blogs
Thank you for your unbelievable support on Negative Zero - Permission to read and write blog for nearly 4 years. Don't forget to like Negative Zero on Facebook.