Book Image

Learning Proxmox VE

Book Image

Learning Proxmox VE

Overview of this book

Proxmox VE 4.1 provides an open source, enterprise virtualization platform on which to host virtual servers as either virtual machines or containers. This book will support your practice of the requisite skills to successfully create, tailor, and deploy virtual machines and containers with Proxmox VE 4.1. Following a survey of PVE's features and characteristics,this book will contrast containers with virtual machines and establish cases for both. It walks through the installation of Proxmox VE, explores the creation of containers and virtual machines, and suggests best practices for virtual disk creation, network configuration, and Proxmox VE host and guest security.Throughout the book, you will navigate the Proxmox VE 4.1 web interface and explore options for command-line management
Table of Contents (14 chapters)

Upgrading PVE from the command line


At the login: prompt, type root and press  Enter; when the password prompt appears, enter the root user's password that you defined during the installation.

To optimize performance, maximize uptime, and keep the system secure, it's imperative that software patches are applied to Proxmox VE.

Assuming you're getting acquainted with Promox VE before committing to a support subscription, a change must be made to the software repositories.

To update and upgrade PVE when it's not attached to a support subscription, the following steps are necessary:

  1. Disable the enterprise repository.
  2. Add a new repository called no-subscription.
  3. Use apt to update the list of available packages.
  4. Use apt to upgrade installed packages if upgrades exist.
  5. Upgrade the distribution with apt.

Disabling the enterprise repository

Without this step, apt-get update will fail as apt tries to access the enterprise repo. So, we'll comment out the enterprise repo in the list of repositories:

    sed -i...