Installing CUDA on a dedicated GPU server
Objective
You can install Compute Unified Device Architecture (CUDA) on a GPU server, but it requires a series of actions which we will explain to you in this guide.
Requirements:
- You must own a GPU server.
- You must be logged into your server via SSH
Instructions
Once you have reinstalled the distribution/operating system, follow the instructions below.
Update the kernel
Modify the grub.cfg file
Edit the following file, and comment out the OVH kernel part:
At this point, you will need to reboot the server. It should reboot on a new kernel.
To check this, you can type the following commands:
Then install a library and stop lightdm:
Install CUDA
Now, you just need to install CUDA by following the procedure below:
The nvidia-smi should now function properly:
Go further
Join our community of users.