Ivan Kartik - Oracle and Linux Blog

Choosing X client for graphical installation

You are using MS Windows and you want to install Oracle product on Unix (or Unix-like server) and you don't want to perform silent installation for some reason. You are facing to common question what X client to choose to perfom this task. Here is list of most known (free) clients along with some advantages and disadvantages for each solution.

Virtual Network Computing aka VNC VNC was developed at the Olivetti & Oracle Research Lab owned by Olivetti and Oracle Corporation. It consists of three parts: Server, Client and Protocol. For us there are intersting just two parts: Server - resides on the server machine and shares its screen. Client - resides on the local (client) machine and interacts with the server. Pros: + Small and easy to install application Cons: - X server must be installed and running on server (Maybe I'm old fashioned but I belive that X server should not be installed on server nor running on server) - VNC server is not installed by default on server, you need to install it - Unencrypted communication Homepage: http://www.tightvnc.com, http://www.realvnc.com

Cygwin Cygwin is Linux-like enviroment for Windows which was developed at Cygnus Software and currently is mantained by Redhat. Cygwin comes with pretty long list of software such as X server, KDE, SSH, Apache, gcc and so on. You can choose the packages to install during installation of Cygwin. Pros: + All in one. X server, SSH, shell (terminal) so the feelings are the same as you are using Linux as client/machine. + You can use X11 forwarding via SSH Cons: - As you need install X server, installation is quite long and Cygwin occupies significant amount of space. Homepage: http://www.cygwin.com

WeirdX WeirdX is Java implementation of X Window Server/Client. It is not designed for running of "heavy" X clients but for Oracle installation is pretty suitable. It supports X11 forwarding via SSH and is platform independent. Pros: + X11 forwarding via SSH + Platform independent Cons: not discovered Homepage: http://www.jcraft.com/weirdx/

Xming Xming is small and fast X Server/Client for Windows. This is probably best solution for Windows users. For SSH shell you need to use Putty. Pros: + Small, stable and fast X Window implementaion +- Features like X11 Forwarding are provided by external SSH client Homepage: http://sourceforge.net/projects/xming

Bootable Linux distribution CD / USB Key If you don't want install anything (or you can't install software to your local machine), you can use any of existing bootable Linux distributions. You will get full Linux distribution with SSH, X Server and other builtin utilities and features. Well known bootable distributions are: Fedora Live CD, Damn Small Linux (only 50M), Knoppix and others. This is my case. I'm using bootable USB key with Live Linux distribution with all software (including Oracle SW) or scripts that I need for installation or maintenance of Oracle products. Pros: + You will get everything and you don't need to install anything Cons: - You need to reboot PC and boot different OS :-) Conclusion: Which of these solutions is best? This conlusion is up to you.

Following chart is based on my personal feelings where 1 means best solution and 5 worst solution. 1. Xming 2. Linux bootable CD/USB key 3. WeirdX 4. Cygwin 5. VNC

 

 

Update: Linux in Virtual Machine This another option how to use Linux as client without installation and of course without need to reboot computer (which is needed to use previous option). To use this option you need to download just two things: VMware Player and some image (virtual appliance) of Linux distribution for VMware Player. Of course in case you have VMware Server/Workstation you can make your own installation of Linux. Pros: + Easy to install solution + You can use more operating systems at once + Plenty of Linux images availble for download Cons: - Memory requirements http://www.vmware.com/products/player http://www.vmware.com/appliances http://www.thoughtpolice.co.uk/vmware Thanks to Hans Forbrich for this option.

Is your HW good for Linux?

I found interesting website located at http://hardware4linux.info. It is a web site to lookup and report hardware compatibility and incompatibility with Linux distributions. This site works in a collaborative way. You can download and install Hardware4Linux collector and collect the your hardware configuration. Then you can upload the data and rate the compatibility.

First installation of 11g

I found some free time (not so much in these days) to try fresh release of Oracle Database 11g (released few days ago). So I took some free machine with certified Linux and downloaded 1.7 GB installation archive from well known site. Then I've installed all required packages (surprise #1: some of the RPM packages aren't required anymore). At first look nothing has changed in OUI (just background image). Installation went without problems and the SW was installed in a while.

I noticed that diag directory has been created in my $ORACLE_BASE directory but I didn't pay attention to it for that moment. After succesfull install I've decided create the database manually, so I created my own init.ora with common parameters along with other files (as orapw file and custom database creation script). Issued "startup nomount" and as usually watched output from "tail -f alert.log" in other terminal. Suddenly there new message appeared in output (suprise #2): "Thu Aug 16 17:22:41 2007 WARNING: The background_dump_dest init.ora parameter has been deprecated. WARNING: Please remove the background_dump_dest parameter from the init.ora file. WARNING: The diagnostic_dest init.ora parameter now determines the location of the diagnostic data WARNING: The new location for the background logs and traces is /opt/oracle/diag/rdbms/orcl/ORCL/trace Thu Aug 16 17:22:41 2007 WARNING: The user_dump_dest init.ora parameter has been deprecated. WARNING: Please remove the user_dump_dest parameter from the init.ora file. WARNING: The diagnostic_dest init.ora parameter now determines the location of the diagnostic data WARNING: The new location for the user logs and traces is /opt/oracle/diag/rdbms/orcl/ORCL/trace". Time to check the New Features Guide... I found that background_dump_dest and user_dump_dest were replaced by new parameter diagnostic_dest (yes, the diag directory...). So I changed the parameters, started instance and created the database and EM repository. I found that alert.log is not plan text anymore but it became little "well formed" - so now it is XML (surprise #3). But there is still option how to read alert.log as plain text. For this purpose here is new utility adrci which has many features and of course this one. So instead of
tail -f alertORCL.log
you need now execute following:

[oracle@ika ~]$ adrci
ADRCI: Release 11.1.0.6.0 - Beta on Mon Aug 16 22:01:28 2007
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
ADR base = "/opt/oracle/admin"
adrci> show alert -tail -f
One thing that I don't understand is why Oracle guys made the adrci utility comfortable such as SQL*Plus (I mean not so comfortable). Well another tool for good old rlwrap. Btw look at the banner: ADRCI: Release 11.1.0.6.0 - Beta on Mon Aug 16 22:01:28 2007. Maybe Oracle guys forgot something (maybe not but it is little surprising when the "Beta" word occurs in final release). Oracle 11g brings new features (and of course EM got face lifting too :-D ) so don't wait and check the New Features Guide. As usually, I have prepared the installation paper. It's valid for Enterpise Linux 4,5 (shipped by Oracle) and also for Redhat Enterprise Linux 4 and 5. You can find it here:http://ivan.kartik.sk/oracle/install_ora11gR1_elinux.html (and of course in the right menu of this page).

New "extras" repository for RedHat EL and clones

Fedora project has created new repository for "extras" packages for RHEL and clones such us Centos or Scientific Linux under name EPEL (Extra Packages for Enterprise Linux). "EPEL is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs such as CentOS or Scientific Linux. EPEL was started because many Fedora contributors wanted to use the Fedora packages they maintain on Red Hat Enterprise Linux (RHEL) and its compatible derivatives". Goal of EPEL is "Make high quality packages that have been developed, tested, and improved in Fedora available for RHEL and compatible derivatives such as CentOS and Scientific Linux". Relevant links: http://fedoraproject.org/wiki/EPEL http://www.linux.com/feature/118304 http://lists.centos.org/pipermail/centos/2007-July/084398.html

Last week news: Centos 5 released, CPU patch

New CentOS Linux 5 version was released for i386 (x86) ad x86_64 architectures. More info at: www.centos.org. Linux.com has published good review of new release. Oracle Critical Patch Update - April 2007 was released. More info you can find here. Catched from OTN forums Interesting tip: Hans Forbrich has posted workaround for Enteprise Manager when you want use export|import of tnsnames to|from OID. Funny/Dummy post of the week (maybe better of month :-) ): Forum user: "Oracle is the devil itself" No comment necessary...

Newer posts → Home ← Older posts