Difference between revisions of "Hypervisors - Proxmox"

From The TinkerNet Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[https://www.proxmox.com/en/ Proxmox Web Site]
 
[https://www.proxmox.com/en/ Proxmox Web Site]
  
[https://www.youtube.com/watch?v=-bX0zMCWEIs Proxmox VE 5.3 Install on Lenovo x3650 M5 Rack Server (Morton Hjorth)]
+
[https://t310.tinkernet.ca:8006/ '''<span style="font-size:larger">User Interface</span>'''] (on the test server...)
  
[https://www.jamescoyle.net/how-to/614-remove-the-proxmox-no-subscription-message Remove the Proxmox “No Valid Subscription” message]
+
=Learning Proxmox=
  
[https://forum.proxmox.com/threads/ve_host-web-interface-setup-for-dhcp.27481/ VE_Host (web interface) setup for DHCP]
 
 
[https://t310.tinkernet.ca:8006/ '''<span style="font-size:larger">User Interface</span>'''] (on the test server...)
 
=Learning Proxmox=
 
 
==Installing==
 
==Installing==
  
Line 14: Line 10:
  
 
==Configuring==
 
==Configuring==
 +
It's based on Debian, so... See [[NerdWiki:Mini Debian|Minimal Debian]] for hints about Debian
 +
 
===Fixing oddities===
 
===Fixing oddities===
 
====Get rid of the bloody subscription notice====
 
====Get rid of the bloody subscription notice====
 
[https://johnscs.com/remove-proxmox51-subscription-notice/ Remove Proxmox Subscription Notice]
 
[https://johnscs.com/remove-proxmox51-subscription-notice/ Remove Proxmox Subscription Notice]
 +
 +
Basically:
 +
 +
* <code>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</code>
 +
 
====Get non-paid Proxmox to actually do updates====
 
====Get non-paid Proxmox to actually do updates====
 
By default, Proxmox enables '''http://enterprise.proxmox.com/debian/pve''' as its update repository.
 
By default, Proxmox enables '''http://enterprise.proxmox.com/debian/pve''' as its update repository.
Line 32: Line 35:
 
  # PVE pve-no-subscription repository provided by proxmox.com,
 
  # PVE pve-no-subscription repository provided by proxmox.com,
 
  # NOT recommended for production use
 
  # NOT recommended for production use
  deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
+
  deb <nowiki>http://download.proxmox.com/debian/pve</nowiki> bullseye pve-no-subscription
  
 
Then:
 
Then:

Latest revision as of 11:19, 10 May 2022

Proxmox Web Site

User Interface (on the test server...)

Learning Proxmox

Installing

<<<WIP>>>

Configuring

It's based on Debian, so... See Minimal Debian for hints about Debian

Fixing oddities

Get rid of the bloody subscription notice

Remove Proxmox Subscription Notice

Basically:

  • 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

Get non-paid Proxmox to actually do updates

By default, Proxmox enables http://enterprise.proxmox.com/debian/pve as its update repository.

You have to have a PAID subscription to use this repository...

Updates FAIL if this repository is enabled.

To fix this, you must MANUALLY edit /etc/apt/sources.list (Don't know WHY it can't be added in the GUI...)

  • vi /etc/apt/sources.list

& add in:

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

Then:

(Sure would be nice if this could either be completely done on the command line or done automatically during install...)

Server addressing via DHCP instead of static

Edit the interfaces file:

  • vi /etc/network/interfaces

& change

auto vmbr0
iface vmbr0 inet static
        address 192.168.8.12/23
        gateway 192.168.8.1
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

to

auto vmbr0
iface vmbr0 inet dhcp
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

Then ignore the address it shows on the console. (Until I figure out where in hell it's storing that...)