Your Ad Here
首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 冲浪宝典 > 网络资源 > oracle 9i on centos
【标  题】:oracle 9i on centos
【关键字】:oracle,9i,on,centos
【来  源】:http://www.cublog.cn/u/21642/showart.php?id=184366

oracle 9i on centos

Your Ad Here

oracle 9i 在CentOS 4.4上的安装

包括CentOS的安装在内,可以参考:
http://www.dizwell.com/prod/node/55

本文主要总结远程安装oracle9i的过程。

1. 安装CentOS注意事项:
   1.1 No Firewall
   1.2 Disable SELinux
   1.3  you must make sure that the Development Tools and Legacy Software Development options are selected.
 
 centos 安装选择Server类型,安装的的包:
 Development Tools
 Legacy Software Development
 及一些 config tools
 没有安装X windows等(在下面需要另外安装 xorg-x11)

   1.4 packages need to be installed (以下 > 开头的不用管了,只作参考)
> Centos 4.2 Disk 1:
> xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm
> xorg-x11-libs-6.8.2-1.EL.13.20.i386.rpm
> xorg-x11-xfs-6.8.2-1.EL.13.20.i386.rpm
>
> Centos 4.2 Disk 2:
> alsa-lib-devel-1.0.6-5.RHEL4.i386.rpm
> fontconfig-devel-2.2.3-7.i386.rpm
> freetype-devel-2.1.9-1.i386.rpm
> libjpeg-devel-6b-33.i386.rpm
> libtiff-devel-3.6.1-8.i386.rpm
> libungif-devel-4.1.3-1.i386.rpm
> xorg-x11-6.8.2-1.EL.13.20.i386.rpm
> xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.20.i386.rpm
> xorg-x11-devel-6.8.2-1.EL.13.20.i386.rpm
>
> Centos 4.2 Disk 3:
>
> audiofile-devel-0.2.6-1.i386.rpm
> esound-devel-0.2.35-2.i386.rpm
> libaio-0.3.103-3.i386.rpm
> libaio-devel-0.3.103-3.i386.rpm
> openmotif21-2.1.30-11.RHEL4.4.i386.rpm
>
> Centos 4.2 Disk 4:
>
> glib-devel-1.2.10-15.i386.rpm
> gnome-libs-devel-1.4.1.2.90-44.1.i386.rpm
> gtk+-devel-1.2.10-33.i386.rpm
> imlib-devel-1.9.13-23.i386.rpm
> ORBit-devel-0.5.17-14.i386.rpm

   Patches:(这个很重要,必须要打上)
 http://oss.oracle.com/projects/compat-oracle/files/RedHat/
 下载 http://oss.oracle.com/projects/compat-oracle/dist/files/RedHat/compat-libcwait-2.1-1.i386.rpm
             http://oss.oracle.com/projects/compat-oracle/dist/files/RedHat/compat-oracle-rhel4-1.0-5.i386.rpm
 然后安装 rpm -ivh *.rpm
 可能会提示一些依赖包没有,这时候可以使用yum安装
 # yum list | grep 包名
 # yum install 包名
1.5 安装jre1.3.1


>> root:
设置内核参数
Edit the /etc/sysctl.conf and add following lines:
 kernel.sem = 250 32000 100 128
 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" or reboot system to apply above settings.

另外一种是:

kernel.shmmax = 2147483648
kernel.shmmni = 100
kernel.shmall = 2097152
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 100 256 100 100
fs.file-max = 327679
kernel.hostname = Centos42.localdomain #<--- full qualified hostname !!
kernel.domainname = localdomain #<--- correct domain name !!

Edit the /etc/security/limits.conf file and add following lines:
 * - nproc 16384
 * - nofile 16384
 #oracle soft nofile 65536
 #oracle hard nofile 65536
 #oracle soft nproc 16384
 #oracle hard nproc 16384

>> oracle:
设置环境变量
------------------------------------------------------------
ORACLE_SID=lx92
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/9.2.0
PATH=$ORACLE_HOME/bin:$PATH:.
LD_ASSUME_KERNEL=2.4.19

export ORACLE_SID ORACLE_BASE ORACLE_HOME PATH LD_ASSUME_KERNEL

LD_LIBRARY_PATH=$ORACLE_HOME/lib
#LD_ASSUME_KERNEL=2.4.1
ORACLE_OEM_JAVARUNTIME=/opt/jre1.3.1  ///需先安装java到该目录下,一定要使用 jre 1.3.1_1.x

export DISPLAY=10.15.2.62:0.0  //远程安装的时候,我的工作桌面的ip,需要安装xmanager
------------------------------------------------------------


解压 安装包unpack files:
zcat lnx_920_disk1.cpio.gz | cpio -idmv
zcat lnx_920_disk2.cpio.gz | cpio -idmv
zcat lnx_920_disk3.cpio.gz | cpio -idmv

将Disk1/install/linux/oraparame.ini文件中JRE_LOCATION指向/opt/jre1.3.1

后弦推出“走神三部曲”全部EP九公主 昆明湖.. 这是是'单车恋人'MV 好好看 帅帅后弦哦:【上一篇】
ORACLE手工管理回退段的获取规则:【下一篇】
【相关文章】
  • Linux控制台下的中文处理——zhcon
  • Configure 参数选项详解
  • “软件工业奥斯卡”SYS-CON 读者选择奖: Linux 开发
  • Version control for Linux
  • Setting up hamachi on linux
  • Linux on board: Inside the MediaMVP
  • Vim documentation: usr_toc
  • Linux On Plam TX
  • 加入@PASSION
  • Oracle知识点总结二
  • 【随机文章】
  • C#处理文本文件(转 by:nowave)《以下的打印和打印预览比较的有价值》
  • 宽带接入技术的发展与应用(3)
  • 两招彻底杜绝JPEG图片病毒
  • 为你的Linux快速编译所需要的模块
  • 位兄弟,各位高手呀,帮帮忙
  • SuperPipe多业务接入路由器
  • 互联网周刊:软件骑士乔伊
  • 配置SSO中碰到的奇怪的问题
  • 有趣小时钟程序的原始程序代码
  • windows server 2003中的几个新命令行工具
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.