The VM image is set up so that VirtualBox will forward TCP connections to localhost:2222 on the Host machine to port 22 (ssh) on the VM. To start a GUI now: sudo systemctl start lightdm Connect to your VM
#Vm virtualbox install
However, if you’d prefer your VM to boot directly to a graphical interface in the future, after logging in run the following command: sudo apt-get install -reinstall lightdm We recommend that you interact with your VM primarily using ssh and shared folders. However, you will be forced to change the password on first login. Your username is cs144, and the default password is also cs144. Success! Back at the home screen, select your newly imported VM and hit the Start icon. more CPUs lets you compile with greater parallelismĪdjust the CPU and Memory settings if you’d like Loading….4 GiB of RAM should be enough, if your host machine can spare that much for the VM.The default settings are acceptable, but it’s better if you can increase the number of virtual CPUs and the amount of RAM available to your VM in order to increase performance. Type in or browse to the location of the cs144_vm.ova file you downloaded above. Type Ctrl-I or click “File” -> “Import Appliance…” to bring up the import window. You should see this: VirtualBox home screen This is a large file, so use a wired connection or sit close to an access point while downloading! On arch, pacman -S virtualbox virtualbox-host-modules-arch (or virtualbox-host-dkms if you’re running a custom kernel)ĬentOS (and probably Fedora) users should consult the wiki On Debian-derived distributions (like Ubuntu), apt-get install virtualbox If your host OS is linux, your distribution may already package virtualbox:
This guide will walk you through setting up the provided VM image in VirtualBox. Setting up your CS144 VM using VirtualBox Setting up your CS144 VM using VirtualBox