Skip to content

Instantly share code, notes, and snippets.

@carlesloriente
Last active February 8, 2024 01:08
Show Gist options
  • Save carlesloriente/2dc56c44afc4b8604f231d083268033f to your computer and use it in GitHub Desktop.
Save carlesloriente/2dc56c44afc4b8604f231d083268033f to your computer and use it in GitHub Desktop.
Install Nvidia drivers on EC2 Instance with CentOS
#!/bin/bash
sudo yum -y install gcc kernel kernel-devel tbb tbb-devel
echo "Download and install AWS NVIDIA GPU Drivers";
curl -o NVIDIA.run https://s3.amazonaws.com/ec2-linux-nvidia-drivers/grid-10.0/NVIDIA-Linux-x86_64-440.43-grid.run
sudo /bin/sh ./NVIDIA.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment