How install cherokee and drupal

For those who do not know cherokee is a web server platform. In this post I will explain how to install a debian system. Many people believe that apache webserver as the most popular is the one that gives better performance and is not well. There is much more a part of apache. The first thing to do is open a terminal on our server and install the following package via apt-get:

apt-get install cherokee php5-cgi php5-mysql mysql-server-5.0

With this we will have installed cherokee, mysql y php. If we must stop the apache server so that it does not collide with cherokee. To stop simply:

sudo /etc/init.d/apache stop

 I assume that you have already set up mysql. If  you not have started in the end you must run the following:

sudo /etc/init.d/mysql start

Now all that remains is to start the server cherokee:

sudo /etc/init.d/cherokee start

If all goes well we will see the next image on localhost (if local) or on our domain:

front_cherokee.png

 

The following is to prepare our vhost to install our drupal. Before that I make some notes about the configuration and scope of Cherokee:

  • Cherokee does not support  htacess apache.To do this we must add new behaviors in the vhosts configuration.
  • The easiest way to configure cherokee is through its administrative interface.
 
To configure the vhost we launch the administration interface:
sudo cherokee-admin
 
If we are not local we put the option-b to be accessed externally:
 
sudo cherokee-admin -b
 After running this command will show cherokee:
Login:
  User:              admin
  One-time Password: PJVX64JauEZGVkfW

Web Interface:
  URL:               http://localhost:9090/

Cherokee Web Server 1.0.8 (Jan 11 2011): Listening on port ALL:9090, TLS
disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041

We should note that the interface configuration will be active only while running the command cherokee-admin and the password is only valid once.

Let the next step if we agree to localhosts: 9090 will see the following screen:

cherokee-admin.png

This is the cover of the configuration interface Cherokee. Here we can see if the server is active, the process ID, version, ...

for the first drupal installation folder decided that we decide to install it. In our example we use / var/www/drupal7. Download our drupal and unpack it in the directory you've created.

The following is create our vhost for our drupal. For this we go to the tab vhosts. The creation of the vhost can be seen in the following screencast:

With this we will have completed our installation of Cherokee and drupal. In the next chapter in Cherokee carried out, comparing test performance by Cherokee and Apache.

Add new comment

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.