Remote graphical installs

March 5th, 2015

Most of my servers tend to be Linux VMs on VMware ESX without any graphics desktops setup, so it can be disconcerting trying to install Oralce with it’s graphical “runInstaller” being the gate way we have to cross to achieve installation.  Of course there is the silent install, but to do that requires knowing all the secret handshake responses to make the silent installer work. Often the easiest way to get a response file is to capture the responses form a graphical run of the runInstaller.

There is another way, and that is using vncserver to run the graphic desktop on another machine. For example I can display the the graphical desktop on my Mac.

Here is the setup:

On the Linux box:

 cd /etc/yum.repos.d
yum install oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
yum install oracle-rdbms-server-11gR2-preinstall-1.0-3.el6.x86_64
yum install elfutils-libelf-devel
yum install glibc.i686
yum install tigervnc-server
yum install xterm
yum install twm
yum install xsetroot

# without the following get errors
# [dix] Could not init font path element /usr/share/X11/fonts/misc, removing from list!
# [dix] Could not init font path element /usr/share/X11/fonts/100dpi, removing from list!
# [dix] Could not init font path element /usr/share/X11/fonts/Type1, removing from list!
# [dix] Could not init font path element /usr/share/fonts/default/Type1, removing from list!
# [dix] Could not init font path element built-ins, removing from list!
# Fatal server error:
(EE) could not open default font ‘fixed'(EE)

yum install libXfont

then run


on my Mac, I install and run



And all this makes me wonder why there can’t be a web based installer …



  1. Trackbacks


  2. | #1

    I always just use CygwinX on Windows or XQuartz on Mac. You just have to use X11 forwarding to make it all work. This can help mitigate security concerns if you are running something on a corporate network. (VNC has been a favorite of exploits for some tine now).

  3. khailey
    | #2

    co-incidentally just saw this today, running a silent install without a response file

  4. Allan Robertson
    | #3

    Any particular reason why you don’t pre-install your Oracle binaries once, detach the Oracle Home and use a virtual machine template? Once the VM is deployed you simply run the clone script.

    see pages 44 – 47 of the following EMC/Oracle document for an example of how to do it.

  5. khailey
    | #4

    @Alllan : nice. Is this a 5.1 one option? I don’t see it in vSphere 5.0

  6. khailey
    | #5

    @Allan: that must be the web client which only works with vCenter and I’m using vSphere :(

  7. | #6

    MOS Note 885643.1

  8. khailey
    | #7

    @Hemant: thanks for the MOS note on response files and recording response files. Yes, I’ve recorded response files – sometimes worked well sometimes not. 12c gave me problems, 11g worked well.
    Didn’t know that there were response files already in database/response/db_install.rsp . That’s good to know.

    I’ll have to try this on 12:

    ./runInstaller -silent -debug -force \
    FROM_LOCATION=/…/Disk1/stage/products.xml \
    oracle.install.option=INSTALL_DB_SWONLY \
    UNIX_GROUP_NAME=oinstall \
    INVENTORY_LOCATION=/u01/app/oraInventory \
    ORACLE_HOME=$ORACLE_BASE/product/12.1.0/dbhome_1 \
    ORACLE_HOME_NAME=”ora12c_home” \
    oracle.install.db.InstallEdition=EE \
    oracle.install.db.DBA_GROUP=dba \
    oracle.install.db.OPER_GROUP=dba \
    oracle.install.db.BACKUPDBA_GROUP=dba \
    oracle.install.db.DGDBA_GROUP=dba \
    oracle.install.db.KMDBA_GROUP=dba \

  9. Allan Robertson
    | #8


    It is pretty easy to shell script a vm clone then. Some good examples here

  10. khailey
    | #9

    @Allan: great info – thanks!

five − 2 =