Installing Oracle on RHEL5
I’ve done this so many times, but still just wanted to keep my own notes on what packages have to be installed before you can run the installer.
[root@hostname]# yum install gcc sysstat unixODBC unixODBC-devel libaio compat-libstdc++ compat-libstdc glibc-devel libaio-devel libstdc++ gcc-c++ libstdc++-devel gcc-c++ libstdc++-devel compat-libstdc++ compat-libstdc++-33 elfutils-libelf-devel gcc-c++ unixODBC unixODBC-devel elfutils-libelf-devel
Installation Steps:
- First download the two disk install kit in on svn.temcontrol.com/web/storage/oracle
- Extract it in ~oracle.
- set up an xserv and troubleshoot until you can get xclock exported to your desktop. You may have to yum install xserv by the following yum install xorg-x11-server-Xorg xorg-x11-xauth xclock
- Set environment variables (ORALCE_HOME, NLS_LANG, LD_LIBRARY_PATH), probably by symlinking the oracle.sh file into /etc/profile.d.
- SSH in as the Oracle user, and run the command runinstaller.sh AS THE ORACLE USER to wherever you unzipped it to. It should launch a gui on your desktop. Go with stand alone database, no need to set up clustering considering we have an oracle cluster we’re using, and we’re just installing this for the client.
- Create the base directory for the installer.
[root@o5183 oracle]# mkdir -p /u01/app/oracle
[root@o5183 oracle]# chown -R oracle:oracle /u01
- Install Administrator and with defaults. If you’re missing any dependencies, scroll up. You have to install administrator because that’s where a lot of the binaries are for loading data.
- Also, be sure the Oracle Base is set to /u01/app/oracle. By default it’s going to be wherever you unzipped.
