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!
First you need to remove apache server if you install
sudo update-rc.d -f apache remove
Install Cherokee web server in Ubuntu
If you want to install from ubuntu repositories use the following command
sudo apt-get install cherokee
If you want to install latest version use the following procedure
You need to edit /etc/apt/sources.list file
sudo vi /etc/apt/sources.list
add the following lines
deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu jaunty main
Save and exit
Install GPG key using the following command
sudo apt-key adv
--keyserver keyserver.ubuntu.com 0x0ad0b667b67daa477f5ff89f51bb8e83eba7bd49
Update the source list
sudo apt-get update
Install Cherokee web server using the following command
sudo apt-get install cherokee
Start your new web server
sudo /etc/init.d/cherokee start
Cherokee web-based administration tool
one of the exciting features of the product is the web-based administration tool, cherokee-admin. Rather than fiddling around with text files which may not mean much to an administrator new to Cherokee, the server can be entirely setup from cherokee-admin.
execute the following command to launch cherokee-admin
Cherokee-admin should launch and present you with both a username (admin) and one-time password. Copy the password to the clipboard and fire up http://127.0.0.1:9090/ in a web browser. When prompted with the HTTP authentication dialog merely enter those same credentials.
Install Mysql server support
Use the following commands to install mysql server support
sudo apt-get install mysql-server mysql-client
Install PHP support
Use the following commands to install php support
sudo apt-get install php5-cgi php5-mysql
Test you installation
If you are able to load a page in your browser then the next step is ensuring PHP parsing is functioning properly.
sudo vi /etc/www/test.php
Once in the editor, paste the following PHP code in to the file
<?php echo phpinfo(); ?>
Surf to http://domain.com/test.php and presumably a PHP information page should be displayed in the browser if everything is functioning as expected.
Howto install phpmyadmin on Cherokee
The only thing you need to do is make phpMyAdmin accessible by Cherokee and all the script files must have permissions suitable for the user running Cherokee.
Note:- I am assuming you have already installed mysql server
sudo apt-get install php5-cgi php5-mysql phpmyadmin
sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin
Since Cherokee doesn’t appear in the list of web servers provided by the package installation script, select any of them to proceed with phpMyAdmin’s configuration.
The commands above asume you are running Cherokee as root and that your web server’s document root is /var/www.
If you were to run it as www-data, simply change the script’s owner
sudo chown -R www-data:www-data /usr/share/phpmyadmin
Now point your web browser to http://localhost/phpmyadmin, and use the MySQL user information to access the databases.
Benchmarks with other web servers
check this nice guide to see benchmarks with other web servers
Check cherokee documentation from here
Incoming search terms:
- cherokee phpmyadmin
- install cherokee on ubuntu
- how to remove cherokee ubuntu
- how to install cherokee on ubuntu
- cherokee phpmyadmin ubuntu
- cherokee web server
- cherokee web server ubuntu
- ubuntu cherokee
- install cherokee ubuntu
- cherokee-admin ubuntu