OCI Client Installation

7:03 PM

1) Install VNC, GNOME RPMs
yum install gnome* vnc-server firefox
2) Create the dba Group
groupadd -g 490 dba
3) Create the oracle User
useradd -c "System - Oracle" -m -G dba -u 499 oracle
4) Set the oracle user's password
passwd oracle
**NOTE: provide the oracle user's password to the DBA so they can reset it to their standard.
5) Become the oracle user.
sudo su - oracle
6) Create the /home/oracle/.vnc directory
mkdir -p /home/oracle/.vnc
7) Set the VNC password
vncpasswd
**NOTE: provide the VNC password to the DBA so they can reset it to their standard.
8) Start the VNC Server
vncserver
9) Edit /home/oracle/.vnc/xstartup
Comment out the 'twm &' and add 'gnome-session &' to the below it. It should look like this when complete.
#!/bin/sh
  1. Uncomment the following two lines for normal desktop:
  2. unset SESSION_MANAGER
  3. exec /etc/X11/xinit/xinitrc
[OpsSD: -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[OpsSD: -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
10) Kill the vnc session using the command vncserver -kill <session-id>
vncserver -kill :1
11) Install prequisite RPMs for the Oracle client
yum install make binutils gcc libaio libaio-devel libstdc++ sysstat libgcc elfutils-libelf glibc-common glibc-devel libstdc+-devel elfutils-libelf-devel gcc-c+ glibc
Note: For Oracle 11g Client installs you will need two further rpm's
Name                                    Version              Rel               Arch
----------------------------------------------------------------------------------------
unixODBC-devel                          2.2.11              1.RHEL4.1           i386
libaio                                  0.3.105             2                   x86_64
and the following kernel parameter changes
net.ipv4.ip_local_port_range = 9000 65500
 
net.core.rmem_max = 262144
 
net.core.rmem_max = 4194304
12) Reboot the Server

You Might Also Like

0 comments

Contact Form

Name

Email *

Message *

Translate

Wikipedia

Search results