Hands on with SUSE Studio

SUSE

Novell has launched SUSE Studio, a service that allows anyone to create their own Linux distro respin using nothing more than their web browser. But did you know Novell already has plans to open source the new technology it contains? We spoke to Nat Friedman to get more information, then took it for a test drive ourselves...

Given how many distros we already have, you might be forgiven that the last thing we need is to make it easier to make even more. But SUSE Studio targets a new audience: Independent Software Vendors (ISV) who make software for Linux and don't want to force their customers to jump through hoops to get it all working. According to Friedman, this is a key use case for SUSE Studio, because "improper software installation accounts for 50% of their support requests." By combining software with the exact distro configuration required to make it work out of the work, you leave the realm of operating systems and enter that of appliances: things that really do Just Work.

But this comes with its own community-focused side effect. "We want people in the open source community to create custom distros," he continued. "We don't know really what that means, and that's kind of the beauty of it. We don't know where the community will take it... We don't actually know all of the things people have done with SUSE Studio yet." And people certainly are using it - in the last week alone, almost 6300 new appliances have been produced using SUSE Studio.

SUSE Studio

SUSE Studio lets you build distros entirely through your web browser - it really doesn't get much easier than this...

Does that mean DistroWatch ought to start investigating a major upgrade for its hardware to handle a huge influx of new distros? Not really - although these appliances are quite able to be standalone distros, the majority are more likely to be one-shot configurations that run a specific app, and many others will be test beds for people to have some fun with while taking their first steps with distro creation.

It's this low barrier to entry that Friedman seems most proud of. "We knew that if people had to download something to try it, it would put them off. And if people had to have SUSE it would also stop them. So that's why we made it a web app. But that introduced a new problem, because let's say you build an appliance, well it's sitting on our server not on your computer, so you had to download it."

Nat Friedman

Nat Friedman demonstrating the SUSE Studio appliance that runs on a toaster*. (*not strictly true)

Novell's, er, novel solution to this problem is called Test Drive, which lets users spin up an instance of their appliance running on Novell's server, with its framebuffer hooked up to a custom Flash applet running on the user's browser. "All you know is that you click Test Drive in your browser and you're watching it boot," explained Friendman. "You can log in, you can poke around in there and make sure everything looks right. You can run your test suite, you can SSH in, or if it's a hosted web app you can you visit it in your web browser. We give you an hour with 512MB of RAM, and that's been super-powerful for people who want to know, 'Is my application working?'"

This in turn seems to have opened up a dozen new problems. After all, booting up a Linux system for the first time writes a lot of data as the system settles in - and you don't really want some of those actions, such as resolv.conf being written out or SSH keys being generated, so SUSE Studio solves the problem by tracking all filesystem writes made inside Test Drive and allowing the user to pick and choose which ones should be saved to the appliance permanently. "From a technical perspective it's even more interesting, because we're doing it outside the OS," Friedman explained. "The guest doesn't in any way need to know how it works. We wanted people to run any kernel or have any special software, because people can build any kind of appliance."

So, are there any reasons why SUSE Studio is less useful than, say, remastering Ubuntu? Clearly Ubuntu has the lead in terms of existing uses - it's early days for SUSE Studio yet, whereas Ubuntu has already served as the core for multiple new distros. Ubuntu - or at least Debian - also provides one of the largest software repositories in the world, which makes it easy to produce a wider range of devices that build on existing software, even if that must all be done in the traditional off-line way. On the flip side, SUSE Studio makes it a cinch to create images for VMware and Xen virtual machines, or Live CD/DVDs and USB flash drives, all through the same interface.

If there is a downside to SUSE Studio, it's the licence. Sure, the distro itself is all open source (unless you choose to include proprietary technology), but the Studio service itself is closed. For a long time, geeks were pressuring Canonical to open up Launchpad back when it was closed, so it's possible Novell may see the same reaction for SUSE Studio. We asked Nat whether Studio would remain closed, and he said, "We actually do plan to open source the few components of Studio that are not yet open, over time, but right now we just had to launch."

Taking SUSE Studio for a spin

Can you build a distro just by clicking a few buttons in a web browser? We took Studio for a spin to find out...

SUSE Studio: choose your base distro

The first step towards building a distro is to choose its base: do you want to inherit from the community-supported OpenSUSE, or do you need the support contracts and reliability that SUSE Linux Enterprise can provide?

SUSE Studio: name your distro

Next comes the part every egotist loves: what should your distro be called? This being TuxRadar, we naturally chose to call ours Radarix. Apologies if there's actually a real distro out there with the same name!

SUSE Studio: customize your software package selection

Step three is the most important: what software do you want in your distro? This is what sets distros apart, so make your choice wisely. We decided our Killer Feature would be an unerring focus on the One True Text Editor, so we searched for and added Emacs and little else!

SUSE Studio: configure your distro

You have limited control over configuration of your system using SUSE Studio's web interface, but remember that you can always fire up your machine to make changes by hand later on.

SUSE Studio: change the runlevel

Continuing our focus on Getting Things Done, we decided to do away with the whole graphical user interface thing and start Radarix in text-only mode. Text-only is the new black, don'tcha know?

SUSE Studio: customize your artwork

You can add custom artwork here, but "Built with SUSE Studio" will be super-imposed later on.

SUSE Studio: build an ISO of your distro

When your distro is done (is a distro ever done?), tell SUSE Studio how you want the thing built and it'll produce a downloadable build for you in around 5-10 minutes.

SUSE Studio: Test Drive inside your web browser

Once the build is finished, click the Test Drive link to fire up a new virtual instance of your distro inside your browser. You get to control it from the off, with any special keys available to be clicked from the list on the left.

SUSE Studio: branding galore!

Super TuxRadar zoom-in engage!

There is of course a lot more work required if this distro is ever going to be of interest. But for ISVs, all they need to do is add a custom RPM containing their software configuration and the distro is good to go - SUSE Studio is by far the easiest way to produce a custom Linux distro, and, shallow as it might sound, it also manages to leave the competition in the dust on the looks front.

Sure, rating something based on its design doesn't sit well with the uber-geek computing crowd, but we think it's particularly important here because it means the interface is pretty much discoverable - forget having to read manuals, learning how to chroot Debian installs or figuring out how to build to build your own RPM files, because you can just point and click your way around SUSE Studio and have most of the work done in under an hour. For rapid prototyping, SUSE Studio leads the way. For serious customisation, being able to use Test Drive to pick and choose changes makes it an incredible power tool. And, even though it's only in closed beta right now, we're convinced that as more people get involved and push the service to its limits we'll start seeing more ISVs confident to say "yes, we support Linux."

Hello from Novell's marketing machine

A Novell employee once told us that, in yesteryear when Novell's marketing team were pushing brands faster than their coders were pushing software, Novell could easily have switched over to being a T-shirt manufacturing company. It seems their love of marketing hasn't died out, because TuxRadar HQ recently accepted delivery of a suspicious box. Upon opening it, we found this:

SUSE Studio: Build your own Gecko

Inside was a bag containing dozens of different parts, some plastic, others carefully cut foam. Next to that was a card pointing us towards the assembly instructions and, 10 minutes or so later, we were the, er, proud owners of one of these:

SUSE Studio: Build your own Gecko

Great success! And even more fun than building a distro with SUSE Studio...

You should follow us on Identi.ca or Twitter


Your comments

Yeah

I tried it, and attempted to make a lightweight IceWM distro. And then I remembered I was still using OpenSUSE. Lighweight? Oops.

Then I tred to make a KDE 3.5 distro, but the thing bloated to nearly a gig after adding Wi-fi support and Amarok.

I gave up at that point for a few months. I then realized about a week later that I could rec not all my password. Oh well.

I'd prefer just installing an OS and configuring it afterward if I'm going desktop, but this certainly would have its uses.

Hopefully they ease it up a bit for desktop users; it would be cool if you could start with an OpenSUSE 11.1 live disc and then strip it of all those boring Mono apps, OpenOffice, and YAST, and then add Abiword.

Best. Distro. Ever.

Great

A really useful tool indeed.
Thanks to the SUSE team.

Bloatware

That's a big box for a small foam lizard, no?

Re: Bloatware

Actually the lizard is 24cm (about 9.5 inches) from head to tail, excluding the large tongue at the front!

Re: Bloatware

Why do everyone insist on calling it a lizard when it is in fact a chameleon?

OK, I'm ready! But..... LET ME IN!

It's been months since I have registered for SUSEStudio account. Lots drooling articles have been published since. And? I still can not put my hands on the studio, since:

SUSE Studio is currently available for a limited number of users...............

Me too

"It's been months since I have registered for SUSEStudio account. Lots drooling articles have been published since. And? I still can not put my hands on the studio, since:

SUSE Studio is currently available for a limited number of users..............."

Me too! I wanna play!

The "Chamäleon" is really

The "Chamäleon" is really cute. I wanna have one too.

this could be revolutionary!!!

Why do everyone insist on calling it a dog when it is in fact a chihuahua?

Chameleon

I'm jealous. How do you make Novell send you one? :P

why write about this...

if no one can ever log in to make there distro? I signed up but after looking at the comments I'm not so hopeful. So what does Novel consider a limited number of users?

Terms

Was going to try Suse Studio to build a distro for my music jukebox, but I didn't fancy allowing myself to be subject to the Utah legislature.
The Terms and Conditions are less than ideal.

Tempting

Damn. I was in the middle of a screencast when I found out that I need to be invited in order to try it out.

Moreover, I want that gecko in my bedroom!

No Waiting

About the earlier comments of waiting months to get in; my invitation arrived in less than 24 hrs after applying. Something about a small survey to speed the invitation. I'm not even an ISV.

Put my requiest for an

Put my requiest for an invite in, after hearing about this on the podcast, but finding it was invite only.

Got my invite yesterday, and have to say on first impressions looks interesting, and it has me for the first time trying a non-debian (or ubuntu) distro.

First for me, is to be going to see if I can put together a distro for my poor old 701 eeepc.

Not holding a lot of hope, given the limitations of 640x480 screen and only 4gb SSD, but you never know.

Re: SuseStudio

After more than 10 yrs playing/tweaking Linux & Windows, I have to say this project is promising. Personally, I'm a loyal and die, hard Slackware fan/user but as I recall the first distro I was able to install and use was Suse 7.1 back in the day!! Hats off to the Suse team! No offense Pat! Instead of "dual booting" Win 32/64 and Linux, from now on I think I'll "db" Slackware and "my custom OS".

YAY!!!

cool i got my invite yesterday and it rocks! i am now building openBuZE (opensuse with brewtarget making it open booze!) but how do we get a gecko???

Re: Re: Bloatware

>> Why do everyone insist on calling it a lizard when it is in fact a chameleon?

Although Geeko looks like a chameleon, (s)he is actually a gecko. Both of which of course are lizards, so it is easier to refer to Geeko as a lizard - rather than a gecko that looks like a chameleon.

where are the flies for the

where are the flies for the Gecko? -- we are the flying food!!
Suse Studio all the way.

Excellent tool

suse-studio is an excellent tool, recently I need to install Suse for creating NRPE package. Thanks to suse-studio I have created the distro image for wmware and then use the same image on my laptop under Virtualbox.

A Recovery System

I really like this approach for experimenting and creating VM appliances. Once tested they can be used in the outside world! I nerver tried Suse until seeing this on your site.

My goal is to create a basic Linux LiveCD that doubles as a Ghost Recovery Disk. I can recover friends windoze systems which I have previously backed up, while additionally introducing them to a custom linux distro to try out.

I have the linux side complete including Wine. The problem is that I can not seem to get Ghost (2003/11) to run. Neither the dos based version or the ghost32.exe.

Can anyone here help?
I have enjoyed my new subscription to Linux Format, the podcasts (although I wish you guys made them a bit more kid friendly as I would share them with said group in my area).

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

CAPTCHA
We can't accept links (unless you obfuscate them). You also need to negotiate the following CAPTCHA...

Username:   Password:
Create Account | About TuxRadar