Thursday, May 31, 2007

Install Compiz 0.5.0 on Solaris Express (snv build 62)

Just share an experience. Attempting to reproduce:-
“Compiz on Solaris x86 - Eye Candy for Solaris’s Desktop” ([1])
First off you *need* an Nvidia 3D accelerated card, either a GeForce or Quadro.
If you do not have an Nvidia display card you are out of luck
Secondly you need at least Solaris Express Build 60. It should also work on
61 and 62. ([1])

Have SXCE build 62 (64 bit)up and running

Thirdly you must be using JDS. This Compiz build has only been tested with JDS.([1])

Yes, using JDS

Grab the latest Nvidia Solaris Driver and install it from here: ([1])

Download Driver for Solaris x64/x86
Latest Version: 1.0-9755
# sh
# reboot -- -r
Was unable to find either /etc/X11/xorg.conf or /usr/share/doc/NVIDIA/xorg.conf.nvidia
Ran nvidia-xconfig to configure the X server: nvidia-xconfig found nothing
and ended up with message: Segmentation fault. Core dumped.
However xorg.conf got created and looked not bad.
After relogin desktop looked nice. Sharpness increased

Grab the Compiz + Xorg additional stuff package tarball from
Extract the tarball and cd into the compiz-pkgs directory.
Run the installer script as root user: ./install ([1])

Actually, running ./install as root from /tmp/compiz-pkgs folder
creates final version of /etc/X11/xorg.conf.

Logout and login again as the normal user. Nothing new happens.
Now add some basic Compiz configurations by executing: /usr/bin/add-compiz
Now start Compiz by executing the following in a terminal window: ([1])

$ gtk-window-decorator --replace & compiz --replace gconf &
Got message :- Failure to load slide freedesktop

Now you can make Compiz the default by adding the commands to the auto-start list:
Go to Gnome Menu -> Preferences -> Sessions
Click on “Startup Programs”
Click on “Add” and add the command: gtk-window-decorator --replace
Click on “Add” again and add the command: compiz --replace gconf

Done, expecting "compiz --replace gconf" to start with some problem
Looks like it is not an issue. Installed Compiz works fine exactly as
described in [2].

Once installed, logout and login in JDS/gnome and click on the “Run Compiz 3D deskop” icon ([1])

No new icon has been created.Actually, you don't need it at all
New Menu option showed up: Preferences->Compiz configuration

Instructions from [2]:-
Gnome Menu -> Preferences -> Compiz Settings Manager allows you to tweak the settings and enable/disable plugins. Keep in mind that the "Annotate" plugin can cause some heartburn.
Ctrl + Alt + Mouse Drag on Desktop rotates the Cube
Mouse wheel on Titlebar shades/unshades windows
Ctrl + Right Click zooms the display. Mouse wheel or Enter will un-zoom.
Alt + Mouse Wheel on a Window adjusts the Window Transparency
Jerking Mouse Pointer to Top Right desktop corner gets you the Expose effect
Ctrl + Alt + Up Arror also gets you the Expose effect
Ctrl + Alt + Down Arrow gives a panoramic view of all the desktops
You can drag a Window from one cube surface to another
Every Gnome desktop has it's own independent cube
Shift + F9 toggles a Raindrop effect on the screen
Shift+F10 toggles slow motion

Thursday, May 24, 2007

Running Solaris 10 (11/06) Virtual Machine on CentOS 5.0 (VMWare Server 1.0.3)

CentOS 5.0 and VMWare Server 1.0.3 have been installed on the box been assembled
utilizing following hardware:-
CPU Core2Duo E6600 2.4GHZ, board ASUS P5B Deluxe, 2GB RAM (2xDDR2 1GB PC 5300 Kingston),2x160 GB SATA HDDs Seagate Barracuda 160 GB. Host Controllers Intel ICH8R and Jmicron JMB 363 both running in AHCI mode, what prevents from straightforward installation Solaris 10 on mentioned box.

Solaris 10 (11/06) has been installed as VMWare Server Virtual Machine configured as:-

Solaris 10 Virtual Machine start up:-

Login to Solaris:-

Virtual Network Bridge verification:-

Runtime snapshot:-

Shutdown Solaris properly :-

Now Solaris VM may be powered off:-

Test install Oracle 10g R2 on Solaris 10 VM.

Create user "oracle" :-

# groupadd oinstall
# groupadd dba
# useradd -d /export/home/oracle -g oinstall -G dba -m -s /bin/bash oracle
# passwd -r files oracle
# mkdir -p /export/home/oracle/product/10.2.0/db_1
# chown -R oracle:oinstall /export/home/oracle

Create project "oracle" and tune maximum shared memory size
segment available for oracle session as 4 GB utilizing "prctl" command as required
by Oracle manuals for Solaris 10, i.e. run as root:-

# projadd oracle

and add line to /etc/user_attr:-


Having oracle’s session opened , run as root:-

# projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle

Relogin as oracle and make sure oracle's project has been updated:-

$ prctl -n project.max-shm-memory -i project oracle

privileged 4.00GB - deny –
system 16.0EB max deny -

In general, following kernel parameters have to be
also tuned for Solaris 10 :-

project.max-sem-ids 100
project.max-sem-nsems 256
project.max-shm-ids 100

Tune ~oracle/.bash_profile as usual:-

umask 022
export ORACLE_BASE=/export/home/oracle
export ORACLE_HOME=/export/home/oracle/product/10.2.0/db_1
export ORACLE_SID=orcl

and issue :-

# xhost +
# su - oracle
$ cd /install/database

Due to known bug , run Installer with option "Install Software only"
When done , run:-

$ dbca

to create database and

$ netca

to configure file $ORACLE_HOME/network/admin/listener.ora and

Oracle sample database start/stop benchmarking.

Friday, May 18, 2007

Install Oracle (64 bit) on openSUSE 10.2 x86_64

This posting is supposed to give a detailed explanation of steps suggested
in thread
by "mar_456". It is also addressing several issues recently been discussed at

error on Installing Oracle 10g realease 2 on suse 10.2

All my effort is to make already known issues clear and understandable for
people inexperienced with SUSE Linux system administration.

1. Install openSUSE 10.2 with "32 bit Runtime Environment" and "C/C++ Development" selection.

2. Download orarun-1.9-21.12.x86_64.rpm package from

and copy it to /tmp/orainst folder as root .Then run:-

# rpm2cpio orarun-1.9-21.12.x86_64.rpm | cpio -i --make-directories

Copy extracted files to required location and create symbolic links
at corresponding locations.Except symlink /usr/bin/sh pointing to /bin/bash.
It stays the same.

3. Create system user "oracle" with home directory /opt/oracle and shell /bin/bash
4. Set updated kernel parameters by executing as root:-

# /etc/init.d/oracle start

5.Edit file database/install/oraparam.ini to add "SuSE-10" .
6. Login as user oracle and run Oracle Universal Installer . You should not
experience any problems during OUI linking phase as far as
"32 bit Runtime Environment" has been installed, otherwise linking phase
will generate three exceptions and OUI will finally crash even you have choosed
"Ignore" for all of exceptions

Installation has been done.

Friday, May 04, 2007

Abit AB9 Pro versus Abit AB9