2016年01月
vi /etc/apt/sources.list
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
apt-get update
apt-get dist-upgrade # 700MB+ very long
reboot
cuda_7.0.28_linux.run # 1.0GB+very long long long
NVIDIA_Linux-x86_64-346.59.run # 70.1MB
cudaHashcat-2.01.7z # 89.5MB
apt-get install linux-headers-3.18.0-kali3-amd64
apt-get install freeglut3-dev libxmu-dev
shutdown -h now
Motherboard: Plugin GTX970
WARNING BIOS: Disable Integrated Network Card
Ctrl+Alt+F1
modprobe -r nouveau
/etc/init.d/gdm3 stop
./NVIDIA-Linux-x86_64-346.59.run
NOTE: Do NOT run the nvidia-xconfig
reboot
NOTE:If Black Screen,Please Pree Ctrl+Alt+F1 and go on.
./cuda_7.0.28_linux.run
vi /etc/ld.so.conf
Add the following line to the end of the file
/usr/local/cuda-7.0/lib64
Execute the following to apply our changes:
ldconfig
Build the NVIDIA samples so we can confirm CUDA is working
cd /root/NVIDIA_CUDA-7.0_Samples/
make
NOTE: This step takes quite a bit of time to complete.
cd 1_Utilities/deviceQuery
Execute the following to test
./deviceQuery
NOTE: If Black Screen,Please try “nvidia-xconfig”.
Add repo.
deb http://ftp.debian.org/debian sid main
apt-get update
apt-get -t sid install libc6 libc6-dev libc6-dbg
wget http://hashcat.net/files/cudaHashcat-2.01.7z
7z x cudaHashcat-2.01.7z
cd cudaHashcat-2.01.7z
Execute the following to test cudaHashcat
./cudaExample0.sh
./cudaExample400.sh
./cudaExample500.sh