Difference between revisions of "Astronaut CPRS in Linux"

From VistApedia
Jump to: navigation, search
(Astronaut TMG-CPRS in Linux)
(Added a glossary link to CPRS~)
 
(37 intermediate revisions by one other user not shown)
Line 1: Line 1:
(under construction)
+
== Astronaut TMG-[[CPRS~|CPRS]] in Linux ==
 +
*Use TMG-[[CPRS~|CPRS]] in conjunction with the either the [[WorldVistA_on_Ubuntu|WorldVistA server]] or the [[Astronaut_OpenVistA_on_Ubuntu|OpenVistA server]] (both of which are Linux-based). When both a server and an Astronaut [[CPRS~|CPRS]] virtual machine appliance exist on the same Linux computer, a self-contained EHR can be run on a single Linux computer.
  
== Astronaut TMG-CPRS in Linux ==
+
*I am not able to run TMG-[[CPRS~|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).
*I have not been successful in running TMG-CPRS in Wine or on the Mono platform. However, there is no problem running in a virtual machine running Windows.
 
  
*Run TMG-CPRS in Windows in a VirtualBox virtual machine.
+
=== Install Astronaut TMG-[[CPRS~|CPRS]] in a VirtualBox virtual machine ===
 +
==== Use VirtualBox in (K)Ubuntu to create the virtual machine ====
 
:*Install VirtualBox in Linux. (I use Ubuntu/Kubuntu -- see [http://kubuntuguide.org/Karmic#VirtualBox Installing VirtualBox in Kubuntu].
 
:*Install VirtualBox in Linux. (I use Ubuntu/Kubuntu -- see [http://kubuntuguide.org/Karmic#VirtualBox Installing VirtualBox in Kubuntu].
:*Create a new virtual machine. A virtual machine running Windows 98 should be satisfactory. (I name this virtual machine ''Win98SE'', as an example.)
+
:*Create a new virtual machine. A [[Virtual_Windows98|virtual machine running Windows 98]] should be satisfactory. (I name this virtual machine ''Win98SE_[[CPRS~|CPRS]]'', for example.)
:*Install Windows 98SE (or Windows XP if you have a spare license) in the virtual machine.
+
:*Install Windows 98SE (or Windows XP if you have a spare license) in the virtual machine. Make sure the [http://www.annoyances.org/exec/show/article04-103 logon screen is disabled].
 
:*Install the [[Astronaut_CPRS_client_package|Astronaut CPRS package]] into Windows in the virtual machine as usual.
 
:*Install the [[Astronaut_CPRS_client_package|Astronaut CPRS package]] into Windows in the virtual machine as usual.
:*Configure Windows (within the virtual machine) so it starts up AstronautSSH as well as TMG-CPRS at startup. That way whenever the virtual machine starts, both the SSH tunnel and TMG-CPRS will start (without intervention).
+
:*Configure Windows (within the virtual machine) so it starts up AstronautSSH as well as TMG-[[CPRS~|CPRS]] at startup. That way whenever the virtual machine starts, both the SSH tunnel and TMG-[[CPRS~|CPRS]] will start (without intervention). To further streamline this, I change the [[Astronaut_CPRS_client_package#Use_an_SSH_keypair_instead_of_password_authentication|AstronautSSH negotiation to use a public/private key pair]] (so that an SSH password is not required).
  
*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''. In the ''Command:'' line of the Menu Item / Shortcut I use
+
==== Use VirtualBox in Windows to create the virtual machine ====
  virtualbox -startvm "''Win98SE''"
+
*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~|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 [[Virtual_Windows98#Copy_the_virtual_machine_to_a_USB_flash_drive|copied onto a Linux machine]] (or [[Virtual_Windows98#Copy_the_virtual_machine_to_a_USB_flash_drive|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~|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~|CPRS]]''. In the ''Command:'' line of the Menu Item / Shortcut I use
 +
  virtualbox -startvm "''Win98SE_[[CPRS~|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 onto 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]].
 +
 
 +
*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).
 +
:*[[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, running a virtual machine from a USB drive can be slower.
  
 
== OpenVistA in Linux ==
 
== OpenVistA in Linux ==
OpenVistA can run completely in Linux.
+
OpenVistA-CIS can run completely in Linux.
*Install the [[Astronaut_OpenVistA_on_Ubuntu|OpenVistA server]].
+
*Use only in conjunction with the [[Astronaut_OpenVistA_on_Ubuntu|OpenVistA server]].
 
*Install the Linux version of the [[OpenVistA-CIS_client_package|OpenVistA-CIS client package]] (which runs using the Mono platform).
 
*Install the Linux version of the [[OpenVistA-CIS_client_package|OpenVistA-CIS client package]] (which runs using the Mono platform).

Latest revision as of 00:07, 10 August 2012

Astronaut TMG-CPRS in Linux

  • Use TMG-CPRS in conjunction with the either the WorldVistA server or the OpenVistA server (both of which are Linux-based). When both a server and an Astronaut CPRS virtual machine appliance exist on the same Linux computer, a self-contained EHR can be run on a single Linux computer.
  • 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 onto 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.