Saturday, August 8, 2009

Zones, Continued

My cpu use is very low on average. My top shows 0.09 0.08 0.08. I wanted to really see the thing pick up, so I asked about good things to do to waste CPU cycles. The suggestion was Blender, a 3d rendiner software. The only issue, the repository that had it for easy installation through pkg, was in the pending section. "Use at your own risk" isn't always encouraging. So remembering what I learned about ssh -X, and zones, I created a new zone and after going through a whole lot dependencies, was able to get blender up and running.

See the previous post for getting a zone setup. Then I added the following repository.

#pkg set-authority -O http://jucr.opensolaris.org/pending pending.opensolaris
#pkg install blender

Blender installed fine, but didn't run due to missing repositories. I soon realized that the missing repositories were all related to the Xserver, and were not installed in a zone by default, so I would need to individually install them. Here I came to fully appreciate pkg search function. I would attempt to run blender, search for the missing library, install library, try blender. Rinse and repeat. I eventually got it to say "No screen." I was basically done! Just ssh -X zone and I ran it, without any worries about software crashes. Worst case scenario, my zone would crash and I could delete it. I love OpenSolaris

No comments:

Post a Comment