- 浏览: 83024 次
- 性别:
- 来自: 重庆&南京
文章分类
最新评论
-
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 2797一、走近JVM 感觉JVM 这个东西很深澳 ... -
常用东东不断添加
2010-10-13 11:55 8041.让窗口在本页面展示,不跳出一个新窗口 <head ... -
AXIS2环境搭建视频教程
2010-10-05 10:08 3524这是小弟09年录制的教程,今天不怕被大家笑话,上传上来供有需要 ... -
Android ListView 控件学习
2010-07-30 11:13 26401.创建Activity package com.coo ... -
Android ProgressBar 进度条
2010-07-30 09:56 2405截图如下: package com.coolbi; ... -
一本不错的CSS chm格式的手册
2010-07-29 15:50 808截图如下: -
Android Activity生命周期总结
2010-07-29 09:41 1669Android操作系统以一个stack的形式来管理activi ... -
Ruby自学笔记3
2010-02-24 14:29 10609.正则表达式 正则表达式以/开始/结束 +:一个或多 ... -
ruby笔记1
2009-10-20 10:10 776学习笔记 1】定义方法: 以关键字def开头end结束, ... -
模拟Spring装载bean的方式
2009-08-05 12:19 1187Spring有一个ClassPathXmlApplicatio ... -
100多个很有用的JavaScript函数以及基础写法大集合
2009-07-17 09:45 8171.document.write(""); ... -
进期学习计划
2009-07-17 09:07 825进期学习计划: 深入的学习一下FLEX 学习JQUREY ... -
视频:SUSE Linux 9.x 和10.x上安装ORACLE9i数据库《版本2》
2009-05-06 08:42 1342这次在上次的基础上改掉了一些错误的地方。增加了关于linux ... -
getting_started_with_Flex3
2009-04-22 17:11 790最近学习FLEX,这本书不错。官方网站的。推荐给大家。 喜欢 ... -
linux中忘记root密码
2009-04-06 19:36 838以单用户模式登陆: Grub引导装载程序时 键入 “e“进入编 ... -
SUSE Linux 9.x 和10.x上安装ORACLE9i.pdf
2009-04-04 16:15 1595最近公司搬到新环境,我们项目小组没有ORACLE环境。公司一直 ... -
linux下挂载U盘等设备
2009-01-27 21:14 2846今天介绍一下如何在linux中挂载U盘设备文件: mount命 ... -
FLEX学习笔记1
2008-11-24 21:32 873最近开始学习FLEX,做好笔记 FLEX之helloworld ... -
(转)jQuery使用手册
2008-05-22 16:48 1246翻译整理:Young.J官方网站:http://jquery. ... -
Css学习笔记
2008-05-17 09:54 874盒子模型: margin:外边距 padding:内边距 简写 ...
相关推荐
SUSE_Linux_Enterprise_Server10_安装_Oracle_10g_操作手册
SuSE_Linux_10.0全程教学
suse_linux_11 下 安装oracle_11
Suse_Linux_11_双机集群配置文档
Suse_Linux_10上安装Oracle_10.2g
OpenSUSE__11.0_and_SUSE__Linux__Enterprise_Server_Bible.pdf linux opensuse suse 操作系统配置脚本详解。 对于其它类型的linux系统配置也有参考作用,因为所有linux发行版操作系统内部配置大部分都相同。 注意,...
SUSE_Linux_x86_64_11.1安装文档,64位机安装手册。有图片解释
SuSE Linux 9 + ORACLE 9I + VCS4[1].1安装专题V
oracle9i在suse10上安装的全过程
[Linux英文原版图书系列].WILEY-SUSE_Linux_9_Bible.pdf
the_definitive_guide_to_suse_linux_enterprise_server
R_TLQCli8.1.3.0_Linux2.6.16_X86_64.tar.Z
本文详细介绍了在suse_linux10的环境下安装oracle11g的安装过程,为刚刚接触suse_linux的开发者提供帮助
这次因项目需要,前几天我和另一同事在客户机房安装了SUSE 11以及ORCLE 11G. 现将ORACLE安装所需的注意事项与步骤总结成文档. 安装ORACLE时需要在内存及性能上做一些设置,这些在文档里都有提到.虽然网络上可以查到已...
以我的系统为例:操作系统为 SuSE Linux 7.2,安装了 Oracle9i Enterprise Edition Release 9.0.1,Oracle9i 数据库的 ORACLE SID 设定为 ora901。 接着我们将经由 DBCA 建置第二个 Oracle9i 数据库,步骤如下:
OpenSUSE__11.0_and_SUSE__Linux__Enterprise_Server_Bible.pdf linux opensuse suse 操作系统配置脚本详解。 对于其它类型的linux系统配置也有参考作用,因为所有linux发行版操作系统内部配置大部分都相同。 注意,...
oracle 9i在suse Linux上的安装方法
终于安装成功,是从网上很不容易找到地,发到网上与大家分享