Apr 3, 2009

Cherokee Project On Ubuntu 8.10

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.

  1. Install MySQL to your system:
  2. sudo apt-get install mysql-server-5.0 mysql-client
  3. Set up your mySQL user and password after the installation above finish.
  4. The next step will be setting up PHP,
  5. sudo apt-get install php5-cgi php5-mysql

  6. 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.
  7. sudo apt-get install gcc cpp g++ make
  8. 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:
    • cd /tmp
    • Download the source from trunk:
    • wget http://www.cherokee-project.com/download/trunk/cherokee-latest-svn.tar.gz

    • 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:
    • tar zxvf cherokee-latest-svn.tar.gz
    • and enter into it's new created directory:
    • cd cherokee-0.11.0b2449
    • now it has to be configured the way we need. Do this command if you are unsure with what is the configuration:
    • ./configure --localstatedir=/var \
      --prefix=/usr \
      --sysconfdir=/etc \
    • Compile cherokee and install it:
    • 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.
Blogirific.com Blog Directory

Post(s) you might like to read :



Post a Comment