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/13 22:28] 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://sspai.com/prime/story/proxmox-homelab-guide-1
  
Line 11: Line 13:
 https://forum.proxmox.com/threads/mediated-vs-passthrough-of-igpu.157811/ https://forum.proxmox.com/threads/mediated-vs-passthrough-of-igpu.157811/
  
 +
 +https://www.reddit.com/r/Proxmox/s/76HbyLJFzi
 ==== Switch to no subscription ==== ==== Switch to no subscription ====
 https://medium.com/@truvis.thornton/proxmox-configuration-change-proxmox-repository-to-fix-update-error-task-error-command-apt-get-1f328dda239a https://medium.com/@truvis.thornton/proxmox-configuration-change-proxmox-repository-to-fix-update-error-task-error-command-apt-get-1f328dda239a
- +\\ 
-==== Remove subscription notification ====+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/ https://techblog.wassenaar.cloud/remove-proxmox-subscription-notice/
 \\ \\
Line 22: Line 32:
 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 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> </code>
-\\ 
 \\ \\
 Manual instruction: 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: revert the changes:
 \\ \\
Line 32: Line 68:
   - Restore the backup file you created from the proxmox-widget-toolkit directory: mv proxmoxlib.js.bak proxmoxlib.js   - 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   - 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.1739456935.txt.gz · Last modified: by jasonwch (text)

Top ↑