User:Jebba/Flauta
Flauta is the box hosting SDK users.
Contents |
[edit] QEMU
The build server is running as a qemu guest. It is launched from the host thusly:
#!/bin/sh /usr/local/bin/qemu-system-x86_64 \ -drive \ file=/kvm/flauta.qcow2,index=0,if=virtio,cache=writeback,boot=on \ -drive \ file=/kvm/www-freemoe.qcow2,index=1,if=virtio,cache=writeback \ -drive \ file=/kvm/scratchbox1.qcow2,index=2,if=virtio,cache=writeback \ -cpu qemu32 \ -m 2048 \ -vnc :5 \ -daemonize \ -enable-kvm \ -name flauta \ -net nic,vlan=0,model=virtio \ -net user,hostfwd=tcp:63.247.92.155:22-:22,hostfwd=tcp:63.247.92.155:80-:80 \ -smp 8 \ -runas jebba
- It is running the "current" QEMU git (d0be2513d5eefb47a83f9a303fe142dd8ef72848).
- Host kernel is custom 2.6.32.
- Guest is running Debian Lenny with stock Lenny kernel.
- The guest is running a custom 2.6.32 kernel now. A good sample .config optimized for qemu would be fantastic. Currently only seeing 883M (before seeing 2G) likely due to turning off 4G/4G which I turned off for speed per QEMU docs. Not sure if lots of memory will speed things up anyway--the filesystem will just get cached on the host.
- The guest panicked once (when building a kernel.deb for ARM running `dpkg-buildpackage -j8 -rfakeroot -b`...), hence the drive to run a more recent guest kernel.
[edit] rysnc
[edit] status
- KVM needs restart before rsync is running. Need to find a way to add this on the fly to the live kvm:
hostfwd=tcp:63.247.92.157:873-
Flauta is running an rsync server of the website, which includes SDK user's web directories (typically the .debs themselves--they can be their own repositories).
[edit] config
[www.freemoe.org] path = /var/www/ comment = Freemoe public read only = yes use chroot = yes max connections=256 list = yes uid = nobody gid = rsync dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
- This page was last modified on 24 January 2010, at 17:14.
- This page has been accessed 1,572 times.