Install Debian 10 by an ISO file on VPS

I bought a VPS from http://virmach.com five years ago. It had been running Ubuntu 14.04 OS for over five years. It was stable but a bit out-of-date. Firstly I tried the Ubuntu 18 template, which was builtin by the cheap Vps provider (virmach). Unfortunately, I cannot log into the system after the OS installation, it always automatically refused my ssh connection, and continuously told me my password is wrong through the HTML5 vnc console. It's already very late yesterday evening, I was tired and wanted to give up.

Then I found the Debian 10 Server X64 ISO file on the cdrom TAB. I love Debian, so I decided give it a go before going to bed. That's a very familiar and happy process. I just want to record the main steps of the process as a memo. Here it is

  1. mount the ios file you needed
  2. setup the boot sequence to CDROM first
  3. reboot your VPS and open the HTML vnc pannel
  4. Install the OS
  5. setup the boot sequence to HDD only
  6. Reboot