Using cloud vGPUs: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 427: Line 427:


-->
-->
== Preparation of a VM running Ubuntu20 == <!--T:8-->
Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running.
<!--T:48-->
<pre>
root@ubuntu20:~# apt-get update && apt-get -y dist-upgrade && reboot
</pre>
<!--T:49-->
After a successful reboot, the system should have the latest available kernel running.
Now the repository can be installed by installing the <code>arbutus-cloud-repo</code> package.
This package also contains the gpg key all packages are signed with.
<!--T:50-->
<pre>
root@ubuntu20:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/ubuntu/pool/main/arbutus-cloud-repo_0.2ubuntu20_all.deb
root@ubuntu20:~# dpkg -i arbutus-cloud-repo_0.2ubuntu20_all.deb
</pre>
<!--T:51-->
A warning will be displayed since the signature key is added in the post-install stage; this warning can be ignored.
Update the local apt cache and install the vGPU packages:
<pre>
root@ubuntu20:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
</pre>
<!--T:52-->
If your installation was successful, the vGPU will be accessible and licensed.
Test this by running <code>nvidia-smi</code> as shown above for [[Using cloud vGPUs#Preparation_of_a_VM_running_CentOS7 | CentOS7]].


</translate>
</translate>
[[Category:Cloud]]
[[Category:Cloud]]
cc_staff
247

edits