<?xml version="1.0"?>
<!-- name="generator" content="blosxom/2.0" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
  <channel>
    <title>Open Source, Cisco, Trading and Findability   </title>
    <link>http://www.oneunified.net/blog</link>
    <description>An eclectic mixture of Open Source, Cisco, and Automated Trading</description>
    <language>en</language>

  <item>
    <title>Blosxom Reinstall on Debian Lenny 5.0.1</title>
    <link>http://www.oneunified.net/blog/2009/06/28#reinstall</link>
    <description>
&lt;p&gt;It is almost time to retire my perl based bloging server software known as 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.blosxom.com/downloads.html&quot; onMouseOver=&quot;window.status='to www.blosxom.com/downloads.html'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;blosxom&lt;/a&gt;.  It has performed  well.  However, my page count is starting to get high,
and blosxom is taking longer and longer to process.  For now, I've moved it to faster hardware while I work on a different
blog delivery mechanism (I hope to have Wt on C++ with PostgreSQL running the back-end soon).  

&lt;p&gt;Copying over the directory structure was no real problem.  The only real thing needed was to put the mod_rewrite stuff
back in so the unsightly cgi-bin url portion is removed.  By default, mod_rewrite is not enabled.
To enable it:

&lt;blockquote&gt;&lt;pre&gt;
a2enmod rewrite
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Here is what the rewrite stuff as it looks in sites-enabled/default file:

&lt;blockquote&gt;&lt;pre&gt;
  RewriteLogLevel 0
  RewriteLog /var/log/apache2/rewrite.log

&amp;lt;Directory &quot;/var/www/blog&quot;&amp;gt;
  AddHandler cgi-script .cgi
  Options +ExecCGI
  RewriteEngine On
  RewriteCond %{REQUEST_URI} !-f
  RewriteCond %{REQUEST_URI} !-d
  RewriteRule ^(.*)$ /cgi-bin/blosxom.cgi/$1 [L,QSA]
&amp;lt;/Directory&amp;gt;
&lt;/pre&gt;&lt;/blockquote&gt;





</description>
  </item>
  <item>
    <title>Perl Mason Install</title>
    <link>http://www.oneunified.net/blog/2009/06/28#mason</link>
    <description>
&lt;p&gt;Installing mason v1.42 from &lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.masonhq.com/?Download&quot; onMouseOver=&quot;window.status='to www.masonhq.com/?Download'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;Mason HQ&lt;/a&gt;
is quite straight-forward:

&lt;ul&gt;
  &lt;li&gt;apt-get install build-essential
  &lt;li&gt;apt-get install libapache2-mod-apreq2
  &lt;li&gt;apt-get install libapreq2-dev
  &lt;li&gt;apt-get install libapache2-request-perl
  &lt;li&gt;ln -s /etc/apache2/mods-available/apreq.load /etc/apache2/mods-enabled/apreq.load
  &lt;li&gt;perl -MCPAN -eshell
  &lt;li&gt;install  HTML::Mason
  &lt;/ul&gt;
</description>
  </item>
  <item>
    <title>VMWare Mouse Release on Debian Lenny Guest</title>
    <link>http://www.oneunified.net/blog/2009/06/28#lennymouseonvm</link>
    <description>
&lt;p&gt;A simple message to myself.  When installing a Debian Lenny 5.0.1 KDE guest 
in VMWare Workstation hosted on Windows XP, a few steps are required in order to
move into and out of the guest without the ctrl-alt mouse release sequence:

&lt;ul&gt;
  &lt;li&gt;apt-get install build-essential on the guest
  &lt;li&gt;apt-get install linux-headers-...
  &lt;li&gt;build and install the VMWare toolkit in the guest
  &lt;li&gt;add 'Option &quot;CorePointer&quot;' to the mouse section of /etc/X11/xorg.conf 
  &lt;li&gt;add 'Option &quot;CoreKeyBoard&quot;' to the keyboard section of /etc/X11/xorg.conf
  &lt;li&gt;restart KDE
  &lt;/ul&gt;

&lt;p&gt;A visit to a 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://communities.vmware.com/thread/211821&quot; onMouseOver=&quot;window.status='to communities.vmware.com/thread/211821'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;VMWare Community&lt;/a&gt;
describes a couple of additional steps for getting the VMWare Shared Folders (HGFS) Share to 
work inside of Lenny 5.0.1 as well.  Basically, in the /etc/fstab file, which VMWare updates
when you perform a tool install, append ',uid=1000,gid=1000'  to the 'ttl=5' portion
of the .host line, so it looks something like:

&lt;blockquote&gt;&lt;pre&gt;
.host:/ /mnt/hgfs vmhgfs defaults,ttl=5,uid=1000,gid=1000 0 0
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;The actual value to be used in place of 1000 is what ever your uid,gid are for your 
current window session.  This an be determined at the command line by:

&lt;blockquote&gt;&lt;pre&gt;
echo ${UID}
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Without the uid/gid values in the fstab file, the share is made available for the root user.  Anyway, after
the restart, by using the file explorer, go to /mnt/hgfs to see the volumes.</description>
  </item>
  <item>
    <title>Web Statistics with awstats on Debian Lenny 5.0.1</title>
    <link>http://www.oneunified.net/blog/2009/06/28#awstats</link>
    <description>
&lt;p&gt;On an old system, I used Webalizer to analyze Apache log files.  On a newer system
I thought I'd give awstats a try.  I had two options, install via the original source, 
or install via apt-get.  Considering the number of files and directories involved, I 
decided to go with the Debian package manager to install awstats.

&lt;p&gt;The package manager to get things into decent directories, but it appears to have 
been built for an earlier flavour of Debian.  A few things I had to fix up for working in 
Debian Lenny 5.0.1 with Apache v2.0 include:

&lt;ul&gt;
  &lt;li&gt;In /etc/cron.d/awstats, changing one of the file checks from /var/log/apache/access.log to /var/log/apache2/access.log
  &lt;li&gt;changing the ownership of the logs in /var/log/apache from root.adm to root.www-data (an alternative might be www-data.adm)
  &lt;li&gt;changing the creation ownership in /etc/logrotate.d/apache2 from 'create 640 root adm' to 'create 640 root www-data'
  &lt;li&gt;in /etc/awstats/awstats.conf.loal, added 'LogFormat=1' and 'DirIcons=/awstats/icon'
  &lt;li&gt;in /etc/apache2/sites-enabled/000-default, added 'Alias /awstats/icon &quot;/usr/share/awstats/icon&quot;'
  &lt;li&gt;the version of awstats installed was 6.5.  I downloaded the awstats.pl file from awstats site and 
      placed it in the /usr/lib/cgi-bin directly as a simple upgrade to v6.9.
  &lt;/ul&gt;

&lt;p&gt;During package installation, the package manager suggested some additional packages:  libnet-dns-perl libnet-ip-perl libgeo-ipfree-perl.  Perhaps 
when I get a chance, I'll install those and see what they add to the statistics management.
</description>
  </item>
  <item>
    <title>Network Broadcast Addresses</title>
    <link>http://www.oneunified.net/blog/2009/06/27#BroadcastAddresses</link>
    <description>
&lt;p&gt;A customer was performing penetration testing on their network.  Once the test results
were in, among other things, they had a couple questions about responses to certain addresses
on their external subnet range.

&lt;p&gt;As a background, every subnet with a network mask of /30 or shorter has three address groups:

&lt;ul&gt;
  &lt;li&gt;first address: the zeros address aka network address
  &lt;li&gt;middle addresses: usuable addresses
  &lt;li&gt;last address: the ones address aka broadcast address
  &lt;/ul&gt;

&lt;p&gt;For explanation purposes, imagine a router with two interfaces:

&lt;ul&gt;
  &lt;li&gt;interface 1, the ingress interface, with address range of 10.0.0.0/30 and interface address of 10.0.0.1.
  &lt;li&gt;interface 2, the egress interface, with address range of 10.0.0.4/30 and interface address of 10.0.0.5.
  &lt;/ul&gt;

&lt;p&gt;For some network devices, for a packet arriving on the ingress interface destined for the broadcast address
of the egress interface (10.0.0.7), the network device will forward the packet, effectively broadcasting to 
all devices located in the subnet of the egress interfaces.  When many packets arrive in this manner, 
this is known as a 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://en.wikipedia.org/wiki/Smurf_attack&quot; onMouseOver=&quot;window.status='to en.wikipedia.org/wiki/Smurf_attack'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;Smurf Attack&lt;/a&gt;.

&lt;p&gt;Current Cisco devices, by default, no longer forward packets to broadcast addresses, but may respond to these 
packets.  The following command is applied by default to prevent forwarding of packets to broadcast addresses:

&lt;blockquote&gt;&lt;pre&gt;
no ip directed-broadcast
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;At the other end of the subnet, for the network address, I originally thought this was a quiescent address.  However,
I did find that the an ICMP echo request arriving on the ingress interface destined to the network address (10.0.0.4) of the 
egress interface will generate an echo-reply with the ingress ip address (10.0.0.1) as the source address.

&lt;p&gt;It appears that in days gone past, that for BSD Unix boxes and various other equipment, the network address was *the*
broadcast address.  This is why some configurations allow one to configure the address of the broadcast address setting, 
whether it be the high end or low end of a subnet.  (thanx to Steinar Haug for this info).

&lt;p&gt;&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://tools.ietf.org/html/rfc1122&quot; onMouseOver=&quot;window.status='to tools.ietf.org/html/rfc1122'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;rfc 1122&lt;/a&gt; formalizes this broadcast address
configuration (thanx to an inciteful responder named Lee):

&lt;blockquote&gt;&lt;pre&gt;
   3.3.6  Broadcasts

         There is a class of hosts* that use non-standard broadcast
         address forms, substituting 0 for -1.  All hosts SHOULD
         recognize and accept any of these non-standard broadcast
         addresses as the destination address of an incoming datagram.
         A host MAY optionally have a configuration option to choose the
         0 or the -1 form of broadcast address, for each physical
         interface, but this option SHOULD default to the standard (-1)
         form.
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;The host will respond with the echo-reply because of 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://tools.ietf.org/html/rfc791&quot; onMouseOver=&quot;window.status='to tools.ietf.org/html/rfc791'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;rfc 791&lt;/a&gt;:

&lt;blockquote&gt;&lt;pre&gt;
   3.2.1.3  Addressing: RFC-791 Section 3.2

             ...   An incoming datagram is destined
            for the host if the datagram's destination address field is:

            (1)  (one of) the host's IP address(es); or

            (2)  an IP broadcast address valid for the connected
                 network; or
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;From a Cisco router perspective, the default use of the command 'no ip directed-broadcast', allows one 
to use a /31 subnet (two ip addresses) for point to point links instead of the usual /30 subnet (four ip addresses).
One can effectively address twice as many links with the same number of addresses.  This feature is mentioned in 
Cisco's Feature Guide: 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.cisco.com/en/US/docs/ios/12_2t/12_2t2/feature/guide/ft31addr.html&quot; onMouseOver=&quot;window.status='to www.cisco.com/en/US/docs/ios/12_2t/12_2t2/feature/guide/ft31addr.html'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;
Using 31-Bit Prefixes on IPv4 Point-to-Point Links&lt;/a&gt;.

&lt;p&gt;Coincidently, while I was writing this article, I received a note that there are a couple of TCP Security Assessment 
documents available:

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.cpni.gov.uk/Docs/tn-03-09-security-assessment-TCP.pdf&quot; onMouseOver=&quot;window.status='to www.cpni.gov.uk/Docs/tn-03-09-security-assessment-TCP.pdf'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;
    Security Assessment of the Transmission Control Protocol (TCP)&lt;/a&gt; in pdf format
  &lt;li&gt;&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.gont.com.ar/drafts/tcp-security/draft-gont-tcp-security-00.txt&quot; onMouseOver=&quot;window.status='to www.gont.com.ar/drafts/tcp-security/draft-gont-tcp-security-00.txt'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;
    IETF Draft Version of the above Security Assessment&lt;/a&gt;
  &lt;/ul&gt;

&lt;p&gt;These documents go into the details of the bits and bytes making up the TCP protocol, analyzing the reasons for the bits,
how they can be misused, and suggesting counter-measures when used illegally.  Theres is a detailed bibilography with 
active links to related papers and documents.

&lt;p&gt;An idea of the scope of the document can be seen through its first level table of content:

&lt;ul&gt;
  &lt;li&gt;The Transmission Control Protocol
  &lt;li&gt;TCP Header Fields
  &lt;li&gt;Common TCP Options
  &lt;li&gt;Connection-Establishment Mechanism
  &lt;li&gt;Connection-Termination Mechanism
  &lt;li&gt;Buffer Management
  &lt;li&gt;TCP Segment Reassembly Algorithm
  &lt;li&gt;TCP Congestion Control
  &lt;li&gt;TCP API
  &lt;li&gt;Blind In-Window Attacks
  &lt;li&gt;Information Leaking
  &lt;li&gt;Covert Channels
  &lt;li&gt;TCP Port Scanning
  &lt;li&gt;Processing of ICMP Error Messages by TCP
  &lt;li&gt;TCP Interaction with the Internet Protocol (IP&gt;
  &lt;li&gt;References
  &lt;/ul&gt;

</description>
  </item>
  <item>
    <title>Securely Erasing Files</title>
    <link>http://www.oneunified.net/blog/2009/06/27#SecureEraseFiles</link>
    <description>
&lt;p&gt;On a Linux system, there are a number of tools available for over-writing a file
with random data and then deleting the file and hiding the name of the name of the file as well.

&lt;p&gt;Of course, there are certain caveats that go along with this.  If you focus only on
securely deleting files, you will miss file content that may have been written to bad sectors, 
file journals, sectors released when files have been relocated from one area to another
(as in when you edit or shorten files), 
and various other disk dead areas.

&lt;p&gt;On popular tool is a utility called shred, and is found natively on most distributions.  In
the most basic form:

&lt;blockquote&gt;&lt;pre&gt;
shred --remove filename
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;If you use the -v (verbose) option, you can see how many times it over-writes a file, and with 
what patterns it uses.  It also uses a descending 0 write in order to obliterate
a file name.

&lt;p&gt;If you need to recurse sub-directories:

&lt;blockquote&gt;&lt;pre&gt;
find * -depth  -type f | xargs shred --remove
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;If you have created then moved or erased files and want to ensure that the released content
is overwritten, then you need to over-write drive free space and then release it.  There are some
poeople who suggest using dd to fill the free space and then use shred to overwrite and delete the single 
large file.

&lt;p&gt;An alternative is to use 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=https://computing.llnl.gov/linux/scrub.html&quot; onMouseOver=&quot;window.status='to https://computing.llnl.gov/linux/scrub.html'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;scrub&lt;/a&gt;, a tool built by the
Lawrence Livermore National Library folks.  It uses various national standards for selecting suitable patterns
and over-writing strategies.  Source can be found at 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://sourceforge.net/projects/diskscrub&quot; onMouseOver=&quot;window.status='to sourceforge.net/projects/diskscrub'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;Sourceforge&lt;/a&gt;.

&lt;p&gt;To ensure you have all the data, not just what was located in files or drive free space, one needs to
apply scrub/shred to whole partitions and/or drives.  The Gentoo Wiki talks about ways of 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://en.gentoo-wiki.com/wiki/Secure_deletion&quot; onMouseOver=&quot;window.status='to en.gentoo-wiki.com/wiki/Secure_deletion'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;securely deleting drives and partitions&lt;/a&gt;.

&lt;p&gt;For near-absolute protection of data, I've known companies to specify that once a drive is no longer 
useful, that it be crushed and sent to landfill.
</description>
  </item>
  <item>
    <title>New Release of WTL (Windows Template Library)</title>
    <link>http://www.oneunified.net/blog/2009/06/17#wtl</link>
    <description>
&lt;p&gt;I've been able to start on a new project with a clean slate.  For the portion residing on Microsoft 
Windows, I'm going to give the latest version (v8.1, build 9127) of the WTL (Windows Template Library) for 
crafting the GUI side of things.  The latest version can be downloaded from
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=https://sourceforge.net/project/showfiles.php?group_id=109071&quot; onMouseOver=&quot;window.status='to https://sourceforge.net/project/showfiles.php?group_id=109071'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;SourceForge&lt;/a&gt;, 
which looks to have a release date of May 7, 2009.

&lt;p&gt;The release notes don't indicate anything for running with the Visual Studio 2008 IDE.  A blog entry at 
Code Gem called 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://codegem.org/2008/09/wtl-wizard-for-visual-studio-2008&quot; onMouseOver=&quot;window.status='to codegem.org/2008/09/wtl-wizard-for-visual-studio-2008'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;
WTL Wizard for Visual Studio 2008&lt;/a&gt; indicates that by changing a few references to registry entries in the 
Visual Studio 2005 script, one can get the new WTL Wizard to install in the 2008 IDE.  He supplies 
downloadable source code in the blog entry.  Another location for a patch file is located in the 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://tech.groups.yahoo.com/group/wtl/files/VS2008Setup.zip&quot; onMouseOver=&quot;window.status='to tech.groups.yahoo.com/group/wtl/files/VS2008Setup.zip'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;Yahoo Forums&lt;/a&gt;.

&lt;p&gt;WTL has in the past been underdocumented.  Besides some websites linked from the wtl.sourceforge.net
web site, the WTL group on Yahoo has had a
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://tech.groups.yahoo.com/group/wtl/files/Clipcode%20WTL%20Guide/&quot; onMouseOver=&quot;window.status='to tech.groups.yahoo.com/group/wtl/files/Clipcode%20WTL%20Guide/'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;
WTL Developer's Guide&lt;/a&gt; posted in Doc and PDF forms.</description>
  </item>
  <item>
    <title>The American Dream</title>
    <link>http://www.oneunified.net/blog/2009/06/06#AmericanDream</link>
    <description>
&lt;p&gt;In a recent issue of 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.investmentnews.com/apps/pbcs.dll/article?AID=/20090605/REG/906059984/-1/rss02&amp;rssfeed=rss02&quot; onMouseOver=&quot;window.status='to www.investmentnews.com/apps/pbcs.dll/article?AID=/20090605/REG/906059984/-1/rss02&amp;rssfeed=rss02'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;Investment News&lt;/a&gt;, 
former U.S. Comptroller General David Walker was quoted as saying:

&lt;blockquote&gt;&lt;pre&gt;
&quot;The American dream is not owning a house; it.s every individual having the opportunity 
to achieve their full, God-given ability, and each generation having the responsibility to 
leave the country better off and better-positioned than the next so that our children and 
grandchildren can have a better way of life than we have.&quot;
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;In light of the trillion dollar budget deficits which Obama's government is attempting to 
run up, Walker's warning is one of good reason.</description>
  </item>
  <item>
    <title>Installing PostgreSQL on Debian Lenny</title>
    <link>http://www.oneunified.net/blog/2009/06/04#postgresqlinstall</link>
    <description>
&lt;p&gt;Release 5.0.1 of Debian's Lenny GNU/Linux distribution includes version 8.3 of 
PostgreSQL.  

&lt;p&gt;During the creation of a new Debian Lenny server, a list of software packages is 
provided.  To make a new PostgreSQL-only server, unselect everything, including the 
'Standard system', then select  'SQL Database', and proceed with the installation.

&lt;p&gt;Once installation has completed, and the new server has rebooted, the PostgreSQL service
is not auto-started.  There are a couple of manual commands to be applied.  In prior 
versions, PostgreSQL was auto-started.  I think I understand the reasoning, particularily 
because it is useful for my situation.

&lt;p&gt;During the server creation, I have a separate set of disks allocated for the database.  
By manually finishing the PostgreSQL implementation, I am able to initialize the directory 
location during service creation.  If I have I've mounted my drives at /var/local/db, then 
these two commands get the PostgreSQL 8.3 service started:

&lt;blockquote&gt;&lt;pre&gt;
pg_createcluster -d /var/local/db 8.3 main
/etc/init.d/postgresql-8.3 start
&lt;/pre&gt;&lt;/blockquote&gt;

</description>
  </item>
  <item>
    <title>Building WebGUI 7.7.8 on Debian Lenny</title>
    <link>http://www.oneunified.net/blog/2009/06/01#webgui</link>
    <description>
&lt;p&gt;It is a couple of years since I built a 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.oneunified.net/blog/OpenSource/Fedora/WebGUI/build.article&quot; onMouseOver=&quot;window.status='to www.oneunified.net/blog/OpenSource/Fedora/WebGUI/build.article'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;WebGUI&lt;/a&gt; server.
Last one I built was on a Fedora Linux box.

&lt;p&gt;This article is about building the most recent beta WebGUI on a Debian Lenny Linux box.  
The procedure is a bit long, but there is nothing complicated.

&lt;p&gt;I start with a basic Debian build that has the 'Web Server' and 'Standard Build' options 
selected.

&lt;p&gt;There are a few packages to install first:

&lt;blockquote&gt;&lt;pre&gt;
apt-get install ntpdate
ntpdate 0.pool.ntp.org
apt-get install ntp
apt-get install build-essential
apt-get install mysql-server-5.0
apt-get install imagemagick
apt-get install perlmagick
apt-get install exim4-daemon-light
apt-get install exim4-conf
apt-get install libcrypt-ssleay-perl libnet-ssleay-perl
apt-get install libxml-sax-perl
apt-get install libxml-sax-expat-perl
apt-get install libxml-simple-perl
apt-get install libsoap-lite-perl
apt-get install libtext-aspell-perl
apt-get install libapache2-mod-apreq2
apt-get install libapreq2-dev
apt-get install libapache2-request-perl
ln -s /etc/apache2/mods-available/apreq.load /etc/apache2/mods-enabled/apreq.load
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Then using

&lt;blockquote&gt;&lt;pre&gt;
perl -MCPAN -eshell
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Install or confirm the installation of the following Perl packages:

&lt;blockquote&gt;&lt;pre&gt;
install Bundle::CPAN
install Log::Log4perl
install Class::InsideOut
install Config::JSON
install Module::Find
install Tie::IxHash
install Net::Subnets
install Text::CSV_XS
install Tie::CPHash
install Net::LDAP
install Exception::Class
install POE::Component::IKC::ClientLite
install POE::Component::Client::HTTP
install Clone
install HTML::Packer
install Path::Class
install Scope::Guard
install HTML::TagFilter
install DateTime
install HTML::TagCloud
install DateTime::Format::Strptime
install DateTime::Format::Mail
install Class::C3
install MIME::Entity
install XML::FeedPP
install CSS::Minifier::XS
install Color::Calc
install Finance::Quote
install Net::DNS
install Crypt::SSLeay
install XML::Simple
install JavaScript::Packer
install JavaScript::Minifier::XS
install Archive::Any
install HTML::Template::Expr
install SOAP::Lite
install Weather::Com::Finder
install Image::Size
install Image::Info
install Template
install Image::ExifTool
install Business::Tax::VAT::Validation
install HTML::Highlight
install CSS::Packer
install Contextual::Return
force install Test::Class
install Test::MockObject
install Text::Aspell
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Download and expand the current software from SourceForge:

&lt;blockquote&gt;&lt;pre&gt;
cd /usr/src
wget http://voxel.dl.sourceforge.net/sourceforge/pbwebgui/webgui-7.7.8-beta.tar.gz
tar -zxvf webgui-7.7.8-beta.tar.gz
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Move some files around:

&lt;blockquote&gt;&lt;pre&gt;
mkdir /data
mv WebGUI /data/

cd /data/WebGUI/etc/
cp log.conf.original log.conf
touch /var/log/webgui.log
chown www-data.www-data /var/log/webgui.log

cp spectre.conf.original spectre.conf

mkdir -p /data/domains/www.example.com/public/extras
mkdir  /data/domains/www.example.com/logs
cp WebGUI.conf.original www.example.com.conf
cp -R /data/WebGUI/www/uploads /data/domains/www.example.com/public/
chown -Rf www-data.www-data /data/domains/www.example.com/public/uploads
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Append the following to /etc/rc.local:

&lt;blockquote&gt;&lt;pre&gt;
cd /data/WebGUI/sbin
perl spectre.pl --daemon
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Add the following to /etc/apache2/httpd.conf:

&lt;blockquote&gt;&lt;pre&gt;
PerlSetVar WebguiRoot /data/WebGUI
PerlCleanupHandler Apache2::SizeLimit
PerlRequire /data/WebGUI/sbin/preload.perl
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Add the following to /etc/apache2/sites-enabled/000-default:

&lt;blockquote&gt;&lt;pre&gt;
ServerName www.example.com
ServerAlias www.example.com
DocumentRoot /data/domains/www.example.com/public
SetHandler perl-script
PerlInitHandler WebGUI
PerlSetVar webguiConfig www.example.com.conf 
Alias /extras /data/WebGUI/www/extras
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Check that all the Perl packages are loaded:

&lt;blockquote&gt;&lt;pre&gt;
cd /data/WebGUI/sbin
./testEnvironment.pl
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Create the MySQL Database:

&lt;blockquote&gt;&lt;pre&gt;
cd /data/WebGUI/etc
mysql -e &quot;create database www_example_com&quot;
mysql -e &quot;grant all privileges on www_example.com.* to webgui@localhost identified by 'password'&quot;
mysql -e &quot;flush privileges&quot;
mysql -uwebgui -ppassword www_example_com &lt; /data/WebGUI/docs/create.sql
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;The /data/WebGUI/etc/www.example.com.conf file may need updates:

&lt;blockquote&gt;&lt;pre&gt;
&quot;sitename&quot; : [&quot;www.example.com&quot;,example.com&quot;],
&quot;dsn&quot; : &quot;DBI:mysql:www_example_com&quot;,
&quot;dbuser&quot; : &quot;webgui&quot;,
&quot;dbpass&quot; : &quot;password&quot;,
&quot;uploadsPath&quot; : &quot;/data/domains/www.example.com/public/uploads&quot;,
&quot;spectreSubnets&quot; : [&quot;127.0.0.1/32&quot;, &quot;123.123.123.123/32&quot;],
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Start up Spectre:

&lt;blockquote&gt;&lt;pre&gt;
cd /data/WebGUI/sbin
perl spectre.pl --daemon
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Restart the web server:

&lt;blockquote&gt;&lt;pre&gt;
/etc/init.d/apache2 restart
&lt;/pre&gt;&lt;/blockquote&gt;

&lt;p&gt;Browse to www.example.com and get started!

&lt;p&gt;If you would like a pre-configured WebGUI server capable of running on VMWare let me 
know.  I can even host Virtual Sessions.</description>
  </item>
  <item>
    <title>VMWare Datastore Browser</title>
    <link>http://www.oneunified.net/blog/2009/05/26#DatastoreBrowser</link>
    <description>
&lt;p&gt;I'm sure the VMWare people have hidden this on purpose... just so you think you are forced into 
installing command line utilities or buying licensing for their management products.

&lt;p&gt;Anyway, I have a couple of ESXi 3.5 U4 servers installed.  I created a Virtual Machine on one server, then 
used the SSH scp command to copy the Virtual Machine from one host to the other.  That is all well and good, but 
how do you get it to show in inventory?

&lt;p&gt;The answer to that is to run the VMWare Infrastructure Client.  That is no problem.  The trick is to click on 
the Summary tab while in Inventory mode, and right click on the datastore.  One can then browse the datastore.  
And one can right click on a .vmx file to register the Virtual Machine in Inventory.  That same menu allows one 
to upload and download images from a local computer.

&lt;p&gt;I think it would have been more intuitively obvious to have the datastore(s) listed in the left hand tree, 
but I guess that would make too much sense.

&lt;p&gt;Some random notes on ESXi 3.5 U4:

&lt;ul&gt;
  &lt;li&gt;One needs to purchase at least the foundation license in order to get the remote command line tools to 
work
  &lt;li&gt;When in the ESXi console, one can use vmkfstools to create and resize virtual drives.  The GUI does not 
allow the 'thin' command, but the vmkfstools command does.  'thin' is the ability to indicate what the overall 
size is, but not to preallocate all the space necessary all at once.
  &lt;li&gt;When using an Asterisk based server in VMWare, allocate at least 500MHz to the server in order to maintain 
non slipping time.  More 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1006427&quot; onMouseOver=&quot;window.status='to kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1006427'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;VMWare Timekeeping Best Practices&lt;/a&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://www.veeam.com/vmware-esxi-fastscp.html&quot; onMouseOver=&quot;window.status='to www.veeam.com/vmware-esxi-fastscp.html'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;Veeam FastSCP&lt;/a&gt;: Veeam FastSCP- 
VMware ESX/ESXi managment tool
FastSCP provides a fast, secure and easy way to manage files and bulk copy VMs across your VMware ESX 
environment.
  &lt;/ul&gt;</description>
  </item>
  <item>
    <title>VMWare on HP DL360 G6</title>
    <link>http://www.oneunified.net/blog/2009/05/24#HPVMWare</link>
    <description>
&lt;p&gt;I recently acquired a couple of decently configured HP DL360 G6 servers.  Each boots VMWare directly from an
embedded USB Token.  Now that is a server that works right out of the box.  And it did.

&lt;p&gt;It is an excellent ability to be able to use HP's management tools to view the console remotely.  I've not 
laid hands on the server, but I have almost complete visibility into the unit.  There are about 20 different 
temperature sensors, I can monitor and cap power usage, evaluate processor utilization, and much more.  Remote 
access to CDRoms is also available through a virtual media Java mechanism.  I'm using that now to upgrade to U4 
of ESXi.

&lt;p&gt;HP has their own special image and after a bunch of searching, I found it at 
&lt;a href=&quot;http://www.oneunified.net/blog?redirectURL=http://h20392.www2.hp.com/portal/swdepot/index.do&quot; onMouseOver=&quot;window.status='to h20392.www2.hp.com/portal/swdepot/index.do'; return true;&quot; onMouseOut=&quot;window.status=''; return true;&quot; target=_blank&gt;Software Depot Home&lt;/a&gt;.

&lt;p&gt;I had tried the U4 version from VMWare's site, but it wouldn't install itself in the correct spot.  That is 
when I figured that HP must have a special version.  Don't try to install HP's v8.20 of management tools either.  
They are frought with installation problems.</description>
  </item>
  </channel>
</rss>