using ubuntu on ec2 - amazon-ec2

I'm curious about ways to install non-standard Linux(specifically Ubuntu) OS's on EC2. Is there any way I can install Ubuntu 10.04 on Ubuntu EC2 instead of the 12.10 which seems to be available? Any trustworthy online images you could point me to?

You can find the offical AMIs from Canonical listed on the Alestic.com website. Select your desired region with the select box on the top right and find the AMI IDs for the Ubuntu versions back to 8.04.

I think you can go to Community AMIs, check (select) the Ubuntu from the left side menu and put the version (10.04) in the search box, press enter.
This should provide you the AMIs with 10.04 in their names and probably the Ubuntu version you want.

Related

Does "Vagrant package" command work in vmware fusion?

I have VMWARE fusion on my macbook pro. In that I have a VM ,which was generated using vagrant. This VM has some changes and I want to create a .box file of out this VM.
I did see the post for the same in this forum. But did not find correct one.
I tried vagrant package but it is not working. I got the following error
The "package" command is not supported with VMware. We recommend
taking a look at Packer (www.packer.io) as an option for creating
VMware images
Can anyone throw some light on the same?
vagrant package currently works only for virtualbox VM as said from doc
This packages a currently running VirtualBox environment into a re-usable box. This command can only be used with other providers based on the provider implementation and if the provider supports it. A future version of Vagrant will address packaging boxes for other providers. Until then, they must be made by hand.

What we install in Virtualbox using Vagrant?

I just started learning Vagrant and succeeded in using it. I went through this vagrantbox.es where we "download" the "templates".
I have some doubts and would be great if anyone can explain me:
1) Vagrant --> My understanding is t hat it helps in automating installing the Virtual machines in Virtualization software like Virtualbox. Is this correct?
2) Now, as per the instructions that I followed in one of the video tutorials, we need to 'download' the VM, from this link.
My doubt is what are we downloading from the link in point #2? Using Vagrant, are we downloading a VM (and which gets installed into Virtualbox, for example?). Can't we use any .iso image and let vagrant install it? I am bit confused here.
Can anyone who has used vagrant explain what exactly are we downloading?
2) Now, as per the instructions that I followed in one of the video tutorials, we need to 'download' the VM, from this link.
Must be a bit dated tutorials, even though it is still a good reference, nowadays people will download boxes from https://atlas.hashicorp.com/boxes/search. The platform is officially supported by hashicorp but everyone can upload boxes into the platform, and you can directly reference boxes from atlas such as ubuntu/trusty64 in your vagrantfile and vagrant will know how to download the box and install it for you so it saves you some steps.
My doubt is what are we downloading from the link in point #2? Using Vagrant, are we downloading a VM (and which gets installed into Virtualbox, for example?). Can't we use any .iso image and let vagrant install it? I am bit confused here.
There are some 'official' box supported by hashicorp. Some organization like laravel pushes their own official boxes (like laravel/homestead and they support virtual box and vmware provider). It will be up to you to review the box you reference and make sure about its source.
you can create your own box from the OS iso using tool such as packer you will find plenty of available packer templates on github to create boxes for different OS flavors
And finally, are these images "full" OS plus the tools (e.g. tomcat, php as you described)
This will depend - in the case of Laravel they would provide a box with OS + the stack but generally the boxes are minimal (and you want to keep it this way). You will provision this using a tool of your choice (shell, ansible, puppet ...)

Does Kitematic 0.7.6 for Windows support Volumes?

I am able to run the hello-world-nginx Docker container running Kitematic on Windows 7. The following tutorial shows that the website_files is accessible from the Mac Finder:
https://kitematic.com/docs/nginx-web-server/
On Windows, I do not see the Edit Files section in Kitematic and the Volumes tab is empty.
I am new to Docker, Kitematic and VirtualBox.
Are volumes supported yet in Kitematic 0.7.6 for Windows? I was not prompted to mount a volume and I don't see any way to do it in Kitematic.
I just installed today on windows 10 and yes it supports volumes, but actually thats based on the image configuration. I see you have posted this long time ago, give it another go ur update what do u have and you should find it there.
Guess only in the OSX version you can always alter them... for the latest mongo it works on Win too, but it also has the mounts directly in the dockerfile:
https://github.com/docker-library/mongo/blob/191cc63288fb44c2fd147eac27ade07ae4b6b0b5/3.2/Dockerfile#L58
Guess it can be easily added too any dockerfile in a similar way then.

Changing the Linux Desktop Environment

I am running Ubuntu 14.04 LTS inside of VirtualBox. Functionally it is great, it is just very slow compared to 12.04. I've seen some posts about changing the desktop to XFCE and other desktops so that the OS runs faster. I like the 12.04 desktop and am wondering if it is possible to use the 12.04 desktop with 14.04. If so, how do I do this?
-Angus
For me, the newest edition of XFCE runs really fast, not slower than any previous version (much faster than default Ubuntu desktop).
To install older version of XFCE, choose version you want and download all the files you need from here
Installation manual I recommend is available on this site.
Hope this will help.

Virtualbox fails after ubuntu 11.10 to 12.04 LTS

Host machine was ported from 11.10 to 12.04 LTS (Xubuntu)
Virtualbox image is win7 x64
With upgrade /dev/vboxdrv was missing, so within synaptics I reinstalled:
virtualbox (4.1.12dsfg-2 not OSE)
virtualbox-qt 4.1.12dsfg
virtualbox-dkms 4.1.12dsfg
Then it works again but my windows is badly crashed. Once started and desktop icons pops out it's really slow and crash (network icon is also blocked)
I reinstalled guest additions, but does not make any difference.
Nothing is serious because I still have available snapshots.
I'm asking for advices, like for example how do I clean reinstall (clear parameters) vbox ?
Is there any workaround, or do I need to wait fresh 12.04LTS updates to fix this pbm by magic ?
I can confirm this bug on two of my Ubuntu 12.04 machines (i7 Desktop, Samsung Dual Core Laptop):
All my Windows (Win7, WinServer2003,WinServer 2008) 64bit guest machines which were working under Ubuntu 11.10 behave the same way after upgrading / reinstalling to Ubuntu Precise:
During guest bootup or shortly after bootup (sometimes I can even access the guest's desktop for a moment) the complete system host + guest freezes completly.
The Vbox.log doesnt contain any hint. Even a fresh install of Ubuntu Precise has the same error (with the same guest machines).
I have not found any combination of guest settings which prevents this freeze yet. Even using the OSE edition of Virtualbox 4.1.12-UbuntuR7724S has the same error.
The probably-related VirtualBox bug ticket says it is fixed in VirtualBox source, and also details a workaround via grub.
The Debian bug is here.
Hopefully the patch will be applied to Ubuntu-12.04 .
(This answer is also at: https://askubuntu.com/questions/130726/win-7-virtual-box-vm-fails-to-start-after-upgrade-to-12-04 )
I can't be sure that I was having the same problem, but I also just upgraded from ubuntu 11.10 to 12.04 and attempting to boot my virtual machine (xp 32bit) would cause the host to freeze.
The fix was to do the following:
Enable absolute pointing device (almost certainly wasnt this that fixed it but hey ho!)
Enable VT-x/AMD-V acceleration and nested paging (found under settings->System->Acceleration)
Disable video acceleration (again dont think it was this but I don't fancy fiddling now it works)
Hope this works for you too.

Resources