Difference between revisions of "Ejblinux-build-diary"

From Ed's Mediawiki
(Ubuntu Version and Virtual Machine)
Line 9: Line 9:
  
 
==Ubuntu Version and Virtual Machine==
 
==Ubuntu Version and Virtual Machine==
 +
 +
*64-bit Ubuntu 11.04 - the Natty Narwhal - released in April 2011 and supported until October 2012.
 +
 +
*VMware Player 3.1.4 build-385536
 +
 +
Once VMware was installed, I was able to install Ubuntu with very little effort, because VMware has specific support for Linux installations.  I just had to specify the ISO file I had downloaded from the Ubuntu site and the installation went quickly.  Note that you can also download complete virtual machines called "Virtual Appliances" that already have the operating system installed.  I wanted the latest version, so I did it from the ISO.
 +
 +
The virtual machine includes a virtual disk drive and virtual peripherals like the printer and network adapter.  I let this default because it is easy to change things later.
 +
 +
===Network settings===
 +
By default, the VM's network is set up to share the IP address of the host machine, which I did not want.  By using the virtual machine settings GUI, I was able to set the networking to bridge through the host, which allows the virtual machine to have its own IP address.  I also set "Replicate physical network connection state."  With this setup, this virtual machine looks to the network router like a physical machine.  For the moment, I am using DHCP for IP assignment, but will probably set up a fixed address later.
 +
 +
===Printers===
 +
VMware uses some magic to create virtual versions of the host's printers, so I don't have to play games with linux printer drivers.  This includes the PDFCreator virtual printer I use to create PDF files on Windows, but the PDF files are created on the host, not the virtual machine.

Revision as of 01:35, 7 July 2011

Home

ejblinux1 Build Diary

Introduction

ejblinux1 is an installation of Ubuntu Linux on a virtual machine running on ejbdesk1. The virtual machine is running under VMware Player, which is free virtual machine I downloaded after trying to do this with the Windows virtual machine that comes with Windows 7.

The purpose of this Linux installation is to give me a platform for Linux based development and learning Linux specific web server stuff.

Ubuntu Version and Virtual Machine

  • 64-bit Ubuntu 11.04 - the Natty Narwhal - released in April 2011 and supported until October 2012.
  • VMware Player 3.1.4 build-385536

Once VMware was installed, I was able to install Ubuntu with very little effort, because VMware has specific support for Linux installations. I just had to specify the ISO file I had downloaded from the Ubuntu site and the installation went quickly. Note that you can also download complete virtual machines called "Virtual Appliances" that already have the operating system installed. I wanted the latest version, so I did it from the ISO.

The virtual machine includes a virtual disk drive and virtual peripherals like the printer and network adapter. I let this default because it is easy to change things later.

Network settings

By default, the VM's network is set up to share the IP address of the host machine, which I did not want. By using the virtual machine settings GUI, I was able to set the networking to bridge through the host, which allows the virtual machine to have its own IP address. I also set "Replicate physical network connection state." With this setup, this virtual machine looks to the network router like a physical machine. For the moment, I am using DHCP for IP assignment, but will probably set up a fixed address later.

Printers

VMware uses some magic to create virtual versions of the host's printers, so I don't have to play games with linux printer drivers. This includes the PDFCreator virtual printer I use to create PDF files on Windows, but the PDF files are created on the host, not the virtual machine.