From 35f116ec66e344c1cd10719afdc599c78f09a590 Mon Sep 17 00:00:00 2001 From: hhf Date: Mon, 30 Sep 2024 09:35:53 +0530 Subject: [PATCH] Add README.md --- README.md | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..96cbb02 --- /dev/null +++ b/README.md @@ -0,0 +1,93 @@ +# Debian + Proxmox + Nvidia Drivers install guide + +Instalation of Debian then proxmox on it and then Nvidia drivers + +- First of all setup all shit u need on Debian +- Set ip address in **/etc/hosts** +``` +127.0.0.1 localhost +192.168.15.77 prox4m1.proxmox.com prox4m1 + +# The following lines are desirable for IPv6 capable hosts +::1 localhost ip6-localhost ip6-loopback +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters +``` + +- Add the Proxmox VE repository: +``` +echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list +``` + +- Add the Proxmox VE repository key as root (or use sudo): +``` +wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg +# verify +sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg +7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg +``` + +- Update your repository and system by running: +``` +apt update && apt full-upgrade +``` + +- Install the Proxmox VE packages + Proxmox headers +``` +apt install proxmox-ve postfix open-iscsi pve-headers +``` + +- The os-prober package scans all the partitions of your host, including those assigned to guests VMs, to create dual-boot GRUB entries. If you didn't install Proxmox VE as dual boot beside another Operating System, you can safely remove the os-prober package. +``` +apt remove os-prober +``` + +- Once logged in, create a Linux Bridge called vmbr0, and add your first network interface to it. +![image](https://user-images.githubusercontent.com/25103137/158608768-f5e0bc01-5667-4444-8c3c-9cb95da6354c.png) + +- Edit **/etc/apt/sources/list** +``` +# deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 NETINST 20211218-11:12]/ bullseye main + +#deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 NETINST 20211218-11:12]/ bullseye main + +deb http://deb.debian.org/debian/ bullseye main contrib non-free +deb-src http://deb.debian.org/debian/ bullseye main contrib non-free + +deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free +deb-src http://deb.debian.org/debian/ bullseye-backports main contrib non-free + +deb http://security.debian.org/debian-security bullseye-security main +deb-src http://security.debian.org/debian-security bullseye-security main + +# bullseye-updates, to get updates before a point release is made; +# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports +deb http://deb.debian.org/debian/ bullseye-updates main +deb-src http://deb.debian.org/debian/ bullseye-updates main + +# This system was installed using small removable media +# (e.g. netinst, live or single CD). The matching "deb cdrom" +# entries were disabled at the end of the installation process. +# For information about how to configure apt package sources, +# see the sources.list(5) manual. +``` + +- Next update apt +``` +apt update +``` + +- Finally install drivers: +``` +apt install nvidia-driver nvidia-xconfig nvidia-smi nvidia-settings +``` + +- Dont forget to enable overclock +``` +nvidia-xconfig --cool-bits=28 && reboot +``` + +- Dont forget to disable suspend +``` +sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target +``` \ No newline at end of file