Dominique Merle's Weblog LYON

Friday Mar 20, 2009

"Head in the sky"

The link below is a document about "Cloud Computing" I found very interesting and that really helped me at understanding this subject:

http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-28.html

"Feet on the ground"

If you want to go deeper and go back to the ground level and have less theory but more practice, just try the cloud here (sorry, for the time being, it's restricted to Sun employees)

Thursday Mar 19, 2009

I have just finished the StarOffice 9 installation on OpenSolaris 2008-11

I am currently running OpenSolaris 2008-11, build 106.

Here are the steps

1- Download StarOffice from Sun Software Library (Sun employee only)

2- Prepare to install it as root

Allow DISPLAY for root and launch StarOffice installation script

In one terminal :

(first line below, you can't guess it: of course, you have to go and ask for your best OpenSolaris friend)

#svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen = true

#xhost +

In an other terminal

#su root

#DISPLAY=129.x.x.x:0.0 (your IP @ you can get with #ifconfig)

#export DISPLAY

Launch StarOffice script : #/opt/so9.0.1.sh

Ensure that OpenOffice is installed. I don't know why, but even if my StarOffice9 installation script succeeded, afterwards libuno_sal.so.3 was missing. This library was added after OpenOffice installation.

3 - Install the fonts

3-A Download the fonts from Sun Software Library

copy fonts : #cp sun_msfonts.zip /usr/X11/lib/X11/myfonts

3-B unzip:

#cd  /usr/X11/lib/X11/myfonts

#unzip  sun_msfonts.zip

Run spadmin (as regular user): #/opt/staroffice9/program/spadmin and install the new fonts from the menu

Also, if you want to remove from the Gnome menu the Staroffice 8:(thanks to Ian)

System -> Preferences -> Main Menu

Here you are!

What I like in StarOffice Text is the zoom slider at bottom right:


Monday Mar 16, 2009

I am running OpenSolaris on a day to day since 2008.05 release. I went through numerous updates, and so far I am running build 106:

dmerle@opensolaris:~$ uname -a
SunOS opensolaris 5.11 snv_106 i86pc i386 i86pc Solaris

Although I had one big OpenSolaris partition, this partition was nearly full and prevent me from doing new updates (see this post).

Save space

The trick to regain some space is to remove snapshots :

dmerle@opensolaris:~$ zfs list -t snapshot
NAME                                                                                              USED  AVAIL  REFER  MOUNTPOINT
rpool@install                                                                                    20K      -  55.5K  -
rpool/ROOT@install                                                                         15K      -  8K       -
rpool/ROOT/opensolaris-10@install                                               2.02G   -  2.48G  -
rpool/ROOT/opensolaris-10@2009-02-04-17:18:04                     3.98G   -  9.21G  -
rpool/ROOT/opensolaris-10/opt@install                                        123K    -  3.61M -
rpool/ROOT/opensolaris-10/opt@static:-:2008-08-25-14:39:17 792M    -  3.86G  -
rpool/ROOT/opensolaris-10/opt@2009-02-04-17:18:04              635M    -  3.85G  -

rpool/export@install                                                                        15K      -    19K    -
rpool/export/home@install                                                              20K      -    21K    -
rpool/export/home@28112008                                                       11.1G   -  12.3G   -

e.g:

#pfexec zfs destroy rpool/ROOT/opensolaris-10@install

Removing the red snapshots did the trick for me. Now I have 12GB free instead of 1,2GB before!

Gparted

I also used Gparted to resize my Windows partition. Gparted is very easy to use. You download the software (~ 95MB), you burn the CD and boot on the CD. The CD is a linux Debian environment and with a graphical interface, you can resize (grow or shrink) any NTFS or FAT partition.

Below what you can see whith gparted

It appears that Gparted does not recognize the OpenSolaris partition : see the white space in sda4. My Data partition (sda2) is shared between Windows XP and OpenSolaris.

Disk Analyzer

You can then run Disk Usage Analyzer (Menu: Applications -> System Tools -> Disk Usage Analyzer)