标签:
Ubuntu 14.04.3
CUDA 7.5:cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb
NVIDIA Driver:NVIDIA-Linux-x86_64-361.28.run
Docker
#############################
1.单独安装Nvidia driver 步骤:
a. 全新安装的Ubuntu14.04.3,下载run文件
b.sudo gedit /etc/modprobe.d/blacklist.conf
在末尾输入下面5行字符串:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
c. sudo apt-get --purge remove nvidia-*
d. sudo reboot
e. ctrl+alt+f1(返回+f7),输入一下命令:
sudo stop lightdm
init 3
cd ./cuda
sh ..run(run file)(安装过程中全部点yes)
f. sudo reboot
2. 安装CUDA7.5
执行上一步a,b,c
d. dpkg -i ..deb(deb file)
e. sudo apt-get update(保证软件和更新设置中的“更新”中的“重要安全更新”和“推荐更新”选中)
f. sudo apt-get install cuda
g.执行 echo ‘export PATH=/usr/local/cuda-7.5/bin:$PATH‘ >> ~/.bashrc | echo ‘export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:$LD_LIBRARY_PATH‘ >> ~/.bashrc
| source ~/.bashrc
h. sudo reboot
i.cd /etc/local/cuda-7.5/samples | sudo make
j. cd /bin/x86_64/linux/release | ./devicequery
3. 待续
标签:
原文地址:http://www.cnblogs.com/deepcoding/p/5247683.html