Server basic installation

Qnap vm installation

Follow any qnap vm guide. Be sure to select correct keyboard.

Ubuntu server

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

Select also openssh during installation.

Server access

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 ppezzino@
/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
ppezzino@'s password: 

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'ppezzino@'"
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....

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.