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

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)

Part2: Install X/Libs with dependencies in chunks

I will install a VMCserver, so we can have remote X access with vncclient from any Virtualization host platform, plus Package Manager X session redirect to my Linux workstation was very ugly, fonts was scaled down to ratio when anti-aliasing didn't work. By using VMC session virtual screen can be created large anought and application can be correctly resized.

So we need to install this packages together with iPKG GUI ones:

  • SUNWxvnc = VNCserver
  • SUNWxwopt = TWM small Windows manager

I was decompose installation and downloads using sequence of -nv dry-run attempts like this:

(Yes, you will get installed Firefox browser as iPKG GUI dependence !)

root@osol-jeos:~# pkg install -nv SUNWipkg-gui SUNWipkg-gui-data SUNWipkg-um | tee -a /tmp/eval.log
Creating Plan / Before evaluation:
UNEVALUATED:
+pkg:/SUNWipkg-gui@0.5.11,5.11-0.111:20090826T185725Z
+pkg:/SUNWipkg-gui-data@0.5.11,5.11-0.111:20090508T161025Z
+pkg:/SUNWipkg-um@0.5.11,5.11-0.111:20090826T185727Z

After evaluation:
None -> pkg:/SUNWipkg-gui@0.5.11,5.11-0.111:20090826T185725Z
None -> pkg:/SUNWipkg-gui-data@0.5.11,5.11-0.111:20090508T161025Z
None -> pkg:/SUNWipkg-um@0.5.11,5.11-0.111:20090826T185727Z
None -> pkg:/SUNWgnome-python-extras@0.5.11,5.11-0.111:20090508T160139Z
None -> pkg:/SUNWgksu@0.5.11,5.11-0.111:20090508T154819Z
None -> pkg:/SUNWfirefox@0.5.11,5.11-0.111:20090508T154335Z
None -> pkg:/SUNWgtkspell@0.5.11,5.11-0.111:20090508T160726Z
None -> pkg:/SUNWgnome-spell@0.5.11,5.11-0.111:20090508T160200Z
None -> pkg:/SUNWipkg-gui-l10n@0.5.11,5.11-0.111:20090508T161026Z
Actuators:
      restart_fmri: svc:/application/desktop-cache/gconf-cache:default
      None

After, I was getting PKG names before installations like this:

cat /tmp/eval.log | grep "Note -"| |sed -e s'\\/\\ \\g'| sed -e s'\\@\\ \\g'| awk '{print $4}' | xargs \\
 -n1 pkg list -Hsa
SUNWxvnc                       X11/VNC server
SUNWpixman                     Pixman library
SUNWxwfsw                      X Window System platform required font software
SUNWfreetype2                  FreeType2 Font library
SUNWxwplt                      X Window System platform software
SUNWxorg-clientlibs            X.Org Foundation X Client Libraries
SUNWxwxft                      Xft (X Freetype) Library
SUNWfontconfig                 Fontconfig library
SUNWxwice                      X Window System Inter-Client Exchange (ICE) Components
SUNWxorg-mesa                  Xorg Server Mesa Modules and Libraries
SUNWxorg-server                X.Org Foundation Xserver
SUNWxorg-xkb                   X.Org Foundation Xserver keyboard layouts
SUNWdbus-libs                  Simple IPC library based on messages - client libraries
SUNWpciaccess                  PCI bus access library and tools
SUNWhal                        Hardware Abstraction Layer
SUNWdbus-bindings              Simple IPC library based on messages
SUNWgnome-base-libs            GNOME base GUI libraries
SUNWTiff                       libtiff - library for reading and writing TIFF
SUNWpapi                       Free Standards Group Open Printing API
SUNWjpg                        jpeg - The Independent JPEG Groups JPEG software
SUNWmlib                       mediaLib - Shared Libraries
SUNWcups-libs                  CUPS (Runtime Libraries)
SUNWpolkit                     PolicyKit
SUNWxsvc                       Sun Xserver pseudo driver
SUNWxwplr                      X Window System platform software configuration

Installing IPKG GUI with Minimal X/Libs Env

1. Install support libs first

root@osol-jeos:~# pkg install  SUNWjpg SUNWTiff SUNWpciaccess SUNWpixman SUNWfontconfig SUNWfreetype2 SUNWdbus-libs SUNWdbus
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    8/8     330/330     2.61/2.61

PHASE                                        ACTIONS
Install Phase                                575/575
Deleting content cache

2. Install Media lib

root@osol-jeos:~# pkg install  SUNWmlib
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1     125/125   31.18/31.18

PHASE                                        ACTIONS
Install Phase                                244/244
Deleting content cache

3. Install vncserver, twm and it's dependencies (This is smaller chunk, sorry)

root@osol-jeos:~# pkg install  SUNWxvnc SUNWxwopt
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  18/18   3425/3425   47.07/47.07

PHASE                                        ACTIONS
Install Phase                              4405/4405
Deleting content cache

4. Install some X fonts

root@osol-jeos:~# pkg install FSWxorg-fonts-core SUNWgnome-fonts
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    2/2   1459/1459   32.50/32.50

PHASE                                        ACTIONS
Install Phase                              1494/1494
Deleting content cache

5. Install Gnome Python

root@osol-jeos:~# pkg install SUNWgnome-python-libs
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                  18/18   3986/3986   33.76/33.76

PHASE                                        ACTIONS
Install Phase                              5106/5106
Deleting content cache

6. Install iPKG GUI packages Package Manager and Update Manager

root@osol-jeos:~# pkg install SUNWipkg-gui SUNWipkg-gui-data SUNWipkg-um
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    9/9   3760/3760   26.35/26.35

PHASE                                        ACTIONS
Install Phase                              4228/4228
Deleting content cache

Optional: Install mc (Midnight Commander) and Media Manager

You can now install this tools, we can't them install directly in CLI JeOS due to X dependencies in them.

root@osol-jeos:~# pkg install SUNWgnu-mc SUNWrmvolmgr
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    4/4     240/240     2.45/2.45

PHASE                                        ACTIONS
Install Phase                                355/355
Deleting content cache
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Hands-on experience with Virtualization

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today