Use the following steps to upgrade your ESXi version to the latest version without download patches first! We are going to use Putty to talk against the command line 🙂
First step, put your ESXi server into maintenance mode :
|
1 |
vim-cmd /hostsvc/maintenance_mode_enter |
Now we are going to check the profile version we are running
|
1 |
esxcli software profile get |

Or check the build version using the UI:

Now enable the host firewall rule to allow web traffic
|
1 |
esxcli network firewall ruleset set -e true -r httpClient |
Run the following command to list the online depot profiles available :
|
1 |
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml |

When you run into an error using the above command. Check your DNS and Gateway settings. ESXi needs to resolve some information using the internet!
Now let’s install the appropriate update, in my case I found out that I’m currently running 20170601001s. In your situation that can be different!
You can see what version you’re running using the previous command :

|
1 |
esxcli software profile update -p ESXi-6.0.0-20170601001s-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml |

Ok, let’s reboot!
|
1 |
Reboot |
After installation I noticed the latest build :

Now set the firewall rule to the previous setting :
|
1 |
esxcli network firewall ruleset set -e false -r httpClient |
Final step exit maintenance mode :
|
1 |
vimsh -n -e /hostsvc/maintenance_mode_exit |