Proxmox: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Ubuntu==
==Ubuntu==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
lxc image list images:debian bookworm $(dpkg --print-architecture)
lxc image ls images:debian bookworm $(dpkg --print-architecture)
lxc list -f=json|jq -r '.[]|select(.name == "proxmox")|.name'
lxc ls -f=json|jq -r '.[]|select(.name == "proxmox")|.name'
lxc launch images:debian/12 proxmox --vm
lxc launch images:debian/12 proxmox --vm


lxc list -f=json|jq -r '.[]|select(.state.status == "Running")|[.name, .status]|@tsv'
lxc ls -f=json|jq -r '.[]|select(.state.status == "Running")|[.name, .status]|@tsv'
lxc list -f=json|jq -r '.[]|select(.state.status == "Running")|.name'
lxc ls -f=json|jq -r '.[]|select(.state.status == "Running")|.name'


cat << EXE | lxc exec proxmox -- bash
cat << EXE | lxc exec proxmox -- bash
Line 17: Line 17:
===Ubuntu » LXD===
===Ubuntu » LXD===
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
cat << EXE | lxc exec proxmox -- sudo bash
curl -fsSL http://download.proxmox.com/debian/proxmox-release-bookworm.gpg\
curl -fsSL http://download.proxmox.com/debian/proxmox-release-bookworm.gpg\
  | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/proxmox.gpg >/dev/null
  | gpg --dearmor -o /etc/apt/trusted.gpg.d/proxmox.gpg >/dev/null


DISTRIBUTION=$(. /etc/os-release && echo "${VERSION_CODENAME}")
DISTRIBUTION=\$(. /etc/os-release && echo "\${VERSION_CODENAME}")
cat << SRC | sudo tee /etc/apt/sources.list.d/proxmox.list >/dev/null
cat << SRC | tee /etc/apt/sources.list.d/proxmox.list >/dev/null
deb [arch=$(dpkg --print-architecture)\
deb [arch=\$(dpkg --print-architecture)\
  signed-by=/etc/apt/trusted.gpg.d/proxmox.gpg]\
  signed-by=/etc/apt/trusted.gpg.d/proxmox.gpg]\
  http://download.proxmox.com/debian/pve ${DISTRIBUTION} pve-no-subscription
  http://download.proxmox.com/debian/pve \${DISTRIBUTION} pve-no-subscription
SRC
SRC


echo 'apt-get update;echo;apt list -a --upgradable'|sudo bash
apt-get update;echo
apt list -a --upgradable
EXE
</syntaxhighlight>
</syntaxhighlight>


Line 47: Line 50:
* [https://forum.proxmox.com/threads/generic-solution-when-install-gets-framebuffer-mode-fails.111577/ Proxmox » Install » FrameBuffer Mode Fails]
* [https://forum.proxmox.com/threads/generic-solution-when-install-gets-framebuffer-mode-fails.111577/ Proxmox » Install » FrameBuffer Mode Fails]
* [https://github.com/Telmate/terraform-provider-proxmox Proxmox » PVE » Terraform Provider Plugin]
* [https://github.com/Telmate/terraform-provider-proxmox Proxmox » PVE » Terraform Provider Plugin]
* [https://draculaservers.com/tutorials/how-to-install-proxmox-in-ubuntu/ Proxmox » Install » Qemu Virtual Machine]
* [https://vsys.host/how-to/how-to-install-proxmox-on-debian-12-bookworm-2 Proxmox » Install » Debian 12 Bookworm]
* [https://pve.proxmox.com/pve-docs/ Proxmox » PVE » Documentation]
* [https://pve.proxmox.com/pve-docs/ Proxmox » PVE » Documentation]
* [https://pve.proxmox.com/pve-docs/api-viewer/ Proxmox » PVE » API » Viewer]
* [https://pve.proxmox.com/pve-docs/api-viewer/ Proxmox » PVE » API » Viewer]
Line 121: Line 126:
* [[MinIO]]
* [[MinIO]]
* [[CIDR]]
* [[CIDR]]
* [[UFW]]


| valign="top" |
| valign="top" |
* [[Minikube Systemd]]
* [[Minikube Tunnel]]
* [[Free Up RAM]]


|}
|}

Latest revision as of 19:55, 18 October 2024

Ubuntu

lxc image ls images:debian bookworm $(dpkg --print-architecture)
lxc ls -f=json|jq -r '.[]|select(.name == "proxmox")|.name'
lxc launch images:debian/12 proxmox --vm

lxc ls -f=json|jq -r '.[]|select(.state.status == "Running")|[.name, .status]|@tsv'
lxc ls -f=json|jq -r '.[]|select(.state.status == "Running")|.name'

cat << EXE | lxc exec proxmox -- bash
apt-get update;echo
apt list -a --upgradable; apt-get upgrade -y
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
EXE

Ubuntu » LXD

cat << EXE | lxc exec proxmox -- sudo bash
curl -fsSL http://download.proxmox.com/debian/proxmox-release-bookworm.gpg\
 | gpg --dearmor -o /etc/apt/trusted.gpg.d/proxmox.gpg >/dev/null

DISTRIBUTION=\$(. /etc/os-release && echo "\${VERSION_CODENAME}")
cat << SRC | tee /etc/apt/sources.list.d/proxmox.list >/dev/null
deb [arch=\$(dpkg --print-architecture)\
 signed-by=/etc/apt/trusted.gpg.d/proxmox.gpg]\
 http://download.proxmox.com/debian/pve \${DISTRIBUTION} pve-no-subscription
SRC

apt-get update;echo
apt list -a --upgradable
EXE

References