proxmox_setup
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
proxmox_setup [2023/09/11 22:21] – created admin | proxmox_setup [2024/11/14 02:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
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:// | ||
- | === chrony.conf === | + | < |
+ | server " | ||
+ | } | ||
+ | |||
+ | server { | ||
+ | listen 80 default_server; | ||
+ | rewrite ^(.*) https:// | ||
+ | } | ||
+ | |||
+ | server { | ||
+ | listen 443 ssl; | ||
+ | server_name pedge.syninf.net; | ||
+ | ssl_certificate / | ||
+ | ssl_certificate_key / | ||
+ | proxy_redirect off; | ||
+ | location / { | ||
+ | proxy_http_version 1.1; | ||
+ | proxy_set_header Upgrade $http_upgrade; | ||
+ | proxy_set_header Connection " | ||
+ | proxy_pass https:// | ||
+ | proxy_buffering off; | ||
+ | client_max_body_size 0; | ||
+ | proxy_connect_timeout | ||
+ | proxy_read_timeout | ||
+ | proxy_send_timeout | ||
+ | send_timeout | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | ==== update apt sources ==== | ||
+ | https://pve.proxmox.com/ | ||
+ | |||
+ | Disable entries in '' | ||
+ | |||
+ | Add no-subscription to sources.list | ||
+ | |||
+ | '' | ||
+ | |||
+ | ==== chrony config ==== | ||
Modify to my liking - not much to say. | Modify to my liking - not much to say. | ||
Line 28: | 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.1694470871.txt.gz · Last modified: 2024/11/14 02:30 (external edit)