Table of Contents#
- Prerequisites
- Logging into Proxmox
- Navigating to the Virtual Machine Creation Wizard
- General Settings
- OS Template Selection
- System Configuration
- Hard Disk Configuration
- CPU and Memory Allocation
- Network Configuration
- Preview and Creation
- Starting the Virtual Machine
Prerequisites#
- A running Proxmox Virtual Environment installation. This could be on a dedicated physical server or a virtualized server environment.
- Access to the Proxmox web interface. You should have the IP address or domain name of the Proxmox server and valid login credentials (usually root or a user with appropriate permissions).
- Appropriate ISO images or operating system templates. If you're installing an operating system from an ISO, make sure it's uploaded to the Proxmox storage. You can do this through the "Datacenter" -> "Storage" section in the Proxmox web interface.
Logging into Proxmox#
- Open your web browser and enter the IP address or domain name of your Proxmox server followed by port 8006 (e.g.,
https://your - server - ip:8006). - You'll see a login screen. Enter your username (usually root if you're logging in as the administrator), your password, and select the realm (usually
pam). - Click the "Login" button. Once authenticated, you'll be taken to the Proxmox web interface dashboard.
Navigating to the Virtual Machine Creation Wizard#
- On the left - hand side panel of the Proxmox web interface, click on the node where you want to create the virtual machine.
- Right - click on the node name and select "Create VM" from the context menu. This will open the virtual machine creation wizard.
General Settings#
- VM ID: Proxmox assigns a unique identifier to each virtual machine. You can either let Proxmox auto - generate the ID or enter a custom one. The ID must be unique within the Proxmox environment.
- Name: Give your virtual machine a descriptive name. This will help you easily identify it later.
- Tags: You can optionally add tags to your virtual machine for better organization. Tags can be used for filtering and management purposes.
OS Template Selection#
- ISO Image: If you're installing an operating system from an ISO image, select the appropriate image from the dropdown menu under "ISO Image". The ISO images should be stored in one of your Proxmox storage devices.
- Guest OS Type: Select the type of operating system you'll be installing, such as Linux, Windows, or other. Select the appropriate version of the OS if available.
System Configuration#
- BIOS: Choose between SeaBIOS (the open - source BIOS) and OVMF (UEFI BIOS). Most modern operating systems support UEFI and can take advantage of its features like faster boot times and secure boot.
- Machine: Select the appropriate machine type. The default is usually fine for most use cases, but you might need to adjust it depending on the guest operating system.
- Clock: Decide whether the virtual machine will use the host clock or its own independent clock. For better time synchronization, it's often recommended to use the host clock.
Hard Disk Configuration#
- Storage: Select the storage device where you want to store the virtual machine's hard disk. This could be local storage or a network - attached storage device.
- Disk Size: Specify the size of the virtual hard disk. Consider the requirements of the operating system and the applications you'll be running. You can always expand the disk size later if needed.
- Format: Choose the disk format, such as raw or qcow2. qcow2 is a more flexible format that supports features like snapshots and thin provisioning.
CPU and Memory Allocation#
- CPU Cores: Allocate the number of CPU cores to the virtual machine. The number of cores you assign depends on the workload of the virtual machine. For light - weight tasks, 1 - 2 cores might be sufficient, while more resource - intensive applications may require more.
- CPU Type: Select the CPU type to emulate. You can choose to expose the host CPU features to the virtual machine for better performance.
- Memory: Allocate the amount of RAM to the virtual machine. Make sure to leave enough memory for the host system and other virtual machines running on the same server.
Network Configuration#
- Bridge: Select the network bridge to which the virtual machine will be connected. The bridge allows the virtual machine to communicate with the external network.
- Model: Choose the network adapter model. The default model should work for most operating systems, but you might need to change it if you encounter network issues.
Preview and Creation#
- Review all the settings you've configured in the previous steps. Make sure everything is correct.
- Click the "Finish" button to create the virtual machine. Proxmox will start the process of creating the virtual machine based on your settings.
Starting the Virtual Machine#
- Once the virtual machine is created, you'll see it listed under the node in the Proxmox web interface.
- Click on the virtual machine name and then click the "Start" button in the toolbar.
- You can then access the virtual machine's console by clicking the "Console" tab. This will open a window where you can interact with the virtual machine during the operating system installation process.
Conclusion#
Creating a virtual machine in Proxmox is a straightforward process once you understand the different steps involved. By following this guide, you can easily set up a new virtual machine, allocate the necessary resources, and start using it for your testing, development, or other purposes.
References#
- Proxmox Virtual Environment Documentation: https://pve.proxmox.com/pve-docs/
- Proxmox Community Forums: https://forum.proxmox.com/