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
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
The cherokee team just relased version 0.6.0, as higlights:
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 :
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.
so see you there…
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).
"/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()"
# cp /usr/share/webapps/trac/0.10.3.1/hostroot/cgi-bin/trac.fcgi /var/www/localhost/cgi-bin/
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:
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 :)
A blog to follow the GNAP CLI progress :)
ufdbGuard is now in portage (~x86). It is a really fast redirector for Squid. It can use proprietary blacklists or normal blacklists. ufdbguard is sponsored by urlfilterdb. And of course it is GPL.
You can download the manual here.
It need some testing so enjoy!
Good news. GNAP have two students accepted in Google Summer of Code.
The idea is to create a Framwork for embedded systems using GNAP. Simple and easy as possible you will create a embedded system that fits your hardware. We have yet a lot of work, so if you can help you are welcome.
ToDo GNAP^3:
Our students are Stoile (Philipp) and Alster (Alexandros) and at moment three mentors: Jaervosz, Eroyf and Me.
If you want to help us just ask in #gentoo-gnap (freenode) or in gentoo-embedded MailList.
Congratulations to Philipp and Alexandros!
- Use pgbench to benchmark a postgresql database
- “-m 1″ show sharedmem, “-m N” set sharedmem to N mb
- “-a” to help or just edit the first lines to configure it.
- Use mencoder/mplayer to add a subtitle file into a video file or to reencode it in other format.
- “-h” to help or edit the first lines to configure.
Recent Comments