Cherokee, OpenSolaris, Solaris 10

Integrating Cherokee in Solaris failsafe

grub with cherokee

I needed a webserver in the mode Solaris failsafe, done.

Here is my procedure:

1) Compile Cherokee

#./configure –prefix=/usr/cherokee –with-geoip=no –with-mysql=no –with-ldap=no –disable-ipv6 –disable-pam
#make
#make install

2) Make a copy of x86.miniroot-safe, we work over this new file.

#cd /boot
#cp x86.miniroot-safe /var/tmp/cherokeeminiroot.gz
#cd /var/tmp
#gunzip cherokeeminiroot.gz
#lofiadm -a /tmp/cherokeeminiroot /dev/lofi/1
# mount -o ro /dev/lofi/1 /mnt

3) You must create a new miniroot device and mount it then copy the contents of the old miniroot to your new miniroot.

#mkfile 256000000 /var/tmp/cherokeeroot.new
#lofiadm -a /var/tmp/cherokeeroot.new /dev/lofi/2
#newfs /dev/lofi/2

#/dev/rlofi/2: Unable to find Media type. Proceeding with system determined parameters.
#newfs: construct a new file system /dev/rlofi/2: (y/n)? y
Warning: inode blocks/cyl group (39) >= data blocks (37) in last
cylinder group. This implies 600 sector(s) cannot be allocated.
/dev/rlofi/2: 499200 sectors in 832 cylinders of 1 tracks, 600 sectors
243.8MB in 52 cyl groups (16 c/g, 4.69MB/g, 2240 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 9632, 19232, 28832, 38432, 48032, 57632, 67232, 76832, 86432,
403232, 412832, 422432, 432032, 441632, 451232, 460832, 470432, 480032, 489632

#mkdir /var/tmp/cherokeeroot_mount
#mount /dev/lofi/2 /var/tmp/cherokeeroot_mount/
#find . | cpio -pvdm /var/tmp/cherokeeroot_mount/

4) You copy the Cherokee files to /var/tmp/cherokeeroot_mount/usr/ also the libs that you can need for Cherokee.
(DTrace can help you to view the open files of cherokee.)

#cp -rp /usr/cherokee/ /var/tmp/cherokeeroot_mount/usr/
#cp /usr/sfw/lib/libgcc_s.so.1 /var/tmp/cherokeeroot_mount/usr/sfw/lib

5) umount devices.

#umount /dev/lofi/1
#umount /dev/lofi/2
#lofiadm -d /dev/lofi/1
#lofiadm -d /dev/lofi/2

6) You compress new miniroot and add the entry to GRUB

#gzip -c /var/tmp/cherokeeroot.new > /boot/cherookeex6miniroot

add to /boot/grub/menu.lst:

#———- ADDED BY BOOTADM - DO NOT EDIT ———-
title Solaris miniroot with Cherokee
kernel /boot/multiboot kernel/unix -s
module /boot/cherookeex6miniroot

#———————END BOOTADM——————–

7) Reboot the system for entry with the new failsafe and Cherokee.

cayac

Screenshots new version of cayac for opensolaris and Solaris 10.

Cayac Solaris 10 and OpenSolaris new version are near. Cayac now has a new interface with NanoCMS.

De Cayac WebStack

Cherokee 0.6

Fan buttons´s cherokee !

I´m a fan Cherokee , I like the Cherokee features like FastCGI and load balancing. I want to contribute these fun buttons:

View all buttons:

http://www.cherokee-project.com/logos.html

Also Cherokee 0.10.1 released

from Cherokee project:

Bug fixing release for the stable branch. We detected a possible configuration bug just a couple of days after the release, and just to play it safe we decided to fix things in record time. Enjoy!

Music

Music Creative Commons for your screencast

If you need a music backround for your screencast or video see this website: Jamendo

You have a lot of musci styles as pop, reage, flok, tecno, funk, minimal….

Advocacy Community Group.

fan buttons for Opensolaris

I have crated a fun buttons for OpenSolaris in the Advocacy Community Group. You can see the fun buttons in this link (miscellaneus):

Fun Buttons OpenSolaris Web

Samples:

Cerrar
E-mail It