transfer of file from cpanel to ubuntu linux
If you have root access to the server your website is on, you can take a look at the following guide:
If you don't have access, you can install the services you need on a new Ubuntu Linode, then copy the files from your other server using SCP or Rsync. You can read more about this here:
I hope this helps.
Linode Customer Support