Difference between revisions of "Virtual appliance"

From ICA-AtoM
Jump to navigation Jump to search
Line 43: Line 43:
  
 
From the command line:
 
From the command line:
# Change directory to the location of KVM image
+
1. Change directory to the location of KVM image
 
<pre><code>cd /path/to/image/ubuntu-kvm/</code></pre>
 
<pre><code>cd /path/to/image/ubuntu-kvm/</code></pre>
# start kvm ica-atom instance
+
2. start kvm ica-atom instance (-m sets the memory in MB in this case 256MB, -redir tells the host machine to direct port 8000 to 80 on the guest instance)
 
<pre><code>sudo kvm -m 256 -redir tcp:8000::80 disk0.qcow2</code></pre>
 
<pre><code>sudo kvm -m 256 -redir tcp:8000::80 disk0.qcow2</code></pre>
(-m sets the memory in MB in this case 256MB, -redir tells the host machine to direct port 8000 to 80 on the guest instance)
+
3. wait until the machine is completely booted(you will see ubuntu shell login)  
 
+
4. ica-atom is now reachable at http://localhost:8000
# wait until the machine is completely booted(you will see ubuntu shell login)  
 
# ica-atom is now reachable at http://localhost:8000
 
  
 
== Windows ==
 
== Windows ==

Revision as of 17:14, 22 October 2009

Please note that ICA-AtoM is no longer actively supported by Artefactual Systems.
Visit https://www.accesstomemory.org for information about AtoM, the currently supported version.

wikipedia:Virtual appliance

http://ica-atom.org/dailyVEbuilds/

http://www.mediawiki.org/wiki/Software_appliances

http://codex.gallery2.org/Gallery:Appliance

(03:28:31 PM) jack.bates: hoi Austin - i wanna give the ica-atom virtual appliance a try - where do i start?
(03:29:08 PM) Austin: what kind of host system are you using?
(03:29:18 PM) jack.bates: debian
(03:29:37 PM) Austin: processor type?  core 2? or similar?
(03:29:53 PM) jack.bates: eeepc
(03:30:01 PM) Austin: ok, you can use qemu
(03:30:16 PM) Austin: with the kvm image
(03:30:24 PM) jack.bates: cool
(03:30:27 PM) ***jack.bates downloads
(03:30:45 PM) jack.bates: how do i run the image?
(03:34:11 PM) Austin: sudo qemu -m 256 -drive file=disk0.qcow2 -redir tcp:8000::80
(03:34:15 PM) Austin: or/
(03:35:06 PM) Austin: sudo qemu -m 256 -redir tcp:8000::80 disk0.qcow2
(03:35:55 PM) jack.bates: cool - thanks!
(03:36:16 PM) Austin: I havnt actually tested under qemu.. but Im pretty sure the commands are identical to kvm
(03:36:24 PM) jack.bates: ok
(03:36:54 PM) jack.bates: what should i download at home - host os is debian, processor is core 2?
(03:37:50 PM) Austin: kvm image as well.. 
(03:38:03 PM) Austin: s/kvm/qemu/g    with the above instructions
(03:38:36 PM) jack.bates: sweet, thanks
(03:39:39 PM) jack.bates: how about on the windows machine in the office?
(03:40:39 PM) Austin: the vmserver version with virtualbox
(03:40:57 PM) jack.bates: cool
(03:47:36 PM) Austin: I just tested in qemu the first time I tried to boot I got this error https://bugs.launchpad.net/ubuntu/+source/linux/+bug/283489  
(03:48:59 PM) Austin: but.. on boot you can escape into grub.. and add a noapic option..
(03:49:28 PM) Austin:  jack.bates something like >> kernel          /boot/vmlinuz-2.6.12-10-686 root=/dev/hda2 ro quiet splash noapic
(03:49:46 PM) jack.bates: awesome - /me tries

Linux

KVM

See: KVM HOWTO, for information on running KVM on your machine.


From the command line: 1. Change directory to the location of KVM image

<code>cd /path/to/image/ubuntu-kvm/</code>

2. start kvm ica-atom instance (-m sets the memory in MB in this case 256MB, -redir tells the host machine to direct port 8000 to 80 on the guest instance)

<code>sudo kvm -m 256 -redir tcp:8000::80 disk0.qcow2</code>

3. wait until the machine is completely booted(you will see ubuntu shell login) 4. ica-atom is now reachable at http://localhost:8000

Windows

VirtualBox

  1. Click New
  2. Select Operating System Linux
  3. Select Version Ubuntu
  4. Click Use existing hard disk
  5. Click folder icon to browse hard disks
  6. Click Add to add new hard disk
  7. Select downloaded virtual appliance
  8. Click Select
  9. Click Finish

To access ICA-AtoM from the host operating system,

  1. Select new appliance
  2. Click Settings
  3. Click Network
  4. Select Attached to Host-only Adapter
  5. Click OK