You can customise these settingsNOTE: if you want to run php, u must install "php-cgi", not needed for compilation though.If you want to "fine tune" the installation read ./configure --help

Now run: "make" and if no error occurs , run "make install" that will install it to: /usr

3) Configure it:There's a binary called "cherokee-admin" with which you can configure quite good your cherokee server, so let's start "cherokee-admin":If you are running on the same host just type:# cherokee-adminIf on a remote-host, run:# cherokee-admin -aThis will bind to all interfaces so you can access it worldwide.Now point your browser to: http://127.0.0.1:9090 if you are running on your host.This will look like this

Navigate to "General":Let's set up some things:Disable ipv6 if you dont need it.You can create a new user to run it "www" and a group with the same name or run as "nobody" user and "nobody" group (on some systems it's "nogroup")

"Virtual Servers":NOTE: you can use the default one or you can add one,I will do it now:Here we go,Name = userhomeDocument Root = /home/user/public_htmlThese settings are up to you, let's add it.Now click on the newly created virtual host

"Basics":"Directory Indexes" if you want to run a html site put there "index.html" if a php site "index.php", or you can separate them with ",".

Now will configure PHP, u can skip it if you dont need it.c) Entry: phpType: extensionsHandler: fastcgiPriority: 4Submit it.Host: localhost:1234Interpreter: the path to your php, if you have in your $PATH you can simply: php-cgi -b 1234, if not you must specify the full path like: /usr/pkg/libexec/cgi-bin/php -b 1234

Submit it!Add "PHP_FCGI_CHILDREN" as a variable and 5 as a value and press addSubmit it again.Now click on "Apply", and "Launch" the server!If everything is OK it must run.Now let's test it!In your directory (/home/user/public_html) OR to /var/www (as u defined it) create a file called index.html put in the file these lines:<html><head><title>my site</title></head><body>Welcome to my new site @ Cherokee</body></html>and point your browser to you IP address.