Create Generation 1 VHD and set to boot from Debian~.iso
Start VHD and run Install

select options,
- personally I unselect the Debian desktop option and leave the rest default.
login as root or use sudo for the following commands.
now you'll need to add the webmin sources list by editing /etc/apt/sources.list by using nano, vi or another method.
vi /etc/apt/sources.list
then use i to edit the file and (esc) then :wq to write the file to memory.
once you've done that you can add the Webmin PGP key
wget http://www.webmin.com/jcameron-key.asc
then
apt-key add jcameron-key.asc
now update using
apt update
I like to also install perl as it seems to prevent some issues
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
and finally install webmin
apt install webmin
continue (y)
Now you can login with https://(server-IP/domain):10000
That's it, your done.
To get started after installing CentOS7 you will need to follow these steps:
First Update CentOS
yum update
Install wget
yum install wget
Download Virtualmin
wget http://software.virtualmin.com/gpl/scripts/install.sh
Install Webmin
/bin/sh install.sh
You should now be able to access Virtualmin Control panel via https > your domain > port 10000
To install Webmin on Debian Linux 9.5 you can follow these commands, (accept any prompts)
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.890_all.deb
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
dpkg --install webmin_1.890_all.deb
That's it, basic setup is now complete.
You can now access your server using the default https:// {youIPaddressOrServerAddress} :10000
Be sure to properly secure your server before putting it into production.