Site Tools


tech_public:tp_proxmox (text)

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tech_public:tp_proxmox [2025/02/11 14:35] jasonwchtech_public:tp_proxmox [2025/10/09 14:35] (current) – [Remove subscription notification] jasonwch
Line 1: Line 1:
-===== Proxmox =====+====== Proxmox ======
  
 +~~stoggle_buttons~~
 +
 +Port forwarding:
 https://stackoverflow.com/questions/46288364/how-can-i-make-port-routing-for-containers-in-proxmos https://stackoverflow.com/questions/46288364/how-can-i-make-port-routing-for-containers-in-proxmos
 +==== Direct connection display ====
 +https://sspai.com/prime/story/proxmox-homelab-guide-1
  
 +https://www.emengweb.com/p/PVE%E4%B8%ADLXC%E8%99%9A%E6%8B%9F%E6%9C%BA%E7%9A%84-Docker-%E6%9B%B4%E6%8D%A2%E4%B8%BA-fuse-overlayfs%EF%BC%8C%E5%A4%A7%E5%B9%85%E9%99%8D%E4%BD%8E%E7%A9%BA%E9%97%B4%E5%8D%A0%E7%94%A8
 +----
 +iGPU passthrough
 +https://forum.proxmox.com/threads/mediated-vs-passthrough-of-igpu.157811/
  
-https://sspai.com/prime/story/proxmox-homelab-guide-1+ 
 +https://www.reddit.com/r/Proxmox/s/76HbyLJFzi 
 +==== Switch to no subscription ==== 
 +https://medium.com/@truvis.thornton/proxmox-configuration-change-proxmox-repository-to-fix-update-error-task-error-command-apt-get-1f328dda239a 
 +\\ 
 +1. Remove these 2 source 
 +{{:tech_public:pasted:20250213-223412.png}} 
 +\\ 
 +2. Add "No Subscription" rep 
 +{{:tech_public:pasted:20250213-223507.png}} 
 +{{:tech_public:pasted:20250213-223551.png}} 
 +==== Remove subscription notification (PVE 8) ==== 
 +https://techblog.wassenaar.cloud/remove-proxmox-subscription-notice/ 
 +\\ 
 +\\ 
 +1 line code 
 +<code> 
 +sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service 
 +</code> 
 +\\ 
 +Manual instruction: 
 +\\ 
 +1. Change to directory 
 +<code> 
 +cd /usr/share/javascript/proxmox-widget-toolkit 
 +</code> 
 +2. Make a backup 
 +<code> 
 +cp proxmoxlib.js proxmoxlib.js.bak 
 +</code> 
 +3. Edit the file “proxmoxlib.js” 
 +<code> 
 +nano proxmoxlib.js 
 +</code> 
 +4. Locate the following code (Use ctrl+w in nano and search for “function(orig_cmd)” 
 +<code> 
 +checked_command: function(orig_cmd) { 
 +</code> 
 +5. Add “orig_cmd();” and “return;” just after it 
 +<code> 
 +checked_command: function(orig_cmd) { 
 +    orig_cmd(); 
 +    return; 
 +</code> 
 +6. Restart the Proxmox web service (also be sure to clear your browser cache, depending on the browser you may need to open a new tab or restart the browser) 
 +<code> 
 +systemctl restart pveproxy.service 
 +</code> 
 +\\ 
 +\\ 
 +revert the changes: 
 +\\ 
 +  - Manually edit proxmoxlib.js to undo the changes you made 
 +  - Restore the backup file you created from the proxmox-widget-toolkit directory: mv proxmoxlib.js.bak proxmoxlib.js 
 +  - Reinstall the proxmox-widget-toolkit package from the repository: apt-get install --reinstall proxmox-widget-toolkit 
 +\\ 
 +\\ 
 +==== check volume group free space ==== 
 + 
 +vgdisplay pve | grep Free 
 + 
 +==== check log size ==== 
 + 
 +<code> 
 +journalctl --disk-usage 
 +</code> 
 + 
 +Limit log size 
 +<code> 
 +SystemMaxUse=50M in /etc/systemd/journald.conf 
 +</code> 
 + 
 +Reload conf afterward 
 +<code> 
 +systemctl restart systemd-journald 
 +</code> 
 + 
 +==== Ubuntu Wayland issue ==== 
 + 
 +https://askubuntu.com/questions/1536250/disabling-wayland-permanently-under-ubuntu-24-04-1-lts-doesnt-work-in-virtualbo
tech_public/tp_proxmox.1739255731.txt.gz · Last modified: by jasonwch (text)

Top ↑