Virtual Desktop
Home > Developer Guide > Buildkit The Virtual Desktop is an appliance. It includes a graphical environment (XFCE), web services (nix), and editor (VS Code).
The virtual desktop is primarily intended to facilitate education and training. It provides broad functionality and broad compatibility with minimal configuration work. However, it may not have the same speed or the same applications as your regular desktop.
??? info "Major features"
These instructions will create a virtual-machine with the following features:
* __Interpreters__: PHP-CLI, NodeJS
* __Servers__: Apache HTTPD, MySQL, PHP-FPM, MailHog, Redis <!-- Memcached is installed but disabled by default -->
* __Web Applications__: phpMyAdmin
* __Desktop Applications__: Firefox, Gedit, Visual Studio Code, XFCE4
Additionally, the virtual-machine includes a copy of `buildkit` in `$HOME/buildkit`.
??? info "Trade-offs"
* __Pro__: Comprehensive functionality and compatibility. Little configuration. Solid isolation from main desktop. Perform one big download rather than many small downloads.
Closely matches the official test-environment on civicrm.org.
* __Con__: Virtualization reduces performance and increases hardware requirements. Large download may take a long time. Hard to share applications or data with your regular desktop.
Requirements
-
Multi-core CPU (Intel/AMD/Apple Silicon)
-
8+ GB RAM
!!! info "By default, the virtual-machine is only configured to use 4 GB. However, the host machine should have extra RAM for its own purposes."
-
5 - 15 GB storage space
!!! info "The base virtual-machine is only 3-5 GB. However, you may need extra working-space to facilitate installation."
-
Virtualization software
!!! info "The suggested software depends on your operating-system and CPU."
Here are some configurations that should work with this virtual-machine: | OS | CPU | Suggested Software | | -- | -- | -- | | Linux | Intel/AMD (x86-64) | [Virtual Box](http://virtualbox.org/) or [VMWare Workstation Player](https://www.vmware.com/products/workstation-player.html) | | Windows | Intel/AMD (x86-64) | [Virtual Box](http://virtualbox.org/) or [VMWare Workstation Player](https://www.vmware.com/products/workstation-player.html) | | MacOS | Intel/AMD (x86-64) | [Virtual Box](http://virtualbox.org/) or [VMWare Fusion](https://www.vmware.com/products/fusion.html) | | MacOS | Apple M1(*) (arm64) | [Mac UTM](https://mac.getutm.app/) | Microsoft HyperV, Linux KVM, and Parallels Desktop may work, but they have not been tested, and they require an extra conversion step.
Download
Choose the download based on your CPU:
CPU | Download |
---|---|
Intel/AMD (x86-64) | CiviDev-2.0.alpha4-x86.ova |
Apple M1(*) (arm64) | CiviDev-2.0.alpha4-arm64.utm.zip |
Import/Open VM
You will need to import or open the virtual-machine. Here are instructions for each application:
Software | Instructions |
---|---|
VirtualBox | Open the CiviDev-*.ova file using "File: Import Appliance" |
VMWare Workstation Player | Open the CiviDev-*.ova file using "File: Open a Virtual Machine" |
VMWare Fusion | Open the CiviDev-*.ova file using "File: Import" |
Parallels | Convert and open the CiviDev-*.ova file using Convert from OVF |
Mac UTM | In the MacOS "Finder", extract the CiviDev-*.zip file. This will create the CiviDev-*.utm folder. Double-click to run. |
!!! tip "Fine tune the virtual hardware"
When you import or open the virtual machine, several default values will be set. Consider updating these values for improved performance:
* __RAM__: Expand to 6 GB
* __CPU__: Expand to 6 cores
* __(*VirtualBox*) Video RAM__: Expand to 128 MB
* __(*VirtualBox*) Video Driver__: VMSVGA ([details](https://superuser.com/questions/1403123/what-are-differences-between-vboxvga-vmsvga-and-vboxsvga-in-virtualbox))
Startup and Login
- Start the newly imported virtual-machine
- Login as user "cividev" with password "cividev"
Next steps
After you login, there will be a README.md
on the desktop. It has suggestions for next steps.