proxmox_setup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proxmox_setup [2023/09/11 22:38] – [adjust apt sources] admin | proxmox_setup [2024/11/14 02:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTOC~~ | ||
| - | |||
| ====== Proxmox Setup ====== | ====== Proxmox Setup ====== | ||
| A list of some things I did/do when I set up a new Proxmox instance so I can keep track for future problem solving/ | A list of some things I did/do when I set up a new Proxmox instance so I can keep track for future problem solving/ | ||
| - | ==== Configure | + | ==== Create zpool ==== |
| + | < | ||
| + | /sbin/zpool create -o ashift=12 pool1 raidz / | ||
| + | </ | ||
| + | |||
| + | Add the -f tag if the drives are slightly different capacities or whatever. | ||
| + | |||
| + | ==== Nginx Proxy ==== | ||
| So I don't have to go to port 8006 anymore. | So I don't have to go to port 8006 anymore. | ||
| https:// | https:// | ||
| - | < | + | < |
| - | upstream proxmox { | + | |
| server " | server " | ||
| } | } | ||
| Line 20: | Line 24: | ||
| server { | server { | ||
| - | listen 443; | + | listen 443 ssl; |
| - | server_name | + | server_name |
| - | ssl on; | + | |
| ssl_certificate / | ssl_certificate / | ||
| ssl_certificate_key / | ssl_certificate_key / | ||
| Line 40: | Line 43: | ||
| } | } | ||
| </ | </ | ||
| - | ==== adjust | + | ==== update |
| https:// | https:// | ||
| - | Disable entries in ' | + | Disable entries in '' |
| Add no-subscription to sources.list | Add no-subscription to sources.list | ||
| - | `deb http:// | + | '' |
| - | ==== chrony.conf ==== | + | ==== chrony |
| Modify to my liking - not much to say. | Modify to my liking - not much to say. | ||
| Line 70: | Line 73: | ||
| makestep 1 3 | makestep 1 3 | ||
| leapsectz right/UTC | leapsectz right/UTC | ||
| + | </ | ||
| + | |||
| + | ==== remove subscription warning ==== | ||
| + | https:// | ||
| + | |||
| + | < | ||
| + | sed -Ezi.bak " | ||
| + | </ | ||
| + | |||
| + | ==== remove local-lvm ==== | ||
| + | https:// | ||
| + | |||
| + | https:// | ||
| + | |||
| + | - Click on “Datacenter” and then click on “Storage”. | ||
| + | - Click on “local-lvm” and click on “Remove” | ||
| + | - Enter the following commands: | ||
| + | < | ||
| + | lvremove / | ||
| + | lvresize -l +100%FREE / | ||
| + | resize2fs / | ||
| + | </ | ||
| + | |||
| + | ==== Update grub for PCIe passthru ==== | ||
| + | Find | ||
| + | < | ||
| + | GRUB_CMDLINE_LINUX_DEFAULT=" | ||
| + | </ | ||
| + | |||
| + | Modify to: | ||
| + | < | ||
| + | GRUB_CMDLINE_LINUX_DEFAULT=" | ||
| + | </ | ||
| + | |||
| + | Update / | ||
| + | < | ||
| + | vfio | ||
| + | vfio_iommu_type1 | ||
| + | vfio_pci | ||
| + | vfio_virqfd | ||
| + | </ | ||
| + | |||
| + | Update initramfs | ||
| + | < | ||
| + | update-initramfs -u -k all | ||
| </ | </ | ||
proxmox_setup.1694471892.txt.gz · Last modified: (external edit)
