UbuntuHelp:Ubuntu as Guest OS
Install Ubuntu server in a virtual machine
These instructions use Virtualbox as an example. Instructions for other virtual machines are likely to be similar. There is a version of the Ubuntu server that is optimised for usage within a virtual machine. It is provided on the Ubuntu Server edition LiveCD. The LiveCD image (.iso) found here can be downloaded onto your hard drive. It can then be installed directly into your virtual machine from the hard drive. Alternatively, you can also burn the .iso image onto a CD and install Ubuntu Server into the virtual machine from the CD. Both methods work identically during the Ubuntu Server installation process. The free version of Virtualbox only allows the use of a 32-bit operating system as a guest OS, so you should download the 32-bit Ubuntu server (.iso) image for use with the free Virtualbox. Other virtual machines may have similar limitations, so in general a 32-bit Ubuntu OS is safest.
- Start the virtual machine you created in the previous step.
Virtualbox -> Ubuntu Virtual Server (highlighted) -> Start The "First Run Wizard" will prompt for the location of the installation disk -> Next -> CD/DVD-ROM device (ticked) -> Media Source:
- select the CD-ROM drive (if you burned the LiveCD (.iso) image onto a physical CD), or
- browse for the folder where you stored the (.iso) image onto your hard drive, if you did not burn it to a physical CD
-> Next ->
- Install Ubuntu server virtual machine edition:
- Choose language: English ->
- Important: note this step carefully! Select the minimal virtual machine installation mode:
- Click the F4 (modes) key -> Install a minimal virtual machine ->
- Install Ubuntu Server
- Select your installation options. When asked about partitioning, use the guided partitioning method and use the entire disk. This uses the entire virtual machine disk (which is 8 GB or whatever size you created when creating the virtual machine), not the entire physical hard drive disk.
- Task selection. A menu will appear to select options for additional packages to be installed along with the server. Now is a good time to install two packages that will be required by WorldVistA: the LAMP (Linux, Apache2, MySQL, and PHP) server package, and the OpenSSH package. Make sure these two packages are starred 9use the space button to select them) before completing the installation.
- You will be prompted to enter an MySQL root user password during the LAMP server package installation. This password becomes important later on (in some instances). Record your chosen MySQL password in a safe location. Do not use your primary user password as the MySQL password; it ought to be unique.
- Finish the remainder of the ubuntu server installation. At the conclusion the ubuntu system will automatically reboot within the virtual machine. When it restarts, you will then have a fully function Ubuntu Server within the virtual machine. Immediately update the operating system:
sudo apt-get update sudo apt-get upgrade