If you are in the virtualization business you’ll probably know that since the release of vSphere back in 2009 the web access the ESX servers has been disabled by default. I really never minded about this, I still have nightmares with the awful and useless web interface of the ESX3, and to be sincere who needs a web access when you have SSH access, PowerCLI and the almighty vSphere Client.
But recently I found myself only with a Linux machine and no remote access to the vCenter Server. With a so limited range of resources I decided to try the web access but I had to enable it.
The first step is to log into the host via SSH. Once you are inside the ESX and from a root shell execute the following command to start the service.
Now you can point your web browser to http://esx_ip_address/ui and login as root, you will note that the interface is pretty much the same as in VMware Server 2.0.
After that I wanted to make the change permanent and like in any normal RedHat Linux server I issued the classic
I thought that everything was done, nothing so far from the reality, after a reboot of the server the Web Access was gone.
At that point I no longer needed to access the ESX through the web so I did not spent more time with this; but later with one of my ESX servers at home I finally found how to permanently enable the Web Access.
From the vSphere Client go to the configuration tab of the ESX host and edit the Security Profile from the Software area. The pop-up window will show a list of services, look for the web access and check it.
If you now change to a SSH session and ask for the status of the service, will see the service started and enabled.
Reboot the server, if you can of course ;-), and you’ll see that the changes are permanent.