Virtual Guru's Blog – Home of Virtualization Workshops

December 8, 2009

Part 3: Minimal X env for iPKG GUI in OpenSolaris JeOS Prototype

Filed under: cloud, jeos, opensolaris, virtualbox, Virtualization — natiku @ 3:50 am

OpenSolaris 200906 JeOS Prototype is PURE CLI enviroment, so its true command line only, even no X libraries and of course no GUI libs needed for iPKG GUI components Package Manager or Update Manager.

Some OpenSolaris 200906 JeOS Prototype evaluators try to install needed X and Libs with command line pkg, but it resulted in massive mote them 200MB download which was hard to finish even, when download was repetitively restarted.

Sometimes virtual networking is not so stable then real HW ones, plus if you add there for example issues with low signal WiFi line in host, so I try to divide in this example needed PKG installations to downloads in chunks with about max 30MB.

I will try to setup in this sample a Minimal X/Libs enviroment for remote execution of iPKG GUI components Package Manager or Update Manager, remote execution focused enviroment will need low resources in VM, no attempt for full X local enviroment.


General Information – JeOS Prototype OpenSolaris project

Download OpenSolaris 200906 JeOS Prototype VM for one 10+ most popular Virtualization Formats:

JeOS: Just enough OS Project Homepage

OpenSolaris 2009.06 JeOS Prototype VM Images Download

OpenSolaris 2009.06 JeOS Prototype 10 Simple Usage Samples

Discusion jeos-discuss@opensolaris.org (Main page)

Discusion jeos-discuss@opensolaris.org (Archives)

Part3: Using iPKG GUI tools in Remote X enviroment

1. Start VNC server

root@osol-jeos:~# vncserver -geometry 1600x1200 -depth 16
You will require a password to access your desktops.
Password: justone1
Verify: justone1
xauth:  creating new authority file /root/.Xauthority
New 'osol-jeos:1 ()' desktop is osol-jeos:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/osol-jeos:1.log

2. Connect from host with vncclient

vncclient virual_host_ip:1

3. Start Package Manager in terminal

packagemanager

4. Install packages you need

I install SUNWgcc

5. Quit Package Manager

6. Update system with Update Manager

pm-updatemanager

7. Update system

Note: You will see only pkg updates, to get more updates in 200906 you need to have setup a OpenSolaris? support repository.

8. Close update manager

PS: Yuo can try also “firefox” now 🙂

9. In JeOS (in virtual machine) stop vncserver

root@osol-jeos:~# vncserver -kill :1
Killing Xvnc process ID 1966

10. Now reboot system in updated BE opensolaris-1

Now you can now edit GRUB menu to have a new BE opensolaris-1 in all selection, keeping just one as opensolaris as save mode.

Advertisements

1 Comment »

  1. […] Part 3: Minimal X env for iPKG GUI in OpenSolaris JeOS Prototype […]

    Pingback by OpenSolaris JeOS (Main Page) « Virtual Guru's Blog – Home of Virtualization Workshops — February 7, 2010 @ 3:50 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: