最近ubuntu+gpu装机记录

Background:

a new machine with 2 GeForce RTX 2080 Ti without OS

Steps:

ubuntu desktop + rufus + sandisk usb 制作系统安装盘

(desktop相对server更方便安装,因为有界面)

minimal installation

install third-party software for graphics and Wi-Fi hardware and additional media formats

erase disk and install ubuntu

sudo apt-get update
sudo apt-get install openssh-server build-essential htop

#in nvidia pre-installation section
sudo apt-get install linux-headers-$(uname -r)

# read documentation before install CUDA related things: https://developer.download.nvidia.com/compute/cuda/10.0/Prod/docs/sidebar/CUDA_Installation_Guide_Linux.pdf

# download the driver from here https://www.nvidia.com/Download/index.aspx?lang=en-us

# geForce RTX 2080 Ti

cd Download

sudo bash NVIDIA[tab].run

# download CUDA from https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocal

sudo adduser

sudo usermod -aG  sudo

 

 

 

 

 

你可能感兴趣的:(linux,操作系统,cuda)