Qnap vm installation
Be sure to select LVM as option, this will save you time when you’ll want to extend your server storage, like adding a new hard disk to your vm (see https://www.cyberciti.biz/faq/howto-add-disk-to-lvm-volume-on-linux-to-increase-size-of-pool/.
Select also openssh during installation.
You can access your server through VNC. You should set a static IP.
If you want to access the server through ssh without password, add your public key to the authorized keys on the server:
ppezzino@atlantide:~$ ssh-keygen Generating public/private rsa key pair. ... ppezzino@atlantide:~$ ssh-copy-id email@example.com /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys firstname.lastname@example.org's password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'email@example.com'" and check to make sure that only the key(s) you wanted were added.
This will simply add your key to the user’s authorized_keys file:
ppezzino@luna:~$ cat .ssh/authorized_keys ssh-rsa AAAAB3NzaC1....