Proxmox Setup: Comprehensive Guide for Beginners After First Install 2023
Welcome to our step-by-step guide on setting up Proxmox after the initial installation! In this YouTube video, we will take you through the essential steps and configurations required to unleash the full potential of Proxmox Virtual Environment, an open-source virtualization platform.
Whether you're new to Proxmox or an experienced user looking to refresh your knowledge, this tutorial is designed to help you optimize your Proxmox setup and make the most of its powerful features.
Log in to Proxmox
1) Use your favorite SSH tool
a) Log in as root and supper secret password
Update DNS
2) Type nano /etc/resolv.conf
a) Add:
#Cloudflare
nameserver 1.1.1.1
#Google Public DNS
Nameserver 8.8.8.8
b) Save file: CTL+X , y, enter
Update Repository
3) Tyep: nano /etc/apt/sources.list
a) Add line # NOT recommended for production use
deb [ Ссылка ] bullseye pve-no-subscription
Disable Prod Repository
4) Type: nano /etc/apt/sources.list.d/pve-enterprise.list
a) Comment out this line #deb [ Ссылка ] bullseye pve-enterprise
Update
5) Run these commands
a) apt-get update
b) apt dist-upgrade
i) Reboot
Allow PCI & PCIe passthrough
6) Type: nano /etc/default/grub
a) Comment out GRUB_CMDLINE_LINUX_DEFAULT="quiet"
b) Add: Comment out GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
c) Save file: CTL+X , y, enter
d) run update-grub
7) Type: nano /etc/modules
a) Add these lines:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
b) Save file: CTL+X,y,enter
c) Reboot
Allow Vlan
8) Log in to Proxmox GUI
a) Select your server
b) Select Network from the menu
c) Select the Linux bridge (vmbro#)
d) Click edit at the top of the window
e) Select the box that says VLAN aware
f) Press ok
Storage Setup
9) Add NFS Share for Backups (if you have NFS Setup) you can do local back ups
a) Goto Datacenter
b) Select Storage
c) Click add storge and select NFS from the drop down menu
d) ID: name that will appear (Backups, ISO, etc)
Server: is the IP of your NFS server.
Export: is the path of the NFS Folder you would like to use
Content: is the files you would like to store on the this share
We will just select VZDump backup file, deselect disk image
e) Repeat steps for ISO Shared drive, in content select ISO image
Schedule Backups
10) Select Datacenter
a) Select Backups
b) Click Add
c) Nod you can select the node you would like or all I lever this at default to all
d) Storage select the NFS share; That was just set up
e) Schedule Select how often you want to run the backup (this is up to you) if you do a lot of changes it should be at least once a week if this if there is not much twice a month would work at the most I would go with once a month.
f) Select the VMS you would like to back up in the Job Comments if you want them all just click the check box at the top
g) Then click: Create ( you can put your email in here if you want it will send message you can change this to notify on fail)
Add Storage (ZFS) Raid
11) Select Node
a) Goto Disk
b) select ZFS
c) Create ZFS ( at the top)
d) Give it a NAME
e) Select devices you wish to use
f) Select Raid level
g) Click Create
Reboot
Bonus
Get rid of the pop up for subscription use this one liner
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Source [ Ссылка ]
