Guideschevron_rightServers

Servers · 12 min read · Updated

How to Install Proxmox VE on a Dedicated Server

To install Proxmox VE on a dedicated server, order it with Debian 13, make the hostname resolve to the server's public address, add the Proxmox repository, install the Proxmox kernel and the proxmox-ve package, then reboot into the web interface on port 8006. For public addresses on your virtual machines, put your routed IP block on a bridge with no physical port, so the host forwards traffic for it; for private machines, add a second bridge with NAT. Allow about 30 minutes.

Choosing a Server for Proxmox

A Proxmox host is sized by the virtual machines you will run on it: add up their vCPUs and memory, leave a few gigabytes for the host, and pick a server with room to grow. Our servers with the most threads:

Dedicated servers suited to Proxmox hosts
ServerCores / threadsMemoryFromLocations
AMD Dual EPYC 7702128 / 256512 GB$1,099.00/moAshburn, Dallas
AMD EPYC 9455P48 / 96512 GB$999.00/moDallas
AMD EPYC 945548 / 96512 GB$2,299.00/moDallas
AMD EPYC 7443P24 / 48512 GB$969.00/moAshburn, Dallas

AMD EPYC vs Ryzen explains why virtualization hosts usually suit EPYC: more cores, more memory channels and more memory.

Before You Start

  • Choose Debian 13 when you order. Proxmox VE 9 is built on it.
  • Note the server's main IPv4 address, netmask and gateway, and any IP blocks, from the server's page in your dashboard. The examples below use 198.51.100.5/29 with gateway 198.51.100.1 for the server and 203.0.113.16/28 for a routed block.
  • Work inside tmux, so a dropped SSH connection does not stop an install halfway, and run the first checks on a new dedicated server before you begin.

1. Make the Hostname Resolve to the Public Address

Proxmox needs the hostname to resolve to the server's real address, not to 127.0.1.1. Edit /etc/hosts so it has a line like this, and remove the hostname from the 127.0.1.1 line if there is one:

198.51.100.5   pve1.example.com pve1
hostname --ip-address     # must print 198.51.100.5, not 127.0.1.1

2. Add the Proxmox Repository

wget https://enterprise.proxmox.com/debian/proxmox-archive-keyring-trixie.gpg \
  -O /usr/share/keyrings/proxmox-archive-keyring.gpg

cat > /etc/apt/sources.list.d/pve-install-repo.sources << EOL
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOL

apt update && apt full-upgrade

Proxmox publishes the key's checksum on its “Install Proxmox VE on Debian 13 Trixie” page; compare it with sha256sum /usr/share/keyrings/proxmox-archive-keyring.gpg if you want to be sure.

3. Install the Proxmox Kernel and Reboot

apt install proxmox-default-kernel
systemctl reboot

4. Install Proxmox VE

apt install proxmox-ve postfix open-iscsi chrony

When postfix asks, choose Local only unless you have a mail relay. Then remove the Debian kernel and os-prober, which Proxmox does not need:

apt remove linux-image-amd64 'linux-image-6.12*'
update-grub
apt remove os-prober

Open https://198.51.100.5:8006 (your server's address) and sign in as root with the Linux PAM realm.

5. Public Addresses for Virtual Machines: a Routed Bridge

Our extra IP blocks are routed to the server's main address. So the host keeps the main address on its network card, and the block goes on a bridge with no physical port. The host forwards traffic between the two, and only the server's own MAC address is ever seen on the network. Find the network card's name first:

ip -br link       # e.g. eno1, enp1s0f0

Keep a copy of the working file (cp /etc/network/interfaces /root/interfaces.bak), then edit /etc/network/interfaces. Replace eno1 with your card's name and the addresses with yours:

auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
    address 198.51.100.5/29
    gateway 198.51.100.1
    post-up echo 1 > /proc/sys/net/ipv4/ip_forward
    post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp

# The routed block: the host takes its first usable address,
# and virtual machines use the rest.
auto vmbr0
iface vmbr0 inet static
    address 203.0.113.17/28
    bridge-ports none
    bridge-stp off
    bridge-fd 0
ifreload -a
ip -br addr       # eno1 has the main address, vmbr0 the block's first address

In each virtual machine, attach the network card to vmbr0 and give it an address from the block with the bridge as its gateway:

Example network settings inside a virtual machine
AspectValue
Address203.0.113.18/28 (then .19, .20 and so on for the next machines)
Gateway203.0.113.17
DNSAny public resolver, for example 1.1.1.1

6. Private Virtual Machines Behind NAT

Machines that only need outgoing access, such as a database or a build worker, can share the host's address instead of using a public one. Add a second bridge with a private range:

auto vmbr1
iface vmbr1 inet static
    address 10.10.10.1/24
    bridge-ports none
    bridge-stp off
    bridge-fd 0
    post-up   echo 1 > /proc/sys/net/ipv4/ip_forward
    post-up   iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE
    post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eno1 -j MASQUERADE

Give those machines addresses such as 10.10.10.2/24 with gateway 10.10.10.1. If you turn on the Proxmox firewall and outgoing connections from them stop working, the Proxmox network documentation describes adding conntrack zones for the firewall bridges.

7. Lock Down the Host

  • Allow port 8006 (the web interface) and SSH only from your own addresses: in Datacenter → Firewall in Proxmox.
  • Turn on two-factor authentication for root under Datacenter → Permissions → Two Factor.
  • Use SSH keys and turn off password sign-in, as in securing a new Linux server.
  • Back up the virtual machines somewhere the host cannot delete them. Backing up Proxmox off-site sends them to a storage box.

Common Questions

  • Can I install Proxmox VE on a dedicated server without the ISO?

    Yes. Proxmox VE installs on top of Debian, which is how this guide does it: order the server with Debian 13, add the Proxmox repository and install the proxmox-ve package. The result is the same as the ISO install.

  • How do my virtual machines get public IP addresses?

    Our extra IP blocks are routed to the server's main address. Proxmox puts the block on a bridge with no physical port and forwards traffic for it, so every virtual machine can use an address from the block with the bridge as its gateway. No extra MAC addresses ever reach the network.

  • Do I need a Proxmox subscription?

    No. The pve-no-subscription repository used here is free and fine for most servers. A subscription gives access to the more conservatively tested enterprise repository and to Proxmox support.

  • What if I lock myself out while changing the network?

    Open a support ticket and we can reach the server's console for you. To avoid it, keep a copy of the working network file and check the new one carefully before applying it.

Plans and prices

Dedicated Servers

Bare-metal servers with many cores and lots of memory. Choose Debian 13 when you order and follow this guide.

See all plans
  • AMD Ryzen 9 5950X

    16 Cores · 128 GB RAM · 2x 1TB NVMe

    Ashburn, VA · Dallas, TX · 50 TB transfer · 10 GigE

    $399.00/mo

  • AMD Ryzen 9 9950X

    16 Cores · 192 GB RAM · 2x 2 TB NVMe

    Ashburn, VA · Dallas, TX · 50 TB transfer · 10 GigE

    $669.00/mo

  • AMD EPYC 4585PX

    16 Cores · 128 GB RAM · 2x 6.4TB NVMe Gen4

    Dallas, TX · 200 TB transfer · 50 Gbps

    $849.00/mo

  • AMD EPYC 7443P

    24 Cores · 512 GB RAM · 2x 2TB NVMe

    Dallas, TX · Ashburn, VA · 50 TB transfer · 10 GigE

    $969.00/mo

Keep Reading

All guides