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