cc_staff
247
edits
No edit summary |
No edit summary |
||
Line 204: | Line 204: | ||
root@debian11:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd | root@debian11:~# apt-get update && apt-get -y install nvidia-vgpu-kmod nvidia-vgpu-tools nvidia-vgpu-gridd | ||
</pre> | </pre> | ||
== Preparation of a VM running Ubuntu22 == | |||
Ensure that the OS is up to date and all the latest patches are installed and the latest stable kernel is running. | |||
<pre> | |||
root@ubuntu22:~# apt-get update && apt-get -y dist-upgrade && reboot | |||
</pre> | |||
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. | |||
<pre> | |||
root@ubuntu22:~# wget http://repo.arbutus.cloud.computecanada.ca/pulp/deb/ubuntu22/pool/main/arbutus-cloud-repo_0.1_all.deb | |||
root@ubuntu22:~# dpkg -i arbutus-cloud-repo_0.1ubuntu20_all.deb | |||
</pre> | |||
A warning will be displayed since the signature key is added in the post-install stage. The 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> | |||
If your installation was successful, the vGPU will be accessible and licensed. | |||
Test by running <code>nvidia-smi</code> as shown above for Centos7. | |||
== Preparation of a VM running Ubuntu20 == <!--T:8--> | == Preparation of a VM running Ubuntu20 == <!--T:8--> |