User:Jebba/Flauta

(flauta)
(rsync)
Line 34: Line 34:
* 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.
* 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.
 +
 +
=rysnc=
 +
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).
 +
 +
==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

Revision as of 16:42, 24 January 2010

Flauta is the box hosting SDK users.


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.

rysnc

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).

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