/go/proxmox: proxmox from the Command Line

/go/proxmox turns a Debian 12 ("bookworm") server into a Proxmox VE virtualization host. It: The installation steps run once: after the repository file exists, running the command again only repeats the hostname check and the interface backup (see Troubleshooting). Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# Install Proxmox VE
/go/proxmox

Then reboot the server so it starts with the Proxmox kernel.

Options

None.

Examples

# Install inside screen so a dropped SSH connection doesn't stop it
screen -S proxmox /go/proxmox

# Check the hostname before you start (it needs a name and a domain)
cat /etc/hostname

# After the reboot, check the installed version
pveversion

After the reboot, open the web interface at https://<server-ip>:8006 and log in as root with the server’s root password.

Output

The command prints no summary. You see the output of the package manager as it works. The installation takes a while, so run it inside screen so a lost connection doesn’t interrupt it.

Outcome What you get
Hostname has fewer than 2 dots Invalid Server Hostname, A hostname should consist of a name and a domain name. All valid hostnames should have 2 dots in them. Exit status 1. Nothing is changed.
First run Package manager output for each step.
Repository file already exists Nothing is installed. Only the hostname check and the interface backup run.

The command does not stop when a step fails, and its exit status is that of the last command it ran. Read the output for errors.

Log

Each run appends one line to /var/log/go/proxmox.log:

[Nov 21 12:00:00]# proxmox

See the full reference at /go/proxmox and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *