四:编辑.bash_profile文件(登陆进来后本地文件应是/usr/Oracle)
具体文见附件.
加载配置文件及查看已生效的配置 source .bash_profile
set |more

五:下载和安装JAVAhttp://java.sun.com/products/archive/index.html 将下载下来的文件放至/usr下面. su -
chmod +x j2re-1_3_1_19-linux-i586.bin
./jere-1_3_1_19-linux-i586.bin
mv jre1.3.1_19 /usr/jre1.3.1
java -version
六: 查询所需的软件包
su - rpm -q compat-db compat-gcc-32 compat-gcc-32-c++ compat-libcom_err compat-libcwaitcompat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers glibc-kernheaders libgcc make
安装缺少的软件包,具体的安装各位自已搞定了,有很大一部份系统的安装光盘上有,给几个下载地址.http://ftp.chinalinuxpub.com/redhat/enterprise/os/i386/RedHat/RPMS/; http://mirror.centos.org/centos/4/updates/i386/RPMS/;http://oss.oracle.com/projects/compat-oracle/files/RedHat/;如果实在不行的话可以找我联系,其中除了上述的软件外,还要安装 compat-oracle-rhel4-1.0-5.i386.rpm.










