Skip to content

Virtual Machine (Linux)

Mohammad Heidarinejad edited this page Jul 6, 2015 · 17 revisions

Create Linux Virtual Machine

This page illustrates a simple process to install Ubuntu 14.04 through VirtualBox for the installation of OpenStudio Linux version.

  • Step 1 Download Oracle Virtual Box and install a suitable version of it.

  • Step 2 Open the installed Oracle VM VirtualBOX Manager and click on New tab. addNewMachine

  • Step 3 The process requires you to select the allocation for your hard drive. harDriveType

  • Step 4 Select the VDI type if you install Ubuntu from ISO image. virtualBoxVdi

  • Step 5 Select the Fixed size for the physical memory fixedSize

  • Step 6 Make sure to select enough space for your virtual machine. spaceHardDrive

  • Step 7 After the new machine is ready for the installation of the Ubuntu, you will see the machine in left hand side menu. machineImage

  • Step 8 You need to download a suitable Ubuntu ISO from the Ubuntu download page. After OpenStudio 1.4.0, it is recommended to use Ubuntu 14.04 LTS.

  • Step 9 After you download the ISO file from the Ubuntu page, user needs to right click on the machine and make couple of changes before turning the Ubuntu machine on. In the Settings, you need to select Storage. Then, in the Storage, select the controller IDE and point out to the ISO file. In addition, you need to make sure in the System, change the order of the drives. Makes sure, Hard Drive is the first one. hardDrive

  • Step 10 After these steps, you can turn on the machine. Follow the Ubuntu installation instructions. After the installation process is over, your machine is ready to use.

Install Guest Addition

  • One of the features that is beneficial is to allow full screen access to the virtual machine. For this application, there is a need to install the Guest Additions. The following figure shows how to install the Guest Addition: Guest Addition

  • Sometimes after update/upgrade of the packages, the Guest Addition may not work. You need to unmount the Guest Addition on the left panel and install it again.

Turn Screen Off

  • Building OpenStudio binddings usually requires couple of hours. Therefore, to make sure that the screen does not get locked when the virtual machine working, it is better to disable the lock option. You just need to navigate to the Appearance and select Brightness and Lock. The following figure shows an example on how to turn off the lock feature: systemSettings

lockFeature