Skip to main content


VMWare ESXi 6.5 HP Custom Image Upgrade to v6.5U3

I had been escaping the Unhandled Exception error every time I log into my ESXi standalone server running v6.5 on N54L and can't be upgraded to v6.7 due to process compatibility. I have finally found the HP Custom image updated to v6.5U3 which appeared to have the fix built into it. It was quite straightforward update using the l latest 6.5 HP image so as habit I am making notes here for myself and everyone else who may find it useful. First of all I downloaded HP Custom v6.5U3 image  by selecting Offline Bundle. I then placed it in my datastore e.g. ds001. Once copied I ran following command line after I was connected to ESXi using ssh. # esxcli software vib update -d /vmfs/volumes/ds001/ This command took few seconds or may be minutes but confirmed that updates have been installed and will take effect after reboot. So I rebooted the host and it worked like magic. # reboot I did not place host in main
Recent posts

Linux within Windows 10 (bash instead of cmd)

Linux within Windows 10 Whether you are a Linux/ Unix user, don't find Windows friendly or want to run simple clever stuff in bash shell that Windows shell simply cannot handle, you'll love it. Windows 10 has built in Windows subsystem for Linux delivering native support for Linux features. This is not a virtual machine running in any hypervisor program, no Hyper-V, VMWare Workstation or Oracle Virtualbox required. Because it works natively you also have access to windows drives and directories which is very useful if you want to run any scripts or even grep or awk type commands on files in your windows directories. So how do you do it? It is very simple and here are the steps you have to carry out. Press Windows+R and enter " OptionalFeatures " in Open box and click OK to run. From Windows Features form select "Windows Subsystem for Linux" and hit OK. Wait for it to find required files and complete installation. Select Restart and wait for it

CoVid-19 Statistics and Charts

Statistics based on some specific metrics are listed below. The data is based on daily information from Worldometer and updated manually. Charts will update automatically. Please use links below to get to individual charts and feel free to bookmark this page but do not bookmark direct chart link as it may change. These charts compare statistics for countries including China, Italy, UK, US, Pakistan & India. (Does not work in Safari Mobile) Please click on links below for specific chart, more to come. Death Doubling Rate Chart showing death rate doubling in x number of days. Survival Rate This chart shows trend of patients successfully recovered vs total closed cases. Death rate comparison Comparison of deaths per cases every day showing trend comparison and days behind. Cases reported No of cases reported, how far they are behind each other and trend. Deaths reported No of deaths reported with trend comparison betwee

Starting with Python

New to Python, don't feel behind and get started now, it is never too late. Here we have some useful links you will need to get you going. Install Python 3 # sudo apt-get install python3 Change Default binary from v2.x to v3.x sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 Install Jupyterlab #pip install jupyterlab

TrueCrypt on macOS X Mojave 10.14

If you have updated your macOS recently to Mojave otherwise known as verison 10.14 you may not be able to install the last version of Truecrypt in order to access your old volumes encrypted with Truecrypt software. This article will guide you to get this working on your MacOS v10.14 (Mjoave) . Download the package from  or . Find downloaded package using Finder in your HDD/Users/username/Downloads folder and will look like  TrueCrypt 7.1a Mac OS X.dmg . Open file location in Finder and open or double click on  TrueCrypt 7.1a Mac OS X.dmg . This will mount Truecrypt 7.1a and will have Truecrypt 7.1a.mpkg in it. Drag the package T rueCrypt 7.1a.mpkg and drop in your Downloads folder. From Locations in Finder you can eject your TrueCrypt mount. Now go to your Downloads location, find the file  TrueCrypt 7.1a.mpkg , right click and select Show Package Contents . Find the file Contents/distribution.di

Bash script and characters that require to be escaped

There are few ASCII characters that need to be escaped when using in certain bash scripts especially when echoing or passing value through variables. What are those characters can be determined using the small bash script below. #!/bin/bash special=$' 0123456789\'-–—!"#$%&()*,./:;?@[\]^_`{|}~¡¦¨¯´¸¿‘’‚“”„¢£¤¥€+<=>±«»×÷§©¬®°µ¶·…†‡•‰¼½¾¹²³AaªÁáÀàÂâÄäÃãÅåÆæBbCcÇçDdÐðEeÉéÈèÊêËëFfƒGgHhIiÍíÌìÎîÏïJjKkLlMmNnÑñOoºÓóÒòÔôÖöÕõØøŒœPpQqRrSsŠšßTtÞþ™UuÚúÙùÛûÜüVvWwXxYyÝýÿŸZz ' for ((i=0; i < ${#special}; i++)); do     char="${special:i:1}"     printf -v q_char '%q' "$char"     if [[ "$char" != "$q_char" ]]; then         printf 'Yes - character %s needs to be escaped\n' "$char"     else         printf 'No - character %s does not need to be escaped\n' "$char"     fi done | sort The output of above script will list characters that need escaping and looks like below. [ me@mysys

Setting up SSH authentication between two linux/unix/macos hosts - quick reference

You have two hosts that you want to set up password-less access between local to remote system. This can be easily scripted and all commands are run from local system using ssh into remote system starting with password but at the end of these commands you will have password-less authentication set up. Tasks on Source System: (Note that  For ESXi 5.x, 6.0, 6.5 and 6.7, the authorized_keys is located at: /etc/ssh/keys-<username>/authorized_keys) ssh-keygen -t rsa ssh remoteuser@remotehost mkdir -p .ssh cat .ssh/ | ssh remoteuser@remotehost 'cat >> .ssh/authorized_keys' ssh remoteuser@remotehost "chmod 700 .ssh; chmod 640 .ssh/authorized_keys" ssh remoteuser@remotehost For two ASW instances we could do following. Call the two systems control and managed, where control machine is your source and managed is remote or target. Log into Control machine and perform following. ssh -i "PRIVATE-KEY.pem" ec2-user@ec2-1-2-3-4.e