“i wish you some superb robo-powered fridge who predicts only good future, tells you of the best memories you ever had, is full of lithuanian beer.. and i wish i was there to give you a hug and drink some to your health and wealth and drink to every sunset over your head and every sunrise down your feets that tuckle them and gives energy and joy of life every single day every single minute.
i wish you would understand your happiness.. i wish i would be able to remind it to you whenever you need it”
Happy Birthday
File image to LVM
lvcreate -n foobar-disk0 -L 5G vgroot
qemu-image convert /path/to/loopfile.img -O raw /dev/vgroot/foobar-disk0
by Al Tobey in Xen user list
So cute…
Cherokee 0.6.0 relased
The cherokee team just relased version 0.6.0, as higlights:
- Web based admin interface (cherokee-admin, USE=admin)
- 20% 25% faster
- Load balancing
- Recover mechanism
- More authentication modules
- New documentation system
- Theme support
The new ebuild is already in portage including cherokee-admin and cherokee-guardian. The configuration is totally different so you need to create a new one using cherokee-admin or use /usr/share/doc/cherokee-0.6.0/contrib/05to06.py to export your old config (doesn’t wokrs 100%).
Well is my first week with my new laptop (Alice) and i love it… This is only a list of tips/troubleshottings maybe usefull for other :
- you need a 2.6.24 kernel + net-wireless/iwl4965-ucode for complete out-box wifi support
- my .config file: config 2.6.24-r2
- you need alsa-driver-1.0.16 (1.0.15 is in 2.6.24) to mic and sounds works corrrectly and define in /etc/modules.d/alsa :
- options snd-hda-intel model=dell-3stack
- If you are using 2.6.24 you need to use >=x11-drivers/nvidia-drivers-169.09-r1 (~x86)
- If you want sleep/hibernate to work remember acpid & hald in the same runlevel
- disble power button even handler in /etc/acpi/default.sh becuase it can conflict with hald
- Some usefull links:
About FOSDEM was great again. I met old a lot of old friends, a few new ones ;) was great to see again Jonita adn Damian, and we enjoy like never in Delirium (the best bar), a lot of beer, girls and chocolat.
Going to FOSDEM
so see you there…
Free Burma
Antonio Puerta tribute
Just a little tribute to Antonio Puerta (1984-2007)…
On today’s class we will configure our Cherokee web server to work with Trac :)
You need a system with trac, cherokee and apache-utils(htpasswd) installed (on Gentoo just emerge). We will use cherokee 0.5.6 (0.6.x is very stable so the config file is quite different). Remember to install Trac with FCGI support (on gentoo just USE=fcgi).
- First we need to modify a bit the trac fcgi interpreter to work on cherokee. We must to bind the fcgi port, in this case to 8000. Edit:
"/usr/lib/python2.4/site-packages/trac/web/fcgi_frontend.py" change "_fcgi.WSGIServer(dispatch_request).run()" to "_fcgi.WSGIServer(dispatch_request, bindAddress=("localhost", 8000)).run()"
- Now copy the trac cgi to a better location (the location depends on the trac version:
# cp /usr/share/webapps/trac/0.10.3.1/hostroot/cgi-bin/trac.fcgi /var/www/localhost/cgi-bin/
- And the final step, configure cherokee:
Directory /trac/$PROJ {
Handler fcgi {
ErrorHandler on
CheckFile off
Server localhost:8000 {
Env TRAC_ENV “/var/lib/trac/$PROJ”
Interpreter “/var/www/localhost/cgi-bin/trac.fcgi”
}
}
}
Directory /trac/$PROJ/login {
Auth Basic {
Name “Trac auth”
Method htpasswd {
PasswdFile /etc/cherokee/trac.htpasswd
}
}
}
Request "^/trac/[^/]+/chrome/common/(.*)$” {
Handler redir {
Show Rewrite “/trac/chrome/common/$1″
}
}
Request "^/trac/[^/]+/login/chrome/common/(.*)$” {
Handler redir {
Show Rewrite “/trac/chrome/common/$1″
}
}
Directory /trac/chrome/common {
Handler file
DocumentRoot /usr/share/trac/htdocs/
}
I will explain a bit each section:
- We define our URL project, where to find it on our disk and where is the trac fcgi
- Use this to have auth on trac. The file is create with htpasswd
- 4 and 5 are nice redirectors to server static trac content without using the trac cgi
Remember to set perms on /var/lib/trac/$PROJ, to passwd and svn repos to user cherokee.
Now we have a fast and secure Trac system :)





Recent Comments