First, install the system
The default installation, pay attention to partition:
/ The Boot 500M
SWAP 64G
/ other spaces
Second, install the Desktop
Note: If you install a desktop version, you do not have to install the desktop
After the system is installed, you need to install a desktop environment, the desktop default kde
1 sudo apt-get install kubuntu-desktop 2 sudo apt-get install lightdm
Third, install the IPMI Tool
1 sudo apt-get install -y ipmitool 2 sudo modprobe ipmi_msghandler 3 sudo modprobe ipmi_devintf 4 sudo modprobe ipmi_si
Fourth, install the NVIDIA driver
Download driver:
1 wget http://us.download.nvidia.com/XFree86/Linux-x86_64/410.93/NVIDIA-Linux-x86_64-410.93.run 2 chmod +x NVIDIA-Linux-x86_64-410.93.run
Remove the old drive (the new system does not require this step):
1 sudo apt-get remove --purge nvidia*
Installation depends Software:
1 sudo apt-get install build-essential freeglut3-dev libx11-dev libxmu-dev libxi-dev libgl1-mesa-glx libglu1-mesa libglu1-mesa-dev
New file and writes the following:
1 Sudo vim / etc / modprobe .d / blacklist-nouveau.conf
new blacklist options again modeset = 0
install driver:
sudo update-initramfs -u sudo service lightdm stop sudo ./NVIDIA-Linux-x86_64-410.93.run --no-opengl-files sudo service lightdm start
Fifth, the CUDA installation (or installed 10.0 9.2)
NVIDIA driver has been installed, do not need to repeat the installation (alternative to)
Installation CUDA 10.0
1 wget https://developer.nvidia.com/compute/cuda/10.0/Prod/ local_installers/cuda_10.0.130_410.48_linux 2 mv cuda_10.0.130_410.48_linux cuda_10.0.130_410.48_linux.run 3 sudo sh cuda_10.0.130_410.48_linux.run 4 sudo ldconfig /usr/local/cuda/lib64
Or install CUDA9.2 (Without NVIDIA Driver)
1 wget https://developer.nvidia.com/compute/cuda/9.2/Prod2/local_installers/cuda_9.2.148_396.37_linux 2 mv cuda_9.2.148_396.37_linux cuda_9.2.148_396.37_linux.run 3 sudo sh cuda_9.2.148_396.37_linux.run 4 sudo ldconfig /usr/local/cuda/lib64
Add following to the end of ~ / .bashrc and run "source ~ / .bashrc" (Note: The default has been added)
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}} export LD_LIBRARY_PATH=/usr/local/cuda-10.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}