===Add location of CUDA drivers to the PATH===
Add drivers to environment path:
sudo nano ~/.profile
With the file opened in the nano editor, scroll down and add at the bottom:
export PATH=/usr/local/cuda-10.0/bin${PATH:+:${PATH}}
Type ''Ctrl+O'' ENTER to save and ''Ctrl+X'' to exit
===Set configuration===
APT::Periodic::Unattended-Upgrade "0";
Type ''Ctrl+O'' ENTER to save and ''Ctrl+X'' to exit
==Setting up the miner==
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=noaer"
Type ''Ctrl+O'' ENTER to save and ''Ctrl+X'' to exit and update grub:
sudo update-grub
Now reboot