Create a vm under vmware

We will see here how to create a VM under VMware.

There is a little important thing to know about VMware, there are 2 ways to manage it :

Here I will mainly use the web interface because I think it is the future of VMware which is increasingly abandoning the heavy client (in fact all the new features since 5.1 cannot be used with the thick client).

Also note that the web interface is still being implemented at VMware, in fact you will surely encounter some bugs or slowdowns but a small refresh of the page and it will start again without problems.

Connection to the web interface

Go to IP_ESXI / ui with your internet browser, you must have :

vmware.createvm3

NOTE

If you have nothing I advise you to install the web interface, all the information here

Enter your login credentials to ESXI :

vmware.createvm4

As you can see the interface is quite nice and allows you to do a lot of things, I will not go into details but you can already from this screen :

Sending installation ISO

After downloading your installation ISO (here for example for debian 11.8 in netinstall), you need to put it on your datastore.

For that click on datastore :

vmware.createvm18

Select your datastore (usually it’s called datastore1) :

vmware.createvm19

Click on “Database browser” :

vmware.createvm20

Click on “Download” (the first) :

vmware.createvm21

Select the previously downloaded ISO and validate :

vmware.createvm22

You can then follow the progress of the shipment :

vmware.createvm23

Once finished you can see that your iso has arrived on the datastore :

vmware.createvm24

Creation of your first VM

Click on the “Create / Save VM” button” :

vmware.createvm5

Click on next :

vmware.createvm6

Then give a name to your machine and specify its operating system (here we will install a Debian) :

vmware.createvm7

Indicate the target datastore :

vmware.createvm8

Here you will be able to configure the parameters of your machine (hard disk, CPU, memory, etc.)) :

vmware.createvm9

NOTE

All these parameters can be modified afterwards without any problems, note however that it is not really possible to reduce the size of a hard drive, you can increase it (but you have to know how to manage this at the level of the hard drive). ‘OS next) but not reduce it.

In the CD / DVD drive, select “ISO file database” :

vmware.createvm10

Then select the location where your ISO is stored (see previous chapter) and validate :

vmware.createvm11

Then do next :

vmware.createvm12

You then have a summary of your configuration, click on “Finish” :

vmware.createvm13

A message at the top will tell you that it’s good, then click on “Virtual machines” :

vmware.createvm14

You should see your virtual machine (if it is not the case click on “Refresh”) click on it :

vmware.createvm15

You must have a page of this type, click on the play button :

vmware.createvm16

Your machine will launch and you will be able to install your OS :

vmware.createvm17

IMPORTANT

Once your machine is installed it is ABSOLUTELY necessary to install VMware tools (it allows VMware to have information on your VM and to shut down it properly). Under debian just do “sudo apt-get -y install open-vm-tools”.

For the rest of the installation I invite you to read this Tutorial

Mount USB devices in the VM

NOTE

If you do not have the options below it is necessary to update the ESXi Embedded Host Client, all the information here

It is a rather rare need, but I had to use it for Jeedom, indeed I have on my ESXi the keys Zwave, RFXcom, edisio, enOcean and GSM of connected and I had to connect them to my VM Jeedom to be able to use it.

NOTE

For Zwave, RFXcom, edisio and enOcean there is no problem, for GSM keys you must follow this Tutorial before to force the key in modem mode only otherwise it is not seen correctly on the ESXi.

Go to your VM then do “Change settings” :

vmware.createvm25

Click on “Add another device” then USB controller :

vmware.createvm26

NOTE

The next step will need to be repeated for each USB device you want to connect

Save, redo “Change settings”, then “Add another device” and “USB device” :

vmware.createvm27

Choose your USB device from the drop-down list :

vmware.createvm28

And now your device is plugged into your VM. At each restart it will be automatically reconnected to the VM and if you physically disconnect / connect it then it will be reconnected to your VM. In other words the use is now completely transparent.

Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site web. Si vous continuez à utiliser ce site, nous supposerons que vous en êtes satisfait.