当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > Linux oracle 9i图文安装教程三

Unix/Linux
mysql+httpd+gd+php+zend
automake 小回顾
unix黑客精神的最好诠释
www
sun t3存储的设置
RPM简明中文手册
Linux爱好者入门教程 序章 (持续更新)
第一章 Linux基础知识 (飘心)
linux下进程与线程
浅谈如何学习linux
第二章 Linux安装
硬件安装指南
Windows 2000 的桌面不見了的解決方法
部分的ADSL路由器默认帐号密码
如何设定安全log服务器呢?
iptables 规则速查
网友学习 Linux 的七点忠告
sniffer的含义及原理
Linux编程白皮书 第二章 内存管理
Linux编程白皮书 第二章 内存管理 2.1.1 请求调页 --2.1.5 访问控制

Unix/Linux 中的 Linux oracle 9i图文安装教程三


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 297 ::
收藏到网摘: n/a

核心提示:版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。 前期工作:   前面已经讲到了安装Linux系统及加载相应的软件包,参考地址如下: Linux下oracle 9i图文安装一(http://www.ruanchen.com/"TEXT-DECORATION: underline" href="http://waringid.blog.51cto.com/65148/47849" target="_blank">原始出处 、作者信息和本声明。否则将追究法律责任。
前期工作:
  前面已经讲到了安装Linux系统及加载相应的软件包,参考地址如下:
Linux下oracle 9i图文安装一(http://www.ruanchen.com/"http://www.ruanchen.com/" style="color: #000">http://www.ruanchen.com/"COLOR: rgb(255,0,0)">一:创建相应的用户(以root用户登陆)
  groupadd dba
  useradd -g dba -d /usr/Oracle -s /bin/bash oracle
  passwd oracle

注意:在图中没有"passwd oracle"这一条,因为忘记截图了,这个是必须的,因为后面用oracle这个用户登陆如果没有密码会登陆不了.  

二:设置系统参数:
  编辑/etc/sysctl.conf文件,增加以下内容
  kernel.sem=250 32000 100 128
  kernel.shmmax=4294967295
  kernel.shmmni=128
  kernel.msgmnb=65536
  kernel.msgmni=2878
  fs.file-max=65536
  net.ipv4.ip_local_port_range=1024 65000
  输入命令"sysctl -p"或重启电脑使设置生效
  sysctl -p
  编辑/etc/security/limits.conf文件,增加以下内容
  * - nproc 16384
  * - nofile 16384
三:创建应用文件夹及设置相应的权限
  mkdir -p /usr/Oracle/product/9.2.0
  chown -R oracle.dba /usr/Oracle/product/9.2.0
  chmod -R 777 /usr/Oracle/product/9.2.0

  注销"root"用户,以"oracle"用户登陆

四:编辑.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.
七:更改GCC
  su -
  cd /usr/bin
  mv ./gcc ./gcc34
  mv ./gcc32 ./gcc