Just read an article on expect-lite in Linux Format – might be just the thing for automating the command line ESXi stuff I looked at – given that i normally SSH to the box, then try to remember the commands, and basically do one of a few very predictable things.

SSH to ESXi   vim-cmd vmsvc/getallvms vim-cmd vmsvc/power.getstate <vmid> vim-cmd vmsvc/power.on <vmid> or vim-cmd vmsvc/power.shutdown <vmid> and if that doesn’t work (e.g. not VMware tools) then vim-cmd vmsvc/power.off <vmid>   You need to have enabled ESXi Shell and SSH server (config, software, Security Profile properties) 

Bought a second stick of 8G RAM     Corsair CMX8GX3M1A1333C9 8GB 1333MHz XMS Memory CL9 DDR3 Single Module    Was v. disapointed when the system did not report any more RAM inside.  Boo Hoo. As usual scanned the web, and found This Link  Sure enough, power cycling a few times (needed to actually pull the plug out) […]

Reports from the family that MythTV wasn’t working (along with the usual pleas for ‘why can’t we have Sky ?) It was stuck at the ‘please choose your country’, then the first page of mythtv setup. I fairly quickly established that the problem was mysql, but this is a bit of a black art to […]

Final stage: Testing the proxy it had stopped working – presumably DG furtling somehow.  Changed the browser proxy port to 8080.  Remembered at this stage to go in and remove the ‘UNCONFIGURED’ from the DG config file. Now the scary bit.  In DG Webmin module choose the “Set up lists and configs for multiple filter […]

At this point I decided I needed to install webmin so I followed this link When I had it working (can log in with the normal user which you set up and use to ‘sudo’) I checked the ‘squid’ module, which I think was included.  Needed to change a few things in it – certainly […]

So now I have a server I can SSH to with a static IP address.  Rather than jump right in and install DG again I wanted to get Squid working with authentication as that was where I got stuck last time. I followed SQUID with Auth The most obvious thing that needed changing in a […]