Welcome 微信登录

首页 / 数据库 / MySQL / Linux 5安装Oracle10g 简易操作手册

本介绍了在Linux 5下安装Oracle10g的过程系统版本信息如下:Red Hat Enterprise Linux Server release 5.1 (Tikanga)Linux version 2.6.18-53.el5一、系统要求 1、物理内存:1G以上2、交换空间2G 以上3、已经禁用secure Linux 和防火墙4、需要安装的rpm包(或者更高的版本):setarch-2*make-3*glibc-2*libaio-0*compat-libstdc++-33-3*compat-gcc-34-3*compat-gcc-34-c++-3*gcc-4*libXp-1*openmotif-2* compat-db-4*可以使用命令“rpm -q 包名字”查询已经安装的包经查询,只有如下的包尚未安装:glibc-2.5-18.i386.rpmlibXp-1.0.0-8.1.el5.i386.rpmopenmotif-2.3.0-0.3.el5.i386.rpmcompat-db-4.2.52-5.1.i386.rpm以上安装包可在补丁文件夹中找到,如果还查其他的包请到系统安装盘(2、3、4)中查找,并安装:rpm -Uvh 包名字例如:#rpm -Uvh glibc-2.5-18.i386.rpm二、准备安装包1、准备安装文件:       将安装包10201_database_linux32.zip拷贝到系统的/tmp/目录下       解压:unzip 10201_database_linux32.zip       解压后生成一个database的目录三、设置系统核心参数//以下的操作使用root用户进行1、.以root身份进行修改vi /etc/sysctl.conf 这个文件,加入以下的语句:kernel.shmall = 2097152kernel.shmmax = 2147483648 kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.core.wmem_max=262144注:kernel.shmmax = 2147483648最大共享内存不得超过4*1024*1024*1024-1=42949672952.运行下列命令改变核心参数:/sbin/sysctl -p 3.在/etc/security/limits.conf文件中加入下列行: * soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 655364.在/etc/pam.d/login文件中加入下列行,如果里面没有的话: session    required     /lib/security/pam_limits.so 5.vi /etc/profile添加如下部分if [ $USER = "oracle" ]; then  if [ $SHELL = "/bin/ksh" ]; then    ulimit -p 16384    ulimit -n 65536  else    ulimit -u 16384 -n 65536  fifi6.通过编辑/etc/selinux/config 文件禁用secure linux修改其中的SELINUX标记如下:SELINUX=disabled也可以通过GUI工具修改(Applications >; System Settings >; Security Level),选择SELinux禁用该属性。
  • 1
  • 2
  • 3
  • 下一页
Oracle 中的GOTO,RETURN,EXITMySQL Limit的用法总结相关资讯      Oracle教程 
  • Oracle中纯数字的varchar2类型和  (07/29/2015 07:20:43)
  • Oracle教程:Oracle中查看DBLink密  (07/29/2015 07:16:55)
  • [Oracle] SQL*Loader 详细使用教程  (08/11/2013 21:30:36)
  • Oracle教程:Oracle中kill死锁进程  (07/29/2015 07:18:28)
  • Oracle教程:ORA-25153 临时表空间  (07/29/2015 07:13:37)
  • Oracle教程之管理安全和资源  (04/08/2013 11:39:32)
本文评论 查看全部评论 (0)
表情: 姓名: 字数