<< back to Chapleau.info

August 2008 - Posts

There is a little MSBuild task that can increment a build number in a proper way: that is adding 1 to the last build. Easy to install, and to use.

It can also include the current date.

http://code.msdn.microsoft.com/AssemblyInfoTaskvers/Release/ProjectReleases.aspx?ReleaseId=232

-f.

Joe Wirtley wrote a great article on the way to include .NET 3.0 pre-requisites when deploying click-once application in Visual Studion 2005.

http://joewirtley.blogspot.com/2007/07/clickonce-and-net-30-prerequisite.html

Note that, for the .NET 3.0 prerequisite to appear, you should have the Visual Studio 2005 extensions for .NET Framework 3.0 installed from http://www.microsoft.com/downloads/details.aspx?familyid=5D61409E-1FA3-48CF-8023-E8F38E709BA6&displaylang=en

... it seems obvious, but, you do not need this to use a 2.0 assembly that is using .NET 3.0!

-f.

This is mainly an How To install Fedora 9 via BOOTP and a NFS share.

The software I used was another Fedora 8 server.

First I installed the DHCP Server using

yum install dhcpd

I also installed the TFTP server that is used by BOOTP

yum install tftp-server

I then installed the syslinux package

yum install syslinux

I configured the DHCP service with the appropriate parameters

ddns-update-style interim;

subnet 192.168.1.0 netmask 255.255.255.0 {

        option routers                  192.168.1.1;

        option subnet-mask              255.255.255.0;

        option domain-name              "thedomain.com";

        option domain-name-servers       192.168.1.1;

        option time-offset              -18000;     # Eastern Standard Time

        range 192.168.1.200 192.168.1.250;

        next-server 192.168.1.1;

        option root-path "/tftpboot/";

        filename "pxelinux.0";

}

I copied the PXEBoot images from a fedora Mirror to the tftpboot directory in the root

cd /tftpboot

cp /usr/local/src/syslinux-3.71/core/pxelinux.0

cp /usr/local/src/syslinux-3.71/memdisk/memdisk

Download the Fedora PXE Boot images

cd /tftpboot

wget http://gulus.usherbrooke.ca/pub/distro/fedora/linux/releases/9/Fedora/i386/os/images/pxeboot/efiboot.img

wget http://gulus.usherbrooke.ca/pub/distro/fedora/linux/releases/9/Fedora/i386/os/images/pxeboot/initrd.img

wget http://gulus.usherbrooke.ca/pub/distro/fedora/linux/releases/9/Fedora/i386/os/images/pxeboot/vmlinuz

Turn the tftp deamon to on by editing the file at

vi /etc/xinetd.d/tftp

change the disable option to no

Set the auto start options

chkconfig tftp on
chkconfig dhcpd on

Download the ISO DVD image

wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/i386/iso/Fedora-9-i386-DVD.iso

Mount the image

mount -o loop /tmp/Fedora-9-i386-DVD.iso /media/iso

Export the mounting point

vi /etc/exports

and insert

/media/iso *(rw)

Start nfs, tftp, dhcpd and you are done!

service nfs start

service xinetd start

service dhcpd start

-f.