<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Fri, 24 Jul 2015 18:59:00 +0100</lastBuildDate><item><title>Running Cisco ISE (1.4) in VirtualBox</title><link>https://www.linickx.com/running-cisco-ise-14-in-virtualbox</link><description>&lt;p&gt;I've been meaning to do this for a while, but I've finally &lt;em&gt;hacked&lt;/em&gt; &lt;a href="http://www.cisco.com/go/ise"&gt;Cisco ISE&lt;/a&gt; into VirtualBox for home lab learning and experimentation.  &lt;/p&gt;
&lt;p&gt;For those familiar with my &lt;a href="https://www.linickx.com/cisco-acs-5-1-in-virtualbox"&gt;ACS in VirtualBox post&lt;/a&gt; you should notice a very similar theme.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Copy the .iso to a Web server directory that allows page indexing&lt;/li&gt;
&lt;li&gt;Hack the KickStart file (ks.cfg) to remove Cisco's hardware checks&lt;/li&gt;
&lt;li&gt;Boot the install CD using the custom ks.cfg&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As before, I use the web installation method because it's the easiest way to hack/test/boot multiple times when you're trying to work out why the installer doesn't run... Also ** I will not be providing you an ISO file to download. **&lt;/p&gt;
&lt;h2&gt;Web Server Configuration (nginx)&lt;/h2&gt;
&lt;p&gt;First, I mounted  &lt;code&gt;ise-1.4.0.253.x86_64.iso&lt;/code&gt; and copied the whole CD to &lt;code&gt;~/public_html/ise&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Next, I need to expose this directory to the web server. I'm using &lt;a href="http://nginx.org"&gt;nginx&lt;/a&gt; on &lt;a href="https://www.centos.org"&gt;CentOS&lt;/a&gt;... it's nice and easy, I added this to my config.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;location /ise {
    root /home/nick/public_html/;
    autoindex on;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Replace ks.cfg&lt;/h2&gt;
&lt;p&gt;When you copy the contents of the CD to the local file system you'll notice all files have the RO flag set. Fix with &lt;code&gt;chmod +w ~/public_html/ise/ks.cfg&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;There are a few things in the file you need to change:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Replace &lt;code&gt;cdrom&lt;/code&gt; on line 10 with &lt;code&gt;url --url http://192.168.10.122/ise/&lt;/code&gt; (&lt;em&gt;replace 192.168.10.122 with the IP of your web server&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Optional, replace the encrypted root password with a new one &lt;code&gt;rootpw CISCO_ise_p455w0rd&lt;/code&gt; on line 12&lt;/li&gt;
&lt;li&gt;Comment out with a &lt;code&gt;#&lt;/code&gt; any &lt;code&gt;/sbin/halt -f&lt;/code&gt; statements to stop error messages from halting the installation&lt;/li&gt;
&lt;li&gt;Replace any &lt;code&gt;cars_udi_util&lt;/code&gt; statements with your own versions, so...&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;UDI_PID=`/sbin/cars_udi_util -p`
UDI_VID=`/sbin/cars_udi_util -v`
UDI_SN=`/sbin/cars_udi_util -s`
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;becomes...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;UDI_PID=&amp;quot;Cisco-VM-SPID&amp;quot;
UDI_VID=&amp;quot;1.0&amp;quot;
UDI_SN=&amp;quot;123456789&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;... and just for good measure, after &lt;code&gt;validate_hwinfo(){&lt;/code&gt; insert (&lt;em&gt;on a new line&lt;/em&gt;) &lt;code&gt;UDI_PID="Cisco-VM-SPID"&lt;/code&gt; to force hardware selection.&lt;/p&gt;
&lt;p&gt;If you want, you can ignore all of that and just use &lt;a href="/files/2015/07/ks.cfg_ise.txt"&gt;my ks.cfg&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;VirtualBox Configuration&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;CPU - 4 &lt;/li&gt;
&lt;li&gt;RAM - 8Gb&lt;/li&gt;
&lt;li&gt;Hard Disk - SCSI - 100Gb (&lt;em&gt;thin space allocation&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;CDRom - &lt;code&gt;ise-1.4.0.253.x86_64.iso&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;NIC 1 - Bridged&lt;/li&gt;
&lt;li&gt;NIC 2 - Host Only (&lt;em&gt;disconnected&lt;/em&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All other defaults left alone.&lt;/p&gt;
&lt;h2&gt;Boot the custom install&lt;/h2&gt;
&lt;p&gt;Boot the virtual machine from the Cisco ISO, but &lt;strong&gt;DO NOT&lt;/strong&gt; select 1,2,3 or 4. Instead type:  &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;vmlinuz text ks=http://192.168.10.122/ise/ks.cfg initrd=initrd.img
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;...replacing 192.168.10.122 with your web server IP.&lt;/p&gt;
&lt;p&gt;&lt;a href="/files/2015/07/Custom_ISE_Boot.png"&gt;&lt;img src="/files/2015/07/Custom_ISE_Boot-150x150.png" alt="custom ise boot"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Wait, See, Enjoy!&lt;/h2&gt;
&lt;p&gt;With a little luck, the VM will load your custom KickStart file and begin the install. &lt;/p&gt;
&lt;p&gt;If you tail your web server access logs, you should see stuff like:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;192.168.10.116 - - [30/Jun/2015:18:50:49 +0100] &amp;quot;GET /ise/Packages/CARSCmdSched-2.0cars-1.x86_64.rpm HTTP/1.1&amp;quot; 200 28353 &amp;quot;-&amp;quot; &amp;quot;Cisco Identity Services Engine (anaconda)/1.3&amp;quot; &amp;quot;-&amp;quot;
192.168.10.116 - - [30/Jun/2015:18:50:49 +0100] &amp;quot;GET /ise/Packages/CARSICMPUtil-2.0cars-1.x86_64.rpm HTTP/1.1&amp;quot; 200 11425 &amp;quot;-&amp;quot; &amp;quot;Cisco Identity Services Engine (anaconda)/1.3&amp;quot; &amp;quot;-&amp;quot;
192.168.10.116 - - [30/Jun/2015:18:50:49 +0100] &amp;quot;GET /ise/Packages/CARSSysMon-2.0cars-1.x86_64.rpm HTTP/1.1&amp;quot; 200 34919 &amp;quot;-&amp;quot; &amp;quot;Cisco Identity Services Engine (anaconda)/1.3&amp;quot; &amp;quot;-&amp;quot;
192.168.10.116 - - [30/Jun/2015:18:50:49 +0100] &amp;quot;GET /ise/Packages/libdrm-2.4.39-1.el6.x86_64.rpm HTTP/1.1&amp;quot; 200 119408 &amp;quot;-&amp;quot; &amp;quot;Cisco Identity Services Engine (anaconda)/1.3&amp;quot; &amp;quot;-&amp;quot;
192.168.10.116 - - [30/Jun/2015:18:50:49 +0100] &amp;quot;GET /ise/Packages/plymouth-0.8.3-27.el6.centos.x86_64.rpm HTTP/1.1&amp;quot; 200 91056 &amp;quot;-&amp;quot; &amp;quot;Cisco Identity Services Engine (anaconda)/1.3&amp;quot; &amp;quot;-&amp;quot;
192.168.10.116 - - [30/Jun/2015:18:50:50 +0100] &amp;quot;GET /ise/Packages/rsyslog-5.8.10-6.el6.x86_64.rpm HTTP/1.1&amp;quot; 200 663780 &amp;quot;-&amp;quot; &amp;quot;Cisco Identity Services Engine (anaconda)/1.3&amp;quot; &amp;quot;-&amp;quot;
192.168.10.116 - - [30/Jun/2015:18:50:50 +0100] &amp;quot;GET /ise/Packages/cronie-anacron-1.4.4-7.el6.x86_64.rpm HTTP/1.1&amp;quot; 200 29768 &amp;quot;-&amp;quot; &amp;quot;Cisco Identity Services Engine (anaconda)/1.3&amp;quot; &amp;quot;-&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;a href="/files/2015/07/ISE_Instaling.png"&gt;&lt;img src="/files/2015/07/ISE_Instaling-150x150.png" alt="installing"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At the end of the install the VM should reboot into the &lt;em&gt;normal&lt;/em&gt; setup login screen allowing you to complete the &lt;a href="http://www.cisco.com/c/en/us/td/docs/security/ise/1-4/installation_guide/b_ise_InstallationGuide14/b_ise_InstallationGuide14_chapter_011.html#ID-1415-000000c9"&gt;setup parameters&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The setup will take ages, well over the 15/20mins that Cisco suggest but once it completes and reboots you should find you have a working ISE to play with.  &lt;/p&gt;
&lt;p&gt;... &lt;em&gt;well, for 90days until the eval lic runs out!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/files/2015/07/ISE_1_4_Running_in_VirtualBox.png"&gt;&lt;img src="/files/2015/07/ISE_1_4_Running_in_VirtualBox.png" alt="ISE 1.4 running in VirtualBox"&gt;&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Bettison</dc:creator><pubDate>Fri, 24 Jul 2015 18:59:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2015-07-24:running-cisco-ise-14-in-virtualbox</guid><category>Cisco</category><category>ISE</category><category>Security</category><category>VirtualBox</category></item><item><title>RTFM: Aero in Virtualbox</title><link>https://www.linickx.com/rtfm-aero-in-virtualbox</link><description>&lt;p&gt;Yes there are loads of "how to enable Aero in Virtualbox" posts out
there, but they are all long too long ;)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install VirtualBox &amp;gt; 4.1&lt;/li&gt;
&lt;li&gt;Install Windows 7&lt;/li&gt;
&lt;li&gt;Install Guest Additions&lt;ul&gt;
&lt;li&gt;DURING the install, manually select 3D Support&lt;/li&gt;
&lt;li&gt;Select Yes WDDM video driver&lt;/li&gt;
&lt;li&gt;Ignore the warning about safe mode and continue&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Reboot&lt;/li&gt;
&lt;li&gt;In Control Panel, Personalise re-select the Window7 Default Aero
    Theme.&lt;/li&gt;
&lt;li&gt;Done&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;References:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.virtualbox.org/manual/ch04.html#guestadd-video"&gt;http://www.virtualbox.org/manual/ch04.html#guestadd-video&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.howtogeek.com/75417/ask-htg-enabling-aero-in-virtualbox-raid-array-disk-overhead-and-raw-processing-without-photoshop/"&gt;http://www.howtogeek.com/75417/ask-htg-enabling-aero-in-virtualbox-raid-array-disk-overhead-and-raw-processing-without-photoshop/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 08 Mar 2012 07:48:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2012-03-08:rtfm-aero-in-virtualbox</guid><category>virtualbox</category><category>Windows</category></item><item><title>F5 BigIP LTM VE works in Virtual Box</title><link>https://www.linickx.com/f5-bigip-ltm-ve-works-in-virtual-box</link><description>&lt;style type='text/css'&gt;
  #gallery-1 {
    margin: auto;
  }
  #gallery-1 .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 50%;
  }
  #gallery-1 img {
    border: 2px solid #cfcfcf;
  }
  #gallery-1 .gallery-caption {
    margin-left: 0;
  }
  /* see gallery_shortcode() in wp-includes/media.php */
&lt;/style&gt;
&lt;div id='gallery-1' class='gallery galleryid-3340 gallery-columns-2 gallery-size-thumbnail'&gt;&lt;dl class='gallery-item'&gt;
  &lt;dt class='gallery-icon landscape'&gt;
    &lt;a onclick="javascript:pageTracker._trackPageview('/downloads/files/2011/07/BIGIP-10.1.0.3341.1084-VirtualBox.png');"  href='https://www.linickx.com/files/2011/07/BIGIP-10.1.0.3341.1084-VirtualBox.png' rel="lightbox[3340]"&gt;&lt;img src="https://www.linickx.com/files/2011/07/BIGIP-10.1.0.3341.1084-VirtualBox-150x150.png" class="attachment-thumbnail" alt="BIGIP-10.1.0.3341.1084 VirtualBox" /&gt;&lt;/a&gt;
  &lt;/dt&gt;&lt;/dl&gt;&lt;dl class='gallery-item'&gt;
  &lt;dt class='gallery-icon landscape'&gt;
    &lt;a onclick="javascript:pageTracker._trackPageview('/downloads/files/2011/07/F5-LTM-VE-Virtualbox-Settings.png');"  href='https://www.linickx.com/files/2011/07/F5-LTM-VE-Virtualbox-Settings.png' rel="lightbox[3340]"&gt;&lt;img src="https://www.linickx.com/files/2011/07/F5-LTM-VE-Virtualbox-Settings-150x150.png" class="attachment-thumbnail" alt="F5 LTM VE Virtualbox Settings" /&gt;&lt;/a&gt;
  &lt;/dt&gt;&lt;/dl&gt;&lt;br style="clear: both" /&gt;
&lt;/div&gt;

&lt;p&gt;Something I discovered &lt;em&gt;ages ago&lt;/em&gt; (&lt;em&gt;so long ago that my trial license
expired&lt;/em&gt;) but forgot to post is that you can get an &lt;a href="http://www.f5.com/products/big-ip/local-traffic-manager-virtual-edition.html" title="F5 LTM VE Product Page"&gt;LTM
VE&lt;/a&gt;
to work in Virtual Box.&lt;/p&gt;
&lt;p&gt;To get started download the ESX image from the &lt;a href="https://www.f5.com/trial/big-ip-ltm-virtual-edition.php"&gt;F5 VE Trial
Page&lt;/a&gt;, when you
get the download import the OVA into virtualbox.&lt;/p&gt;
&lt;p&gt;The only thing I needed to tweak after the import was the interface
settings, you need two intels and a PCNet, the PCNet is the management
interface. Set the PCNet to host only networking, give your laptop/pc an
ip address on the host only network a 192.168.1 address and you're good
to go!&lt;/p&gt;
&lt;p&gt;You may experience HIGH CPU issues after boot, but since these boxes are
based on linux, you can use &lt;a href="http://steve-brown.id.au/linux/centos-5-in-virtualbox-high-cpu-usage.html"&gt;the divider=10 centos
trick&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Enjoy your virtual load balancing!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 26 Jul 2011 08:09:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-07-26:f5-bigip-ltm-ve-works-in-virtual-box</guid><category>bigip</category><category>f5</category><category>Linux</category><category>ltm</category><category>mac</category><category>ve</category><category>virtualbox</category></item><item><title>Cisco ACS 5.2 works in VirtualBox</title><link>https://www.linickx.com/cisco-acs-5-2-works-in-virtualbox</link><description>&lt;p&gt;My &lt;a href="https://www.linickx.com/archives/2961/cisco-acs-5-1-in-virtualbox" title="Cisco ACS 5.1 in VirtualBox"&gt;how to get ACS 5.1  running in
VirtualBox&lt;/a&gt;
is one of my more popular posts; recently I was asked if 5.2 would work,
the answer is yes!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/files/2011/03/ACS_5-2_inVirtualBox.png"&gt;&lt;img alt="" src="https://www.linickx.com/files/2011/03/ACS_5-2_inVirtualBox-300x187.png" title="Cisco ACS 5.2 in VirtualBox" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I've posted an updated
&lt;a href="https://www.linickx.com/files/2011/03/ks.cfg_.txt" title="Kick Start file for ACS 5.2"&gt;ks.cfg&lt;/a&gt;
... if you compare it to &lt;a href="https://www.linickx.com/files/2010/03/ks.cfg_.txt" title="Kickstart File for ACS 5.1"&gt;the old
one&lt;/a&gt;
the only real difference is an updated set of version numbers, all the
other instructions are exactly the same....well, except now &lt;a href="http://vault.centos.org/4.7/isos/i386/"&gt;centos 4.7
can be found in the vault&lt;/a&gt; :)&lt;/p&gt;
&lt;p&gt;Next I plan to see if I can make this work in EC2 as I recon a cloud
based ACS server would be pretty cool, wish me luck and enjoy the 5.2
goodness!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 02 Mar 2011 18:33:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-03-02:cisco-acs-5-2-works-in-virtualbox</guid><category>acs</category><category>Cisco</category><category>Screenshot</category><category>Security</category><category>virtualbox</category></item><item><title>Lowing VirtualBox priorities</title><link>https://www.linickx.com/lowing-virtualbox-priorities</link><description>&lt;p&gt;One of the things &lt;a href="http://forums.virtualbox.org/viewtopic.php?f=9&amp;amp;t=34341"&gt;I'd really
like&lt;/a&gt; is process
priorities for virtual box. In the forum I posted a couple of shell
commands that I regularly type... which gets a bit tedious, following a
recent article on lifehacker &lt;a href="http://lifehacker.com/#!5749631/the-mac-text-expansion-face-off"&gt;reviewing mac text
expanding&lt;/a&gt;
I've been prompted to automate a few things... below is a little shell
script to lower the priority (&lt;em&gt;renice&lt;/em&gt;) of all running virtual machines.&lt;/p&gt;
&lt;p&gt;The advantage of doing this is that your host machine stays snappy,
responsive and won't get too over-loaded by jobs on your VMs!&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#!/bin.bash
ps -xo pid,command | grep -v grep | grep startvm | while read line ;
do
        procID=`echo $line | awk '{print $1}'`
        sudo renice +10 -p $procID
done
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The above code works on a mac; although I haven't tested it, I recon to
get it running on Linux you need to update the PS command, by swapping
the x for an e... like this....&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#!/bin.bash
ps -eo pid,command | grep -v grep | grep startvm | while read line ;
do
        procID=`echo $line | awk '{print $1}'`
        sudo renice +10 -p $procID
done
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Have fun, suggestions and improvements welcome.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 14 Feb 2011 17:30:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-02-14:lowing-virtualbox-priorities</guid><category>automation</category><category>bash</category><category>Blog</category><category>Linux</category><category>mac</category><category>virtualbox</category></item><item><title>Cisco ACS 5.1 in VirtualBox</title><link>https://www.linickx.com/cisco-acs-5-1-in-virtualbox</link><description>&lt;p&gt;After much swearing and hackerizing I'm happy to post a screenshot of
&lt;a href="http://www.cisco.com/go/acs"&gt;Cisco's ACS&lt;/a&gt; running in
&lt;a href="http://www.virtualbox.org"&gt;VirtualBox&lt;/a&gt; :)&lt;/p&gt;
&lt;p&gt;Before I explain what I've done, a quick message for "the stupids"&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;No I won't post a virtual machine for you to download&lt;br /&gt;
 Buy a license or an appliance&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The rest of this post is a run though of what I did, if you get bored
easily skip to &lt;a href="#sum"&gt;the summary&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/files/2010/03/VirtualBox-ACS-5.1-1024x639.png"&gt;&lt;img alt="" src="https://www.linickx.com/files/2010/03/VirtualBox-ACS-5.1-150x150.png" title="VirtualBox ACS 5.1" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The story is I've got a customer who wants dot1x with ACS5 and I need a
box to play with before breaking their network; having read through the
docs on cisco.com I noticed that vmware was a supported platform for
evaluation, as awesome as that is, carrying around an ESXi server isn't
as convenient as you'd think so I boldly dropped the CD into my
VirtualBox and booted to see what happened.... if only it was that
simple!!!!!&lt;/p&gt;
&lt;p&gt;As expected the installer crapped out early on complaining that
VirtualBox is not a valid hardware configuration, so I decided to have a
poke around the ISO image and had a moment of realisation.. THANK YOU
CISCO FOR CHOOSING &lt;a href="http://centos.org/"&gt;CENTOS&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;Cisco choosing an open-source installation mechanism means that with a
bit of googling I could customise the install process to work in
VirtualBox.... sweeet!&lt;/p&gt;
&lt;p&gt;To get started I followed &lt;a href="http://cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.1/installation/guide/acs5_1_install_guide.html"&gt;the install
guide&lt;/a&gt;
to build a VirtualBox appliance that resembled the supported vmware
machine, some things to note:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The disk is on a SCSI controller&lt;/li&gt;
&lt;li&gt;The processor is PAE&lt;/li&gt;
&lt;li&gt;You need a serial port enabled&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is a summary of my VirtualBox configuration...&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/files/2010/03/VirtualBox-ACS-Config-1024x782.png"&gt;&lt;img alt="" src="https://www.linickx.com/files/2010/03/VirtualBox-ACS-Config-150x150.png" title="VirtualBox ACS Config Summary" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;General&lt;ul&gt;
&lt;li&gt;Name: Cisco ACS 5&lt;/li&gt;
&lt;li&gt;OS Type: Red Hat&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;System&lt;ul&gt;
&lt;li&gt;Base Memory: 1024 MB&lt;/li&gt;
&lt;li&gt;Processor(s):1&lt;/li&gt;
&lt;li&gt;Boot Order:Floppy, CD/DVD-ROM, Hard Disk&lt;/li&gt;
&lt;li&gt;VT-x/AMD-V:Enabled&lt;/li&gt;
&lt;li&gt;Nested Paging:Enabled&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;￼Display&lt;ul&gt;
&lt;li&gt;Video Memory:12 MB&lt;/li&gt;
&lt;li&gt;3D Acceleration:Disabled&lt;/li&gt;
&lt;li&gt;2D Video Acceleration:Disabled&lt;/li&gt;
&lt;li&gt;Remote Display Server:Disabled&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;￼Storage&lt;ul&gt;
&lt;li&gt;IDE Controller&lt;br /&gt;
    IDE Primary Master (CD/DVD):Empty&lt;/li&gt;
&lt;li&gt;Floppy Controller&lt;br /&gt;
    Floppy Device 0:Empty&lt;/li&gt;
&lt;li&gt;SCSI Controller&lt;br /&gt;
    SCSI Port 0:CiscoACS.vdi (Normal, 65.00 GB)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Misc&lt;ul&gt;
&lt;li&gt;Audio&lt;br /&gt;
    Disabled&lt;/li&gt;
&lt;li&gt;Network&lt;br /&gt;
    Adapter 1:PCnet-FAST III (Host-only adapter, 'vboxnet0')&lt;/li&gt;
&lt;li&gt;Serial Ports&lt;br /&gt;
    Port 1:COM1, Disconnected&lt;/li&gt;
&lt;li&gt;USB&lt;br /&gt;
    Disabled&lt;/li&gt;
&lt;li&gt;Shared Folders&lt;br /&gt;
    None&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you're hoping to follow my process, I assume you've already
&lt;a href="http://www.cisco.com/cisco/web/download/index.html"&gt;downloaded from
cisco&lt;/a&gt; a copy of the
&lt;strong&gt;ACS_v5.1.0.44.iso&lt;/strong&gt; and sorted an &lt;a href="http://www.cisco.com/go/license"&gt;eval
license&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Looking at the contents of the CD I could see that the KickStart file
was rejecting my hardware configuration. In my early attempts I edited
ks.cfg removing everything between &lt;code&gt;%pre&lt;/code&gt; and &lt;code&gt;%post&lt;/code&gt; removed the line
that said &lt;code&gt;%include&lt;/code&gt; and rebuilt the ISO; this had limited success, I
could boot further on my new ISO but found that anaconda crapped out as
it was unable to find the CD from which it booted ... Very Odd!&lt;/p&gt;
&lt;p&gt;Messing with the kickstart file and having to rebuild the ISO each time
got boring very quickly, especially since it wouldn't boot into anaconda
stage two. I decided to move to a network based installed, I setup a web
server on my laptop, downloaded
&lt;strong&gt;&lt;a href="http://vault.centos.org/4.7/isos/i386/CentOS-4.7-i386-bin1of4.iso"&gt;CentOS-4.7-i386-bin1of4.iso&lt;/a&gt;&lt;/strong&gt;
and booted my guest from that using &lt;code&gt;linux askmethod&lt;/code&gt; at the loader. On
my web server I copied the contents of the ACS CD into a directory
(&lt;em&gt;including &lt;/em&gt;&lt;em&gt;.&lt;/em&gt;&lt;em&gt; hidden files&lt;/em&gt;), during the centos boot I was able to
install "everything" from the ACS directory on web server giving me yet
more limited success (&lt;em&gt;Everything was installed - including the Cisco
packages - but unusable&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;The next step was to get my web installation to read my kickstart file,
the ks.cfg has a load of finalization which looked like it created files
that the cisco packages would need. I had to change the permissions of
the directory to give me write access (&lt;em&gt;CD files copied as RO since the
CD was RO&lt;/em&gt;). So my edited ks.cfg has nothing between &lt;code&gt;%pre&lt;/code&gt; &amp;amp; &lt;code&gt;%post&lt;/code&gt;
plus the &lt;code&gt;%include&lt;/code&gt; line deleted, the result had massive drawback, I'd
inadvertently removed the disk layout; I have since concluded that my
earlier attempt with everything installed but broke also had issues due
to incorrect filesystem partitions.&lt;/p&gt;
&lt;p&gt;To put the filesystem layout back into the kickstart file I inserted the
following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;part / --fstype ext3 --size=100 --grow
part /localdisk --fstype ext3 --size=5120
part /recovery --fstype ext3 --size=1008
part /storedconfig --fstype ext3 --size=981
part /storeddata --fstype ext3 --size=2048
part swap --size=2048
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;To get the Centos Server to now boot from both the kickstart file and
install from my webserver I now have to boot with
&lt;code&gt;linux ks=http://192.168.56.1/~nick/ACS/ks.cfg&lt;/code&gt; (&lt;em&gt;this is instead of
&lt;code&gt;linux askmethod&lt;/code&gt;&lt;/em&gt;) and replace the line that says &lt;code&gt;cdrom&lt;/code&gt; with
&lt;code&gt;url --url http://192.168.56.1/~nick/ACS&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;After all that trial &amp;amp; error I was finally there! I have attached &lt;a href="https://www.linickx.com/files/2010/03/ks.cfg_.txt"&gt;my
ks.cfg&lt;/a&gt; for your
reference and here is a summary of the steps to reproduce.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a name="sum"&gt;Install Summary:&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download ACS&lt;/li&gt;
&lt;li&gt;Download Centos&lt;/li&gt;
&lt;li&gt;Install a web server&lt;/li&gt;
&lt;li&gt;Copy the contents of the ACS CD to your web server (&lt;em&gt;look out for
    .discinfo&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Replace ks.cfg with your edited version (&lt;em&gt;or
    &lt;a href="https://www.linickx.com/files/2010/03/ks.cfg_.txt"&gt;mine&lt;/a&gt;&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Create a virtualbox machine&lt;/li&gt;
&lt;li&gt;Boot the VirtualBox machine from the CentOS CD with linux
    ks=http://URL&lt;/li&gt;
&lt;li&gt;As soon as you see a blue "installer" screen eject the CentOS CD&lt;/li&gt;
&lt;li&gt;Wait&lt;/li&gt;
&lt;li&gt;Done&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;Note: During my playing the anaconda installer crapped out a couple of
times, just starting the process again seemed to fix the issue, some
bottleneck on virtualbox disk accesses could be the problem.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Hope that all makes sense, happy hacking!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 19 Mar 2010 12:07:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-03-19:cisco-acs-5-1-in-virtualbox</guid><category>acs</category><category>Cisco</category><category>Security</category><category>virtualbox</category></item><item><title>MacBook Pro UK Keyboard Layout for Windows</title><link>https://www.linickx.com/macbook-pro-uk-keyboard-layout</link><description>&lt;p&gt;I've imported my windows box into VirtualBox
(&lt;em&gt;&lt;a href="http://www.virtualbox.org/wiki/Migrate_Windows"&gt;howto&lt;/a&gt;&lt;/em&gt;) and noticed
that the keyboard layout is all screwed up.&lt;/p&gt;
&lt;p&gt;My Googling suggests that a
&lt;a href="http://www.miscdebris.net/blog/2009/04/17/apple-keyboard-keymap-german-for-windows-running-as-guest-on-mac-os-x-host-in-virtualbox/"&gt;German&lt;/a&gt;
and &lt;a href="http://www.virtualbox.org/ticket/1871#comment:11"&gt;Swedish&lt;/a&gt;
bloke/bird/person have fixed this issue but no-one in the UK.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/files/2010/01/English-UK-Apple-MacBook-Pro.zip"&gt;Attached is my UK Keyboard
layout&lt;/a&gt;,
also &lt;a href="https://www.linickx.com/files/2010/01/SOURCE-FILE-For-English-UK-Apple-MacBook-Pro-Keyboard-Layout.klc.zip"&gt;the source
file&lt;/a&gt;
so you can use &lt;a href="http://msdn.microsoft.com/en-us/goglobal/bb964665.aspx"&gt;microsoft keyboard layout
creator&lt;/a&gt; to make
your own.&lt;/p&gt;
&lt;p&gt;To use, simply unzip, run setup, and then in your keyboard settings
(&lt;em&gt;control panel&lt;/em&gt;) change to "&lt;strong&gt;English UK - Apple MacBook Pro&lt;/strong&gt;" ... you
may wish to remove the default UK keyboard to avoid confusion.&lt;/p&gt;
&lt;p&gt;This works well for me in VirtualBox, I would expect it to work in
VMWARE / Parallels but I've not tested it, as with everything I do YMMV
:)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 18 Jan 2010 15:28:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-01-18:macbook-pro-uk-keyboard-layout</guid><category>OS X</category><category>virtualbox</category><category>Windows</category></item></channel></rss>