Switch from lighttpd to nginx
Since a few minutes ago my FreeBSD VPS is running Nginx as webserver and not lighttpd anymore. Especially the passenger module for nginx is very nice and simple. I had no trouble switching the lighttpd configuration to nginx. We'll see how it performs.
Rinderbox: Version 0.2
I've released rinderbox 0.2 a few minutes ago. Now the latest and failed builds get listed on the main page.
As always have a look at the demo site...
Don't know how to simplify the main page in general yet (hint: there is a nice tinderbox layout by Aron Schlesinger ), but I've added some things to be done for the next release(s) in a TODO file.
FreeBSD PXE Installation 1
/etc/inetd.conf
[...] tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /pxeroot [...]
/usr/local/etc/dhcpd.conf
option domain-name "gogolok.de";
option domain-name-servers 192.168.2.100;
default-lease-time 600;
max-lease-time 7200;
ddns-update-style ad-hoc;
log-facility local7;
subnet 192.168.2.0 netmask 255.255.255.0 {
option routers 192.168.2.100;
next-server 192.168.2.201;
filename "/boot/pxeboot";
}
host laptop {
hardware ethernet 08:00:46:6a:c5:3c;
fixed-address 192.168.2.202;
# option root-path "134.96.240.6:/pxeroot";
}
/etc/exports
[...] /pxeroot/ -ro -alldirs -network 192.168.2.0 -mask 255.255.255.0 [...]
/etc/rc.conf
[...] # dhcp, PXE boot dhcpd_enable="YES" dhcpd_ifaces="re0" inetd_enable="YES" rpcbind_enable="YES" nfs_server_enable="YES" mountd_flags="-r" [...]
Mount FreeBSD 6.3 bootonly iso
$ cd /tmp $ fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/\ 6.3/6.3-RELEASE-i386-bootonly.iso $ sudo mdconfig -a -t vnode -f /tmp/6.3-RELEASE-i386-bootonly.iso -u 4 $ sudo mkdir /pxeroot $ sudo mount_cd9660 /dev/md4 /pxeroot
Start NFS (without rebooting)
$ sudo rpcbind $ sudo nfsd -u -t -n 4 $ sudo mountd -r # or restart machine
Start dhcp and inetd server
$ sudo /etc/rc.d/inetd restart $ sudo /usr/local/etc/rc.d/isc-dhcpd restart
Boot loader
Everything should be setup on the server side, now boot the machine FreeBSD should be installed on using PXE. If DHCP, TFTP and NFS is set up correctly, the FreeBSD boot loader should appear. Press the key '6' for the sixth entry "Escape to loader prompt", then type the following:
set vfs.root.mountfrom="ufs:/dev/md0c" ENTER boot ENTER
The system boots and sysinstall should appear.
[NEW PORT] sysutils/bcfg2: configuration management system written in Python 2
I've submitted a bug report that brings bcfg2 to the FreeBSD ports system.
I've posted also a ticket to the bcfg2 trac system that should make bcfg2-admin init more intuitive. A plugin for the FreeBSD package system is still missing.
UPDATE 02/06/2007 Great, CHAO Shin had the same idea! Also the 'bcfg2-admin' enhancement ticket is commited.
UPDATE 04/06/2007 The port has been commited, welcome sysutils/py-bcfg2. Thanks Miwi!
freshbsd.org
Die Seite freshbsd.org bietet eine schnelle Übersicht der Commit-Nachrichten der einzelnen *BSD-Projektrepositories (DragonFly BSD, FreeBSD, OpenBSD, NetBSD) an. Durch Filteroptionen kann gezielt nach einzelnen Projekten, Branches, Personen und Modulen gefiltert werden.
devel/py-xml: Pythonic binding for the libxml2 and libxslt libraries
[print/hplip] wrong usage of options
Slowly I'm getting my ports list compiled with tinderbox.
This week I've found a bug in the Makefile of print/hplip (Drivers and utilities for HP Printers and All-in-One devices). The port specifies the following option:
...
OPTIONS= GUI "build with Python QT" on
...
.if defined(WITH_GUI)
RUN_DEPENDS+= pylupdate:${PORTSDIR}/x11-toolkits/py-qt
.endif
...
GUI support is enabled by default here. But according to the syntax chapter in the FreeBSD Porter's Handbook one can only test for WITHOUT_* in case of an option which defaults to ON. Testing for WITHOUT_GUI would be right in this case, see PR 108103.
...
.if !defined(WITHOUT_GUI)
RUN_DEPENDS+= pylupdate:${PORTSDIR}/x11-toolkits/py-qt
.endif
...