[root@localhost ~]# groupadd dba -g 111

[root@localhost ~]# groupadd oinstall -g 110

[root@localhost ~]# useradd oracle -u 110 -g 110 -G 111

[root@localhost ~]# passwd oracle

Changing password for user oracle.

New UNIX password:

BAD PASSWORD: it does not contain enough DIFFERENT characters

Retype new UNIX password:

passwd: all authentication tokens updated successfully.

[root@localhost ~]# su - oracle

[oracle@localhost ~]$ vi .bash_profile

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

. ~/.bashrc

fi

# User specific environment and startup programs

export ORACLE_BASE=/u01/oracle

export ORACLE_HOME=$ORACLE_BASE/10g

export ORACLE_SID=orcl

PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

export PATH

[oracle@localhost ~]$ su -

口令:

[root@localhost ~]# mkdir /u01

[root@localhost ~]# mkdir /u01/oracle

[root@localhost ~]# chown oracle:oinstall /u01 -R

[root@localhost ~]# chown oracle:oinstall /u01/oracle -R

[root@localhost ~]# sysctl -a|grep sem

kernel.sem = 250        32000   32      128

[root@localhost ~]# sysctl -a|grep sem|sed 's/32/100/2'

kernel.sem = 250        32000   100     128

[root@localhost ~]# sysctl -a|grep sem|sed 's/32/100/2' >>/etc/sysctl.conf

[root@localhost ~]# sysctl -a|grep ip_local

net.ipv4.ip_local_port_range = 32768    61000

[root@localhost ~]# sysctl -a|grep ip_local|sed -e 's/32768/1024/' -e 's/61/65/'

net.ipv4.ip_local_port_range = 1024     65000

[root@localhost ~]# sysctl -a|grep ip_local|sed -e 's/32768/1024/' -e 's/61/65/'>>/etc/sysctl.conf

[root@localhost ~]# sysctl -a|grep rmem_d

net.core.rmem_default = 109568

[root@localhost ~]# sysctl -a|grep rmem_d|sed 's/109568/262144/'

net.core.rmem_default = 262144

[root@localhost ~]# sysctl -a|grep rmem_d|sed 's/109568/262144/'>>/etc/sysctl.conf

[root@localhost ~]# sysctl -a|grep rmem_ma

net.core.rmem_max = 131071

[root@localhost ~]# sysctl -a|grep rmem_ma|sed 's/131071/262144/'

net.core.rmem_max = 262144

[root@localhost ~]# sysctl -a|grep rmem_ma|sed 's/131071/262144/'>>/etc/sysctl.conf

[root@localhost ~]# sysctl -a|grep wmem_ma|sed 's/131071/262144/'>>/etc/sysctl.conf

[root@localhost ~]# sysctl -a|grep wmem_d|sed 's/109568/262144/'>>/etc/sysctl.conf

[root@localhost ~]# sysctl -a|grep file-max

fs.file-max = 102279

[root@localhost ~]# sysctl -a|grep file-max|sed 's/102279/65536/'>>/etc/sysctl.conf

[root@localhost ~]# sysctl -p

net.ipv4.ip_forward = 0

net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.accept_source_route = 0

kernel.sysrq = 0

kernel.core_uses_pid = 1

net.ipv4.tcp_syncookies = 1

kernel.msgmnb = 65536

kernel.msgmax = 65536

kernel.shmmax = 4294967295

kernel.shmall = 268435456

kernel.sem = 250        32000   100     128

net.ipv4.ip_local_port_range = 1024     65000

net.core.rmem_default = 262144

net.core.rmem_max = 262144

net.core.wmem_max = 262144

net.core.wmem_default = 262144

fs.file-max = 65536

[root@localhost ~]# xhost +

access control disabled, clients can connect from any host

linux下卸载oracle数据库:

手工删除:

/etc/ora*

/usr/local/bin/oraenv|dbhome|coraenv

$ORACLE_BASE/

Oracle安装部署之Oracle 10g在redhat5下的安装的更多相关文章

  1. oracle 10g在redhat5下的安装

    [root@localhost ~]# groupadd dba -g 111 [root@localhost ~]# groupadd oinstall -g 110 [root@localhost ...

  2. Apache Hadoop集群离线安装部署(一)——Hadoop(HDFS、YARN、MR)安装

    虽然我已经装了个Cloudera的CDH集群(教程详见:http://www.cnblogs.com/pojishou/p/6267616.html),但实在太吃内存了,而且给定的组件版本是不可选的, ...

  3. Oracle安装部署之 oracle 11g install linux

    #!/bin/bash#Purpose:Create and config oracle install.#Usage:Log on as the superuser('root') #1.creat ...

  4. AE安装部署以及监测ArcEngine runtime 9.3是否安装

    目的:用ArcEngine9.3开发项目以后,用Visual Studio2008打包工具打包: 同时监测别的机器上是否有ArcEngine Runtime或者Desktop的支持. 解决方案: 1. ...

  5. office web apps安装部署,配置https,负载均衡(四)安装office web apps相关软件

    前提条件: 1.一台windows server 2008R2服务器,并且已经配置了域: 服务器连接域控制器的相关文档,请查看上一篇文章: office web apps安装部署,配置https,负载 ...

  6. linux安装软件的几种方法----linux下编译安装软件的一般步骤

    linux安装软件的几种方法: 一.rpm包安装方式步骤: 1.找到相应的软件包,比如soft.version.rpm,下载到本机某个目录: 2.打开一个终端,su -成root用户: 3.cd so ...

  7. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed(在64位模式下运行安装了32位的Oracle客户端组件时,会发生此问题)

    部署win服务时出现下面的问题: 在事件查看器中看到如下错误: 日志名称: Application来源: ***调度服务日期: 2014/5/21 12:53:21事件 ID: 0任务类别: 无级别: ...

  8. Sharepoint 2013 安装部署系列篇 第二篇 -- SQL集群安装

    第一部分 系统集群安装. 第三部分 安装和配置网络负载均衡在前端web服务器 第四部分 安装和配置sharepoint 场(三层拓扑部署) 以下图片均为sharepoint 2010..由于本人的笔记 ...

  9. 安装部署VMware vSphere 5.5文档 (6-3) 安装配置AD域控制器

    部署VMware vSphere 5.5 实施文档 ########################################################################## ...

随机推荐

  1. error:undefined reference to 'net_message_processor::net_message_processor()'

    net_message_processor是我自己定义的一个类,文件名称分别是net_message_processor.h  & net_message_processor.cpp 和CCD ...

  2. Java最快的maven仓库地址,国内Maven地址,超快的Maven地址

    Java最快的maven地址,国内Maven地址,超快的Maven地址 >>>>>>>>>>>>>>>> ...

  3. 【代码审计】iZhanCMS_v2.1 前台GoodsController.php页面存在SQL注入漏洞分析

      0x00 环境准备 iZhanCMS官网:http://www.izhancms.com 网站源码版本:爱站CMS(zend6.0) V2.1 程序源码下载:http://www.izhancms ...

  4. 【权限维持】window几种隐藏技术

    “真正”隐藏文件 使用Attrib +s +a +h +r命令就是把原本的文件夹增加了系统文件属性.存档文件属性.只读文件属性和隐藏文件属性. attrib +s +a +h +r c:\test 这 ...

  5. WopiServerTutorial

    Program.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using ...

  6. thinkjs中修改默认主键

    报错信息: { Error: ER_BAD_FIELD_ERROR: Unknown column 'a_role.id' in 'field list' 还原场景: a_role这张表没有自增的id ...

  7. 执行上下文、this

    1.js中的执行上下文或者执行环境:execution context,简称EC; 2. console.log(a);//undefined var a=200; fn('lili'); funct ...

  8. MySql数据库设计表添加字段

    当要添加的字段属于整型,需要设置默认值 或者: alter table fp_user_base add hasPwd tinyint(4) not null default 0;

  9. Charles抓包(iOS的http/https请求)

    Charles抓包(iOS的http/https请求) Charles安装 HTTP抓包 HTTPS抓包 1. Charles安装 官网下载安装Charles:https://www.charlesp ...

  10. jQuery Easing 动画效果扩展--使用Easing插件,让你的动画更具美感。

    jQuery  Easing 是一款比较老的jQuery插件,在很多网站都有应用,尤其是在一些页面滚动.幻灯片切换等场景应用比较多.它非常小巧,且有多种动画方案供选择,使用简单,而且免费. 引入Eas ...