Is it possible to update others PVE 2.x nodes without Internet?

cesarpk

Well-Known Member
Mar 31, 2012
770
3
58
Hi to all

I need to know if is it possible to update others PVE 2.x nodes into my LAN without Internet?

The idea is to update by Internet in single PVE node, and then using the same packages downloaded and using NFS update the others PVE nodes.

I need know what is the command (CLI) using it correctly

I will be very grateful to anyone who can dispel this question

Best regards
Cesar
 
Last edited:
You could mirror the Proxmox Debian repository (http://download.proxmox.com/debian) onto a local server, and update your Proxmox's /etc/apt/sources.list to point to your new server. Thats the easiest solution.

The more difficult version is to download all the required .deb's to a USB stick, and run dpkg -i *.deb from there. The difficulty is that you need to know which packages you need. This, however, can be made easy assuming all machines have equal configuration:

- Get a machine you wish to update with Internet access
- Run apt-get clean
- Run apt-get update && apt-get upgrade
- Copy all .deb's from /var/cache/apt/archives/ to a USB stick. This should be all the deb's you need.
- On the machines without Internet, insert the USB stick, run dpkg -i *.deb from the USB stick's directory containing the deb's.
 
If I remember good Debian is able to upgrade distro from CD. So maybe you are able to burn newest Proxmox ISO and update from CD (via apt-get).

Regards,
michu
 
Thanks to all

Now i know by CLI to use for localx updates: dpkg -iGE *.deb

Also with CD and apt-mirror, Excelent !!! Thanks :p

Best regards
Cesar
 
1. Install deb-mirror on a host conected to Internet.
2. Create a file with this, in /usr/local/bin and do it executable.
Code:
#!/bin/sh
exec debmirror \
    --progress \
    --verbose \
    --nosource \
    --host=download.proxmox.com \
    --root=debian \
    --dist=squeeze \
    --section=pve \
    --proxy=http://172.16.0.1:3128 \
    --arch=amd64 \
    --timeout=600 \
    --method=http \
    --postcleanup \
    --ignore-release-gpg \
    --ignore-small-errors \
    /var/ftp/proxmox/
exit 0
3. Modify it to your real need, especially the proxy and location of the files options.
4. Run it manually or using cron.
5. Share the files over ftp or http, now you can use it in your LAN.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!