How to Install Proxmox VE on Ubuntu Server (Latest)
Proxmox VE is a virtualization platform that allows you to create and manage virtual machines, containers, and clusters. In this tutorial, we will guide you through the steps to install Proxmox VE on Ubuntu Server (Latest) using the command-line interface.
Requirements
Before proceeding with the installation, you need to ensure that your system meets the following requirements:
- A server running Ubuntu Server (Latest)
- Minimum 4GB of RAM (8GB recommended)
- At least one free physical network interface
Step 1: Add Proxmox VE Repository
The first step is to add the Proxmox VE repository to your system. You can do this by running the following command:
echo "deb http://download.proxmox.com/debian/pve $(lsb_release -sc) pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
This command adds the Proxmox VE repository to your system's list of sources.
Step 2: Add Proxmox VE GPG Key
Next, you will need to add the Proxmox VE GPG key to your system. You can do this by running the following commands:
wget http://download.proxmox.com/debian/proxmox-ve-release-7.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-7.x.gpg
chmod +r /etc/apt/trusted.gpg.d/proxmox-ve-release-7.x.gpg
This will download the Proxmox VE GPG key and assign read permissions to it.
Step 3: Update Your System
Before installing Proxmox VE, we need to update the system. You can do this by running the following command:
apt update && apt dist-upgrade -y
This command will update your system to the latest version.
Step 4: Install Proxmox VE
Once the system has been updated, you can now install Proxmox VE by running the following command:
apt install -y proxmox-ve postfix open-iscsi
This command will install Proxmox VE, as well as the Postfix mail transfer agent and the open-iscsi package which is required for storage.
Step 5: Reboot Your System
After the installation is complete, it is recommended to reboot your system to ensure that all changes take effect. You can do this by running the following command:
reboot
Step 6: Access Proxmox VE Web Interface
After the reboot, you should be able to access the Proxmox VE web interface by opening a web browser and entering the following URL:
https://<your-server-ip-address>:8006
Replace <your-server-ip-address> with the IP address of your Ubuntu server.
Conclusion
Congratulations! You have successfully installed Proxmox VE on Ubuntu Server (Latest) using the command-line interface. You can now start using Proxmox VE to create and manage virtual machines, containers, and clusters.