Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Community Discussions > The Community Cafe
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

The Community Cafe
The Community Chat area is for lighthearted and enjoyable discussions, like you might find around a water cooler at work.

Almost any non-tech-support topic may be discussed here. Discussions on religion and politics are not allowed, except for politics directly related to free and open source issues. Any topic or discussion that causes problems or drama will be closed. This area is intended for fun and community building, not arguments. Please take those elsewhere. Thanks!

 
Thread Tools Display Modes
Old October 18th, 2007   #31
EmmEff
A Carafe of Ubuntu
 
Join Date: Jun 2005
Beans: 97
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

Quote:
Originally Posted by locutus42 View Post
So I'll ask too, Where's JeOS?
Today is/was supposed to be the release date, but I've yet to see anything that's not 7.10.
EmmEff is offline   Reply With Quote
Old October 18th, 2007   #32
EmmEff
A Carafe of Ubuntu
 
Join Date: Jun 2005
Beans: 97
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

I didn't see anybody mention that there's a JeOS entry in Launchpad now...

https://code.launchpad.net/ubuntu-jeos/

Having looked at the script, there's reference to some packages (linux-virtual) and a virtual kernel that do not appear to be included in Gutsy.

FWIW, their procedure is virtually identical to what I originally did to create VMs almost a year ago with 6.06LTS (minus the virtual kernel and "special" package(s)).

Looking forward to seeing the rest of this show itself... anything to make my VMs better!
EmmEff is offline   Reply With Quote
Old October 19th, 2007   #33
locutus42
Just Give Me the Beans!
 
Join Date: Jul 2005
Beans: 72
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

Quote:
Originally Posted by EmmEff View Post
Ever done it?

The base includes ALSA (sound) stuff as well as Bluetooth support, for example. Neither of which are required for a JeOS-based appliance.

Installing Avahi, for example, also includes dependencies to X11 libraries, which drags in a bunch of other stuff that shouldn't be on a lean VM-based server.

There is much room for improvement in what constitutes a base system in Ubuntu.
FYI, looking for a trimmed Ubuntu server OS I installed Gutsy 7.10 DNS server install. Seeing as I don't want the bind stuff, here's some things which don't seem generally too useful but were installed:
note: result from using "sudo dpkg -l"

alsa-base alsa-utils bind9 bind9-doc bind9-host libasound2 libbind9-30 libdns32 libisc32 libisccc30 libisccfg30 libiw29 liblwres30 libusb-0.1-4 linux-sound-base ntfs-3g libntfs-3g12 pcmciautils popularity-contest ppp pppconfig pppoeconf reiserfsprogs wireless-tools wpasupplicant

Add "sudo apt-get remove" to the head of that list and save some space. Apt listed 22MB saved/removed and it lookes like there's a 7MB initrd backup in /boot which can go also.
locutus42 is offline   Reply With Quote
Old October 19th, 2007   #34
EmmEff
A Carafe of Ubuntu
 
Join Date: Jun 2005
Beans: 97
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

What is your installation size down to after removing those?

I used to build virtual appliances on Gentoo. My first appliance (incl. Lighttpd, PHP, Dropbear for SSH, and Busybox for most everything else) was around 10MB compressed. Now with Ubuntu, my appliances are 130MB to 200MB (depending on which apps are installed).

I build a Tomcat appliance and for some reason I gcj is an installation dependency for Tomcat 5.5 despite trying to make it Sun JDK 6 only. Far too much bloat!
EmmEff is offline   Reply With Quote
Old October 19th, 2007   #35
locutus42
Just Give Me the Beans!
 
Join Date: Jul 2005
Beans: 72
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

Quote:
Originally Posted by EmmEff View Post
What is your installation size down to after removing those?
UPDATE: Two Gutsy server installations( one using same DNS option and one with no selected option ) resulted in "zip -r9" sizes of 216MB and 210MB for the two options and after "apt-get remove" on the above listed packages.

Last edited by locutus42; October 19th, 2007 at 05:33 PM.. Reason: ran two vm installs and posting results
locutus42 is offline   Reply With Quote
Old October 27th, 2007   #36
IronWolve
Just Give Me the Beans!
 
IronWolve's Avatar
 
Join Date: Oct 2005
Beans: 34
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

Any update yet? Still havnt seen the JEOS released other than the script to build it. (Does it even work?)
IronWolve is offline   Reply With Quote
Old October 28th, 2007   #37
EmmEff
A Carafe of Ubuntu
 
Join Date: Jun 2005
Beans: 97
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

The script contains references to packages that aren't available, so no, it doesn't work
EmmEff is offline   Reply With Quote
Old November 8th, 2007   #38
nealmcb
Ubuntu Developer
 
Join Date: Feb 2005
Location: Boulder CO
Beans: 24
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

Quote:
Originally Posted by EmmEff View Post
The script contains references to packages that aren't available, so no, it doesn't work
On 2007-11-01 some updates to the ubuntu-jeos trunk were made, and it works for me:
https://code.launchpad.net/ubuntu-jeos

I uploaded my own "nealmcb" branch with qemu support:

https://code.launchpad.net/~nealmcb/ubuntu-jeos/nealmcb

EmmEff, can you post a link or some more info on your gentoo appliance? What VM do you run it on?

Last edited by nealmcb; November 8th, 2007 at 10:58 AM..
nealmcb is offline   Reply With Quote
Old November 8th, 2007   #39
EmmEff
A Carafe of Ubuntu
 
Join Date: Jun 2005
Beans: 97
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

Quote:
Originally Posted by nealmcb View Post
On 2007-11-01 some updates to the ubuntu-jeos trunk were made, and it works for me:
https://code.launchpad.net/ubuntu-jeos

I uploaded my own "nealmcb" branch with qemu support:

https://code.launchpad.net/~nealmcb/ubuntu-jeos/nealmcb
I will have to give that a try. Thanks for the headsup.

Quote:
EmmEff, can you post a link or some more info on your gentoo appliance? I assume that doesn't include a kernel? What VM do you run it on?
My startup company has been building virtual appliances for almost 3 years now. We first started out doing work on Gentoo and uClibc but turned out there were too many limitations (for example, not enough applications would build with the libc subset).

Currently we offer LAMP, LAPP, Cacti, and Tomcat appliances based on Ubuntu 7.04 Server Edition.

Of course it includes a kernel It wouldn't boot without it... all of our stuff has been primarily developed for VMware desktop and ESX products, although we've done work with qemu, VirtualBox, XenSource OSS, XenServer, Virtual Iron, Moka5, and Microsoft Virtual PC/Virtual Server.

We're keen on making Ubuntu-based appliances that have a footprint similar to that of our custom Gentoo-based appliances, and still retain all the benefits of Ubuntu.
EmmEff is offline   Reply With Quote
Old November 8th, 2007   #40
nealmcb
Ubuntu Developer
 
Join Date: Feb 2005
Location: Boulder CO
Beans: 24
Re: Jeos: Canonical's virtualization-specific Ubuntu Linux

I edited out my kernel question after a bit more thought I was thinking your stuff might run in one of those "container" or "jail" like systems that use the kernel of the host os.

The idea of using busybox to replace lots of stuff is interesting. Has anyone put together an ubuntu derivitave that relies on busybox?

This is a command line I've used with that "nealmcb" version of ubuntu-jeos (after installing
apt-catcher which caches apts and dramatically speeds up the apt-get stuff that debootstrap does). It uses ts (from the moreutils package) to timestamp each line of output:

sudo ubuntu-jeos-builder -t /dev/shm --addpkg openssh-server --mirror http://localhost:3142/archive.ubuntu.com/ubuntu --vm qemu 2>&1 | ts %H:%M:%S > jb.out

cd ubuntu-jeos-gutsy-i386
./launchjeos -redir tcp:2222::22 -monitor stdio

ssh ubuntu@localhost -p 2222
nealmcb is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:04 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry