To create a new VM myvm from scratch, do the following:
-
Create a blank VM and set its RAM to 1GB:
# prlctl create myvm --distribution centos # prlctl set myvm --memsize 1024
-
Enable VNC console access:
# prlctl set myvm --vnc-mode manual --vnc-port <port> --vnc-passwd <password> - Download the CentOS image from http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso.
-
Connect the image to the VM:
# prlctl set myvm --device-set cdrom0 --image <path_to_image> -
Start the VM:
# prlctl start myvm - Access the VNC console with a VNC viewer.
- Install the OS.
The virtual machine is ready. Proceed to install the guest tools as described in the next section.