Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Install Hashcat binary on Ubuntu 16.04, with NVIDIA cards
- =========================================================
- Date: 20 Feb 2018
- # => Install Ubuntu 16.04.3 LTS Server and upgrade it
- sudo apt-get-update
- sudo apt-get upgrade
- # install base packages
- dpkg --remove-architecture i386
- apt-get install build-essential dkms xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-video-dummy x11-xserver-utils ocl-icd-libopencl1 git xdm clinfo p7zip linux-headers-generic
- apt-get remove nvidia* && sudo apt autoremove
- # blacklist nouveau and reboot
- /etc/init.d/xdm stop
- echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
- cat > /etc/modprobe.d/nvidia-installer-disable-nouveau.conf << EOF
- blacklist nouveau
- blacklist lbm-nouveau
- options nouveau modeset=0
- alias nouveau off
- alias lbm-nouveau off
- EOF
- update-initramfs -u
- reboot
- # install NVIDIA drivers
- chmod 700 NVIDIA-Linux-x86_64-390.25.run
- ./NVIDIA-Linux-x86_64-390.25.run -x
- ./NVIDIA-Linux-x86_64-390.25/nvidia-installer
- # Register DKMS => Yes
- # nvidia-config ? => Yes
- # test drivers
- clinfo
- # install hashcat
- p7zip -d hashcat-4.1.0.7z
- cd hashcat-4.0.1/
- ./hashcat64.bin --benchmark
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement