Skip to content

Instantly share code, notes, and snippets.

@moesy
Last active August 21, 2018 18:01
Show Gist options
  • Save moesy/505d6f77fbf4ec7395a88a2ca89eaf53 to your computer and use it in GitHub Desktop.
Save moesy/505d6f77fbf4ec7395a88a2ca89eaf53 to your computer and use it in GitHub Desktop.
Ubuntu 18.x Nvidia Server
echo "blacklist nouveau
options nouveau modeset=0" >> /etc/modprobe.d/blacklist-nouveau.conf
update-initramfs -u
reboot
sudo apt-get install dkms build-essential linux-headers-generic
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/390.42/NVIDIA-Linux-x86_64-390.42.run
chmod +x NVIDIA-Linux-x86_64-390.42.run
sudo ./NVIDIA-Linux-x86_64-390.42.run
# test your work
nvidia-smi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment