For the goal we want to achieve (hosting a web server, our personal files, personal streaming server, …) we do not even need the graphic environment. Therefore, I like to do it on a Linux (in this case, Debian is my personal choice) with the minimum installed so that we save resources and space and, in turn, be more secure (basic security best practice: just install the install the minimum required services). Lets go!
Download Debian ISO image
The images are from a little while ago but the installation will be exactly the same. We started by downloading the ISO image from the Debian website:
Specifically, I used the amd64 architecture iso, which at the moment of publishing this post is:
Upload ISO to datastore
Once downloaded, lets upload the file to the datastore. Select the datastore in which you want to upload it, and click no “Datastore Browser” option.
I recommend using the SSD drive based datastore
(The pictures are only showing a single create datastore because I create the RAID array and the datastore based on it after creating the virtual machine)
Create Virtual Machine
In the hardware configuration:
– CPU and memory can be changed after created and installed the Linux, so no problem.
– The DISK can also be extended (it depends on enabling Linux LVM that we’ll see a bit later in this post).
– Disk provisioning: I recommend the thick provisioned (so that the virtual machine file size does not provision the configured space from the beginning, but the used one).
Debian Linux Installation
Basic settings (location and passwords)
– standard (Guided – use entire disk)
– LVM (Guided – use entire disk and set up LVM).
For a testing or lab machine use the standard partitioning. But for a “production” machine i encourage you to use LVM because that allows to extend the partitions size in case you need more free space.
Depending on your needs you can choose software collections. I usually choose “standard system utilities” + “SSH Server”. In case i need more extra software (like a web server) I install it manually after OS installation.
To install them, simply install the open-vm-tools package.
apt-get install open-vm-tools
Before installing the package, if you still havent done before, update the package list by executing…