Saturday, December 13, 2008

OpenSolaris :: OpenOffice 3.0


  • OpenOffice 3.0 but over 150MB
  • wish to see OpenOffice package will be included in the future installation CD

root@opensolaris:~# pkg install openoffice
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 3932/3932 151.65/151.65

PHASE ACTIONS
Install Phase 4464/4464
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1


OpenSolaris :: Web Stack installation

  • first package installation will be the Web Stack

root@opensolaris:~# bash -x pkg-install.sh
+ export PKG_CLIENT_TIMEOUT=220
+ PKG_CLIENT_TIMEOUT=220
+ export PKG_TIMEOUT_MAX=100
+ PKG_TIMEOUT_MAX=100
+ truss -o /root/pkg-install.log pkg install pkg:/amp-dev@0.5.11-0.101
PHASE ITEMS
Indexing Packages 554/554
DOWNLOAD PKGS FILES XFER (MB)
Completed 52/52 22133/22133 334.56/334.56

PHASE ACTIONS
Install Phase 25190/25190
Reading Existing Index 9/9
Indexing Packages 52/52

OpenSolaris :: TIME OUT

  • doing pkg refresh always give me "time out" message

root@opensolaris:~# pkg install sunstudioexpress
Creating Plan -
pkg: Maximum (4) network retries exceeded during download. Details follow:
Transfer from 'http://pkg.opensolaris.org/release' timed out. (happened 4 times)

  • Below workaround worked for me (nevermind about root user , default is to use pfexec as normal user). There are 2 environment variable which are PKG_CLIENT_TIMEOUT and PKG_TIMEOUT_MAX

root@opensolaris:~# bash -x pkg-install.sh
+ export PKG_CLIENT_TIMEOUT=220
+ PKG_CLIENT_TIMEOUT=220
+ export PKG_TIMEOUT_MAX=100
+ PKG_TIMEOUT_MAX=100
+ pkg install SUNWjruby
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 11655/11655 9.45/9.45

PHASE ACTIONS
Install Phase 13525/13525
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1

OpenSolaris 2008.11 (Final)


  • Reinstalled again on my aging machine (dinosaur). The machine is Dell PowerEdge 350 with Pentium III 850Mhz , 1 GB of RAM , 80 GB of hard disk , ATI Rage XL graphic cards and 2 x iprb NIC's
  • Installation is a breeze and within few clicks you are done !
  • Saw the little "Update Manager" icon appeared to inform new upgrade available and wait for moment (7 mins actually)
  • can always check the boot enviroment via the package manager GUI or via command line
root@opensolaris:~# beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris N / 3.10G static 2008-12-12 11:48
opensolaris-1 R - 2.62G static 2008-12-13 13:24


Wednesday, November 26, 2008

Ubuntu 8.10 on HP NC6400 notebook

After finished backup of my existing Ubuntu 8.04 , Ubuntu 8.10 was finally installed !
One sweet thing I noticed , my WIFI LED is blinking (at last) ! It never blink in previous version which apparently due to bug.

Installation is really simple even tough for dual boot system like me !

Openoffice 3.0 did not make it but anyway it can always be download from the Openoffice website.

Now I need to restore my data and all set to go !

Upgrade Opensolaris :: Part 2

Finally :

opensolaris:~$ pfexec pkg image-update
DOWNLOAD PKGS FILES XFER (MB)
Completed 563/563 8802/8802 47.76/47.76

PHASE ACTIONS
Removal Phase 1068/1068
Install Phase 786/786
Update Phase 17819/17819
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 563/563

A clone of opensolaris exists and has been updated and activated.
On the next boot the Boot Environment opensolaris-1 will be mounted on '/'.
Reboot when ready to switch to this updated BE.


---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
http://opensolaris.org/os/project/indiana/resources/relnotes/200811/x86/
---------------------------------------------------------------------------

opensolaris:~$ beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris N / 12.98M static 2008-11-16 22:55
opensolaris-1 R - 5.45G static 2002-01-01 01:05

Monday, November 24, 2008

Upgrade Opensolaris

To upgrade OpenSolaris image :

opensolaris:~$ pfexec pkg image-update

Please update pkg(5) using 'pfexec pkg install SUNWipkg' and then retry
the image-update.

No worry !

opensolaris:~$ pfexec pkg install SUNWipkg
DOWNLOAD PKGS FILES XFER (MB)
Completed 1/1 110/110 0.41/0.41

PHASE ACTIONS
Install Phase 3/3
Update Phase 167/167
PHASE ITEMS
Reading Existing Index 9/9
Indexing Packages 1/1