Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

NVIDIA Driver Installation Script

  • Thread starter Thread starter DM 3
  • Start date Start date
D

DM 3

Guest
This script will install and configure NVIDIA drivers and CUDA for you.

Copy and paste the following and save it into a .sh file.

Bash:
#!/bin/bash

# are we running as root
if [ $(id -u) != "0" ]; then
    echo "Script needs to be run as 'root' user."
    echo "Try again as root."
    exit 1;
fi

# UNINSTALL NVIDIA DRIVERS
apt-get remove --purge nvidia* -y

# UNINSTALL CUDA DRIVERS
apt-get --purge remove cuda -y
apt autoremove -y
apt-get clean -y

# INSTALL NVIDIA DRIVERS
apt-get update
apt-get install software-properties-common -y
DEBIAN_FRONTEND=noninteractive apt dist-upgrade -y
add-apt-repository ppa:graphics-drivers/ppa -y
apt-get update
DEBIAN_FRONTEND=noninteractive apt dist-upgrade -y
DEBIAN_FRONTEND=noninteractive apt-get install nvidia-kernel-source-415 nvidia-driver-415 -y

# INSTALL CUDA DRIVERS
wget -c -v -nc https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install cuda -y
DEBIAN_FRONTEND=noninteractive apt-get install cuda-libraries-10-0 -y

apt-get install git -y
git clone https://github.com/keylase/nvidia-patch.git
cd nvidia-patch && ./patch.sh

Save and exit.

Run the file as root with the following.
Code:
sh file.sh
 
Last edited by a moderator:
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top