Linux Tutorials.txt
=======================

Running qBittorrent without X server (WebUI only, systemd service set up, Ubuntu 15.04 or newer)
// Install qBitTorrent
$ sudo apt-get install qbittorrent qbittorrent-nox -y

// Create qBitTorrent user
$ sudo adduser qbtuser
$ sudo usermod -s /usr/sbin/nologin qbtuser

// Switch to user
$ sudo su qbtuser

// Run qBitTorrent - accept all the legal disclaimer shit
$ qbittorrent-nox

// -- CHECK --
// Using the details printed on screen check you can connect & login

// End the process, Ctrl+C

$ sudo systemctl start qbittorrent-nox@qbtuser
$ sudo systemctl enable qbittorrent-nox@qbtuser

// DONE


Enable SSH root login on Debian Server
// Configure SSH server
$ nano /etc/ssh/sshd_config

// Change the following line
// FROM:
PermitRootLogin without-password
// TO:
PermitRootLogin yes

// Restart SSH server
$ /etc/init.d/ssh restart

// DONE


Install Nvidia driver on Debian 12
// Configure apt repositories
$ nano /etc/apt/sources.list

// Add these components to the default repository
contrib, non-free, non-free-firmware
// The line should look like this
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

// Update available packages
$ apt-get update

// Install the Nvidia driver and necessary firmware
$ apt-get install nvidia-driver firmware-misc-nonfree

// Reboot your machine
$ reboot now

// DONE