Difference between revisions of "Virtual appliance"
Line 43: | Line 43: | ||
'''From the command line''': | '''From the command line''': | ||
+ | |||
1. Change directory to the location of KVM image | 1. Change directory to the location of KVM image | ||
<pre>cd /path/to/image/ubuntu-kvm/</pre> | <pre>cd /path/to/image/ubuntu-kvm/</pre> |
Revision as of 17:16, 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.
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
cd /path/to/image/ubuntu-kvm/
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)
sudo kvm -m 256 -redir tcp:8000::80 disk0.qcow2
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
- Click New
- Select Operating System Linux
- Select Version Ubuntu
- Click Use existing hard disk
- Click folder icon to browse hard disks
- Click Add to add new hard disk
- Select downloaded virtual appliance
- Click Select
- Click Finish
To access ICA-AtoM from the host operating system,
- Select new appliance
- Click Settings
- Click Network
- Select Attached to Host-only Adapter
- Click OK