Difference between revisions of "Astronaut CPRS in Linux"

From VistApedia
Jump to: navigation, search
(Place the virtual machine on a USB flash drive)
(Place the virtual machine on a USB flash drive)
Line 21: Line 21:
 
  virtualbox -startvm "''Win98SE_CPRS''"
 
  virtualbox -startvm "''Win98SE_CPRS''"
  
=== Place the virtual machine on a USB flash drive ===
+
=== Copy the virtual machine onto a USB flash drive or another computer ===
*Because a virtual machine can be copied and moved anywhere, it is possible to create the entire VirtualBox virtual machine (in a 2 to 8 Gb file) and then place the entire virtual machine on a USB flash drive (with enough storage to accommodate the 2 - 8 Gb file). The USB flash drive can then be plugged into (and the virtual machine run) from any computer that already has VirtualBox installed on it. (This works identically no matter whether the computer running VirtualBox is a Windows computer or a Linux computer.) See [http://jen3ral.wordpress.com/2009/03/02/copying-a-virtualbox-virtual-machine-onto-another-host-computer/ this introductory tutorial].
+
*Because a virtual machine can be copied and moved anywhere, it is possible to create the entire VirtualBox virtual machine (in a 2 to 8 Gb file) and then place the entire virtual machine on a USB flash drive (with enough storage to accommodate the 2 - 8 Gb file) or onto another computer. The USB flash drive can then be plugged into (and the virtual machine run) from any computer that already has VirtualBox installed on it. (This works identically no matter whether the computer running VirtualBox is a Windows computer or a Linux computer.) See [http://jen3ral.wordpress.com/2009/03/02/copying-a-virtualbox-virtual-machine-onto-another-host-computer/ this introductory tutorial].
  
 
*See [[Virtual_Windows98#Copy_the_virtual_machine_to_a_USB_flash_drive|these details]].
 
*See [[Virtual_Windows98#Copy_the_virtual_machine_to_a_USB_flash_drive|these details]].
Line 29: Line 29:
 
:*Licensing. Each copy of Windows requires a license. A bulk licensing scheme with Microsoft would have to be negotiated by your organization ($$$$$!) If you don't, you won't be able to activate your copy of Windows (except for Windows 98) or update any copy of Windows running within a virtual machine (unless it is licensed).
 
:*Licensing. Each copy of Windows requires a license. A bulk licensing scheme with Microsoft would have to be negotiated by your organization ($$$$$!) If you don't, you won't be able to activate your copy of Windows (except for Windows 98) or update any copy of Windows running within a virtual machine (unless it is licensed).
 
:*[[Virtual_Windows98|Windows 98 as a guest operating system]] in VirtualBox has some limitations. See the VirtualBox website for clarifications ([http://www.virtualbox.org/wiki/User_FAQ here, for example].)
 
:*[[Virtual_Windows98|Windows 98 as a guest operating system]] in VirtualBox has some limitations. See the VirtualBox website for clarifications ([http://www.virtualbox.org/wiki/User_FAQ here, for example].)
:*Depending on how much RAM the host computer has, it can be very slow.
+
:*Depending on how much RAM the host computer has, running a virtual machine from a USB drive can be slower.
  
 
== OpenVistA in Linux ==
 
== OpenVistA in Linux ==

Revision as of 16:51, 6 March 2010

Astronaut TMG-CPRS in Linux

  • I am not able to run TMG-CPRS in either the Wine platform or the Mono platform in Linux. However, I have no problem running it in a virtual machine (in which Windows is installed).

Install Astronaut TMG-CPRS in a VirtualBox virtual machine

Use VirtualBox in (K)Ubuntu to create the virtual machine

Use VirtualBox in Windows to create the virtual machine

  • As an alternative, the details in the above section can be followed using VirtualBox in a Windows environment, as well. Create the virtual machine, install and configure the Astronaut CPRS package within the virtual machine, and create and configure the key pair for SSH connection, as above.
  • Once the virtual machine is created, the entire virtual machine can be copied onto a Linux machine (or onto a USB flash drive) and run from VirtualBox in Linux. Refer to the VirtualBox instructions for further instructions. In general, copy the contents of C:\Users\user\.VirtualBox on the Windows machine to /home/user/.VirtualBox on the Linux machine.

Run TMG-CPRS in the VirtualBox (Windows) virtual machine on Linux

  • Create a Menu Item / Shortcut in (K)Ubuntu Linux to start the virtual machine automatically. In the example below, the virtual machine I created in VirtualBox is named Win98SE_CPRS. In the Command: line of the Menu Item / Shortcut I use
virtualbox -startvm "Win98SE_CPRS"

Copy the virtual machine onto a USB flash drive or another computer

  • Because a virtual machine can be copied and moved anywhere, it is possible to create the entire VirtualBox virtual machine (in a 2 to 8 Gb file) and then place the entire virtual machine on a USB flash drive (with enough storage to accommodate the 2 - 8 Gb file) or onto another computer. The USB flash drive can then be plugged into (and the virtual machine run) from any computer that already has VirtualBox installed on it. (This works identically no matter whether the computer running VirtualBox is a Windows computer or a Linux computer.) See this introductory tutorial.
  • Disadvantages:
  • Licensing. Each copy of Windows requires a license. A bulk licensing scheme with Microsoft would have to be negotiated by your organization ($$$$$!) If you don't, you won't be able to activate your copy of Windows (except for Windows 98) or update any copy of Windows running within a virtual machine (unless it is licensed).
  • Windows 98 as a guest operating system in VirtualBox has some limitations. See the VirtualBox website for clarifications (here, for example.)
  • Depending on how much RAM the host computer has, running a virtual machine from a USB drive can be slower.

OpenVistA in Linux

OpenVistA-CIS can run completely in Linux.