- 浏览: 85427 次
- 性别:
- 来自: 重庆&南京
文章分类
最新评论
-
934304050:
有没搞错 都是一个视频
AXIS2环境搭建视频教程 -
爪哇夜未眠:
感觉也没写什么东西,但看完以后心里有点难过。。。我是怎么了。。 ...
记念2010。 -
爪哇夜未眠:
看了你全部博客
记念2010。 -
jiewuzhe02:
...
颜色吸取器colorspy -
345161974:
哥们,有QQ号没?我准备去重庆那边找工作了,不晓得怎么样?QQ ...
记念2010。
This paper (HOWTO) describes step-by-step installation of Oracle 9i database software on SUSE LINUX 9.1, 9.2, 9.3 and 10.1.
This paper covers following steps:
Pre-Instalation Tasks
1. Create oracle User Account
Login as root and create te user oracle which belongs to dba group.
# groupadd dba
# useradd -g dba oracle
# mkdir /home/oracle
# chown oracle:dba /home/oracle
2. Setting System parameters
Edit the /etc/sysctl.conf and add following lines:
kernel.shmmax = 2147483648
kernel.shmmni = 128
kernel.shmall = 2097152
kernel.msgmnb = 65536
kernel.msgmni = 2878
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
Note: You need execute "sysctl -p" command or reboot system to apply above settings.
Edit the /etc/security/limits.conf file and add following lines:
* - nofile 16384
3. Setting Oracle Enviroment
Edit the /home/oracle/.bash_profile file and add following lines:
Settings for SuSE 9.1, 9.2 and 9.3 only. For SuSE 10.1 use the next settings.
ORACLE_HOME=$ORACLE_BASE/920
ORACLE_SID=MY_ORACLE
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_ASSUME_KERNEL=2.4.1
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH LD_ASSUME_KERNEL
Settings for SuSE 10.1 only. For SeSE 9.1, 9.2 and 9.3 use the above settings. Note setting of LD_ASSUME_KERNEL in 10.1 will cause incorrect functionality of OS.
ORACLE_HOME=$ORACLE_BASE/920
ORACLE_SID=MY_ORACLE
LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH
Save the .bash_profile and execute following commands for load new enviroment:
. .bash_profile
4. Create base directory for Oracle
Login as root and create base directory for Oracle ($ORACLE_BASE).
# cd /opt
# mkdir oracle
# chown oracle:dba oracle
Download & Install
1. Download and install required .rpm packages
Some additional packages are required for succesful instalation of Oracle software. To check wheter required packages are installed on your operating system use following command:
If some package is not installed download it from SUSE ftp server or direct from 9.1, 9.2, 9.3 locations or install it from installation media.
Download the gcc_old-2.95.3-175.2.i586.rpm package.
Install the required packages using the rpm command:
glibc-devel-2.3.3-118.i586.rpm \
libstdc++-3.3.4-11.i586.rpm \
libstdc++-devel-3.3.4-11.i586.rpm \
cpp-3.3.4-11.i586.rpm \
compat-2004.9.6-2.i586.rpm \
gcc_old-2.95.3-175.2.i586.rpm
If all required packages were installed succesfuly then login as root and switch the GCC3 compiler binary with GCC2 compiler binary as following:
# cd /usr/bin
# mv ./gcc ./gcc3
# mv /opt/gcc295/bin/gcc ./gcc
2. Download the Java Runtime Enviroment (j2re-1_3_1_15-linux-i586.bin) from the Sun website. Keep in mind you need to download j2re1.3.1_11 or higher (Note: Install JRE 1.3.1_1x version only).
Login as root and make the the file executable and then execute it. When the JRE is exracted move the "jre1.3.1_15" di rectory to "/opt" directory.
# ./j2re-1_3_1_15-linux-i586.bin
# mv jre1.3.1_15 /opt/
3. Download the Oracle 9i (9.2.0.4) software from Oracle website.
Extract the files using following command:
gunzip ship_9204_linux_disk2.cpio.gz
gunzip ship_9204_linux_disk3.cpio.gz
cpio -idmv < ship_9204_linux_disk1.cpio
cpio -idmv < ship_9204_linux_disk2.cpio
cpio -idmv < ship_9204_linux_disk3.cpio
When all archives were extracted you've got three directories Disk1, Disk2 and Disk3.
Edit the Disk1/install/linux/oraparam.ini and modify JRE_LOCATION variable and set path to our JRE installation from Step 2.
JRE_LOCATION=/opt/jre1.3.1_15
4. Start the Oracle software installation process.
Now the system is prepared for Oracle software installation. To start the installation process execute the following commands:
./runInstaller
When network configuration assistant and database configuration assistant has failed during startup then do following steps:
rm JRE
ln -s /opt/jre1.3.1_15 JRE
su -
# cd /opt/oracle/920/JRE/bin
# ln -s java jre
# cd i386/native_threads
# ln -s java jre
Click on "Retry" button.
Post-Instalation Tasks
1. Switch back the GCC binaries
# cd /usr/bin
# mv ./gcc ./gcc296
# mv ./gcc3 ./gcc
2. Change of JRE path in Oracle Universal Installer
Edit the $ORACLE_BASE/oui/oraparam.ini file and modify the value of JRE_LOCATION to /opt/jre1.3.1_15
3. (Optional) You may consider to use rlwrap for comfortable work with sqlplus. RPM package for SuSE (x86) distribution you can download here.
# rpm -ivh rlwrap-0.24-suse.i586.rpm
# exit
echo "alias sqlplus='rlwrap sqlplus'" >> /home/oracle/.bash_profile
. /home/oracle/.bash_profile
Common Installation Errors
Unable to load native library: /tmp/OraInstall2005-01-08_11-11-34AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Solution: Install new JRE 1.3.1 version. Edit the Disk1/install/linux/oraparam.ini and set path to new JRE for JRE_LOCATION variable. For more information see Download & Install section.
Error in invoking target install of makefile /opt/oracle/920/ctx/lib/ins_ctx.mk
Error in invoking target install of makefile /opt/oracle/920/precomp/lib/ins_precomp.mk
Error in invoking target install of makefile /opt/oracle/920/plsql/lib/ins_plsql.mk
Error in invoking ntcontab.o of makfile /opt/oracle/920/network/lib/ins_net_client.mk
Solution: Install the gcc_old-2.95.3-175.2.i586.rpm (gcc 2.95) package and change the GCC binaries. For more information see Download & Install section.
Starting Oracle Intelligent Agent.../opt/oracle/920/bin/dbsnmpwd: line 156: 2861 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/opt/oracle/920/bin/dbsnmpwd: line 156: 2873 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/opt/oracle/920/bin/dbsnmpwd: line 156: 2884 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/opt/oracle/920/bin/dbsnmpwd: line 156: 2895 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
Solution: Download and apply patch nr.: 3238244 from http://metalink.oracle.com.
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
Solution: Execute "export DISPLAY=:0.0" (as oracle user) and "xhost +" as user who has opened X session (for example logged in KDE, GNOME, etc.). If the value is other than 127.0.0.1 or localhost you should "xhost +" on client machine.
发表评论
-
深入JVM一(走近JVM)
2010-11-26 21:34 2845一、走近JVM 感觉JVM 这个东西很深澳 ... -
常用东东不断添加
2010-10-13 11:55 8361.让窗口在本页面展示,不跳出一个新窗口 <head ... -
AXIS2环境搭建视频教程
2010-10-05 10:08 3595这是小弟09年录制的教程,今天不怕被大家笑话,上传上来供有需要 ... -
Android ListView 控件学习
2010-07-30 11:13 27191.创建Activity package com.coo ... -
Android ProgressBar 进度条
2010-07-30 09:56 2446截图如下: package com.coolbi; ... -
一本不错的CSS chm格式的手册
2010-07-29 15:50 846截图如下: -
Android Activity生命周期总结
2010-07-29 09:41 1705Android操作系统以一个stack的形式来管理activi ... -
Ruby自学笔记3
2010-02-24 14:29 11039.正则表达式 正则表达式以/开始/结束 +:一个或多 ... -
ruby笔记1
2009-10-20 10:10 815学习笔记 1】定义方法: 以关键字def开头end结束, ... -
模拟Spring装载bean的方式
2009-08-05 12:19 1226Spring有一个ClassPathXmlApplicatio ... -
100多个很有用的JavaScript函数以及基础写法大集合
2009-07-17 09:45 9031.document.write(""); ... -
进期学习计划
2009-07-17 09:07 866进期学习计划: 深入的学习一下FLEX 学习JQUREY ... -
视频:SUSE Linux 9.x 和10.x上安装ORACLE9i数据库《版本2》
2009-05-06 08:42 1373这次在上次的基础上改掉了一些错误的地方。增加了关于linux ... -
getting_started_with_Flex3
2009-04-22 17:11 832最近学习FLEX,这本书不错。官方网站的。推荐给大家。 喜欢 ... -
linux中忘记root密码
2009-04-06 19:36 868以单用户模式登陆: Grub引导装载程序时 键入 “e“进入编 ... -
SUSE Linux 9.x 和10.x上安装ORACLE9i.pdf
2009-04-04 16:15 1641最近公司搬到新环境,我们项目小组没有ORACLE环境。公司一直 ... -
linux下挂载U盘等设备
2009-01-27 21:14 2899今天介绍一下如何在linux中挂载U盘设备文件: mount命 ... -
FLEX学习笔记1
2008-11-24 21:32 918最近开始学习FLEX,做好笔记 FLEX之helloworld ... -
(转)jQuery使用手册
2008-05-22 16:48 1324翻译整理:Young.J官方网站:http://jquery. ... -
Css学习笔记
2008-05-17 09:54 922盒子模型: margin:外边距 padding:内边距 简写 ...
相关推荐
提供的"**SUSE Linux 9.x 和10.x上安装ORACLE9i.pdf**"文件应该包含了更详细的指南和解决常见问题的方案,建议仔细阅读并参考该文档以顺利完成安装。同时,时刻保持系统更新,确保软件的安全性和稳定性。
Oracle 9i的安装程序包含三个文件:Linux9i_Disk1.cpio.gz、Linux9i_Disk2.cpio.gz、Linux9i_Disk3.cpio.gz,需要使用gunzip和cpio命令进行解压缩。 对于系统需求,文章指出SuSE 7.1(Kernel 2.4.4)是推荐的操作...
标题与描述概述的知识点是关于如何在SUSE Linux 10操作系统上安装Oracle 9i数据库。这涉及了几个关键步骤,包括环境准备、系统配置调整、依赖软件包的安装、用户与组的创建、Oracle目录结构的设置以及环境变量的配置...
suse_linux_11 下 安装oracle_11
根据文档描述,目标操作系统为SUSE Linux Enterprise Server 11 (x86_64),因此需要准备相应的Oracle 11g安装包: - `linux.x64_11gR2_database_1of2.zip` - `linux.x64_11gR2_database_2of2.zip` 此外,还需要...
Suse_Linux_10上安装Oracle_10.2g
1. **系统准备**:确保你的Linux系统是Oracle认证的版本,如Red Hat Enterprise Linux或SUSE Linux。同时,需要满足Oracle 9i的硬件和软件需求,例如足够的内存、磁盘空间,以及正确的库和依赖。 2. **用户和权限**...
OpenSUSE__11.0_and_SUSE__Linux__Enterprise_Server_Bible.pdf linux opensuse suse 操作系统配置脚本详解。 对于其它类型的linux系统配置也有参考作用,因为所有linux发行版操作系统内部配置大部分都相同。 注意,...
SUSE_Linux_x86_64_11.1安装文档,64位机安装手册。有图片解释
9. **打补丁**:题目中提到的"Linux下Oracle 9i补钉包"是关键步骤。Oracle发布补丁以修复已知问题和增强性能。找到对应的补丁,如PSU(Patch Set Update)或CRS(Critical Patch Update),根据Oracle文档中的说明...
【SuSE Linux 9 + ORACLE 9I + VCS4.1 安装专题】 在IT领域,构建高效、稳定且高可用性的数据库系统是至关重要的,而SuSE Linux 9、Oracle 9i数据库管理系统以及Veritas Cluster Server (VCS) 4.1的组合就是一种...
R_TLQCli8.1.3.0_Linux2.6.16_X86_64.tar.Z
在这个例子中,操作系统是SuSE Linux 7.2,已经安装了Oracle9i Enterprise Edition Release 9.0.1,且ORACLE SID(System Identifier)被设置为ora901。 使用Database Configuration Assistant (DBCA)来创建新的...
1. **系统需求**:确定硬件配置是否满足SUSE Linux 10.0的最低要求,如处理器速度、内存大小和磁盘空间。 2. **下载与准备**:从官方网站或镜像站点获取ISO镜像文件,然后可以使用刻录软件制作DVD安装盘,或者使用...
OpenSUSE__11.0_and_SUSE__Linux__Enterprise_Server_Bible.pdf linux opensuse suse 操作系统配置脚本详解。 对于其它类型的linux系统配置也有参考作用,因为所有linux发行版操作系统内部配置大部分都相同。 注意,...