VM OS installation via ISO image in VMware Environment

There are few ways to install Operating System (OS) to the Virtual Machine (VM), one of the popular way is Upload an OS ISO image to the Host Machine and then mount that ISO image as a CD/DVD ROM and install the OS with it. Here is how to mount the ISO image to the VM.


1. After you log in to the VM Host machine via VMware vSphere client, right click the VM you want to install the OS and choose Edit Settings.

2. In the hardware window, click the CD/DVD drive. In the Device Status, make sure Connect at power on is checked. Then select the Datastore ISO File follow by clicking the Browse… button.

3. In the Browse Datastores window, double click the datastore (i.e. localstore).

4. Locate the ISO image and click OK.

5. Once you back to the previous screen, click OK to continue.

6. Highlight the VM and click the Green triangle to Power on the VM.

7. Right click the VM and choose Open Console.

8. The VM should boot from the CD/DVD image and you should be able to continue your OS installation whether it is CentOS or Windows.

Upload OS iso image to VMware Host machine.

If you are planning to install multiple virtual machines (VM) in the physical host with the same operating system (OS), you can save some time by uploading the OS ISO image to the physical host machine. So each time when you need to install or reinstall the OS to a VM, you can mount the OS ISO as a CD/DVD in the VM.

Here is how to upload the ISO image from your local computer to the remote VMware host machine.


1. Log in to your VMware host machine via VMware vSphere client.

2. Highlight the physical host machine name or IP address on the left hand side. Then single click the Configuration tab on the right and choose Storage. From there you will the datastore in your server. Right click the datastore (i.e. localstore) and choose Browse Datastore.

3. A new Datastore window will popup. Single click on the storage icon with an green up arrow and choose Upload File …

4. Locate and select the operating system ISO image from your local machine harddrive.

5. After you select the ISO image, vSphere client will upload the image to the Host Machine. It will take awhile to upload the file depends on your internet connection and size of the ISO image. Once that is done, you will see the ISO image in your Host Machine Datastore and it is ready to be used for OS installation.

Create Virtual Machine with VMware vSphere Client.


1. Open the VMware vSphere Client in your Windows Machine. Type your VMware IP address or host name, User name and Password in the text boxes provided.

2. Once you log in to your server, right click the server name or IP address and choose New Virtial Machine …

3. In the Create New Virtual Machine window, choose Typical and click Next.

4. Enter the name of the new virtual machine you are going to create and click Next.

5. Select the available storage (i.e. localstore) for the virtual machine and click Next.

6. Choose the Guest Operating System and click Next. Guest Operating System is the operating system you are planning to install in the new virtual machine.

7. Choose the number of Network Interface Card NIC you need qui vend viagra. You can select more than one even if there are only one physical network interface in the host machine. Under network, select VM Network and Adapter E1000. Make sure Connect at Power On is checked.

8. Enter the amount of hard disk space available to the new virtual machine. If you want the virtual hard disk grow as it goes, select Thin Provision. Click Next to continue.

9. In the next screen, review the settings and if everything looks find, click Finish to complete the setup.

10. Now, you should see the new virtual machine listed under the physical host machine. You can power on the virtual machine by highlighting it and click the Green play button.

How to install VMware vSphere hypervisor (ESXi)?

Before you install VMware vSphere Hypervisor (ESXi), you need to obtain the installation cd/iso. You can download it from here

http://www.vmware.com/support/

Or visit www.vmware.com and click the Support and Download link there.

Once you obtain the ISO file, you can either burn a CD and install from it or mount the ISO as a install media if your server management console support it. (i.e. HP Blade server iLO management console interface)


1. Boot the Server from the VMware install CD/ISO. At the standard Boot Menu, just hit ENTER to choose the ESXi standard installer.

2. At the VMware ESXi installation welcome screen, press ENTER to continue.

3. In the next screen, press F11 key on your keyboard to accept the license and continue.

4. If you server equipment with a USB flash drive, select it and hit ENTER.

5. Choose the default keyboard. i.e. US Default. Hit ENTER to continue.

6. The installer will prompt you for the root password. Enter the password you prefer and hit ENTER to continue.

7. In the next screen, the installer will ask you to confirm the server installation. Press F11 to confirm and install.

8. After the installer finish copying files and configurating the server, it will ask you to hit the ENTER key to reboot. Hit the ENTER and the server will start rebooting. Be sure to remove the CD disc or disconnect the ISO image from the server.

9. Once the server finish rebooting to the VMware ESXi main screen, press F2 to customize it.

10. Log in to the server as user root with the password you enter during the installation.

11. At the System Customization screen, use the up/down arrow keys on your keyboard, scroll down to Configure Management Network and hit ENTER.

12. In the next screen, scroll to Network Adapters. Make sure the vmnic0 is listed. That is usually the server network interface that connects to the internet.

13. Now, scroll down to IP Configuration and hit ENTER.

14. In the IP Configuration screen, select Set static IP address and network configuration. Then enter the IP Address, Subnet Mask and Default Gateway based on the Welcome Email you received from Cybercon. Once that is done, press ENTER to save the settings and exit to the previous menu.

15. Now, scroll down to DNS Configuration and hit ENTER.

16. Enter the DNS Server information based on the Welcome Email you received from Cybercon.

17. Once you finish entering the DNS information, press ENTER to save the setting and back to the main screen, then press the ESC key to exit to the Main menu.

18. The server may prompt you to confirm the new settings, Just press Y to apply the changes. That will restart the management network in the server as well.

19. That should do it, Hit the ESC key again to log out from the server.

20. In your Windows workstation, start the VMware vSphere client. If you do not have a vSphere client installed, you can download it from your server. Just go to https:// and download it from there.

Once you install and have the vSphere client running, enter your server IP address or host name at the IP address / Name field. Log in with user name root and the password you created during the installation.


21. If the server pop up with a Security Warning window, just check the box next to Install this certificate and do not display any security warnings for …. and press the Ignore button.

22. At the main screen, the server will complaint about it does not have persistent storage, just click the link that say click here to create a datastore…

23. A new Add Storage pop up window should appear. For Storage Type, choose Disk/LUN and click Next.

24. From the Select Disk/LUN screen, click the local disk and click Next.

25. For File System Version, choose VMFS-5 and click Next.

26. In the next screen, the vSphere will display the Current Disk Layout, just click Next to continue.

27. For the datastore name, you can enter any name. i.e. localstore. Click Next after that.

28. For Maximum file size and capacitity of the datastore, select Maximum avaliable space and click Next.

29. In the next screen, click the Finsh button to finish the process.

30. Once you are back to the main screen, click the Configuration tab at the top follow by clicking the Licensed Features under Software link on the left. An Edit link should appear on the right now, Click the Edit… link to enter the license.

31. Select Assign a new license key to this host and press the Enter Key button.

32. Enter the License Key you obtained from VMware or Cybercon. You can get a free license key from VMware (limited features) or purchase a License from Cybercon (VMware Professional Partner)
33. Once you enter the License key, everything is set. Now you should be able to create your Virtual Machines from within the vSphere client.