Using cloud vGPUs: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 341: Line 341:
</pre>
</pre>


== Preparation of a VM running Ubuntu22 == <!--T:70-->
Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running.
<!--T:71-->
<pre>
root@ubuntu22:~# apt-get update && apt-get -y dist-upgrade && reboot
</pre>
<!--T:72-->
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:73-->
<pre>
root@ubuntu22:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/ubuntu22/pool/main/arbutus-cloud-repo_0.2_all.deb
root@ubuntu22:~# dpkg -i arbutus-cloud-repo_0.2_all.deb
</pre>
<!--T:74-->
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@ubuntu22:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd
</pre>
<!--T:75-->
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]].
<!-- ============ UPDATE PREPARATION DO NOT PUBLISH YET! ========================== -->
<!--
== Preparation of a VM running Ubuntu20 == <!--T:8-->
== 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.
Ensure that the OS is up to date, that all the latest patches are installed, and that the latest stable kernel is running.
Line 425: Line 392:
+-----------------------------------------------------------------------------------------+
+-----------------------------------------------------------------------------------------+
</pre>
</pre>
-->
</translate>
</translate>
[[Category:Cloud]]
[[Category:Cloud]]
cc_staff
247

edits