广告
返回顶部
首页 > 资讯 > 数据库 >oracle11G 安装
  • 590
分享到

oracle11G 安装

2024-04-02 19:04:59 590人浏览 安东尼
摘要

一、新建oracle用户[root@11g ~]# groupadd oinstall [root@11g ~]# groupadd dba [r

一、新建oracle用户

[root@11g ~]# groupadd oinstall
[root@11g ~]# groupadd dba
[root@11g ~]# useradd -g oinstall -G dba oracle
[root@11g ~]# echo "oracle" |passwd --stdin oracle

二、安装oracle所需的环境包(先配置好yum源)

[root@11g ~]# cat /etc/yum.repos.d/dvd.repo 
[server]
name=server
baseurl=file:///mnt/dvd/Server
enabled=1
gpGCheck=0
[root@11g ~]# ls /mnt/dvd/
blafdoc.CSS     eula.py    README-en.html         Server
Cluster         GPL        RELEASE-NOTES-en       supportinfo
ClusterStorage  p_w_picpaths     RELEASE-NOTES-en.html  TRANS.TBL
EULA            isolinux   RPM-GPG-KEY            VT
eula.en_US      README-en  RPM-GPG-KEY-oracle
[root@11g ~]# yum -y install binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel glibc glibc-common glibc-devel gcc gcc-c++ libaio-devel libaio libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel pdksh nuMactl-devel glibc-headers

三、修改linux内核参数

[root@11g ~]# tail -13 /etc/sysctl.conf (在文件尾部插入如下内容)
#oracle 11G
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
[root@11g ~]# /sbin/sysctl -p (不重启使参数生效)

四、设置oracle用户打开文件的最大数

[root@11g ~]# tail -10 /etc/security/limits.conf (在文件尾部插入如下内容)
#Oracle 11g
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
# End of file

五、修改登录配置

[root@11g ~]# tail -2 /etc/pam.d/login
#Oracle 11g
session required pam_limits.so

六、配置主机名及hosts

[root@11g ~]# tail -1 /etc/sysconfig/network
HOSTNAME=11g.cubix.com
[root@11g ~]# tail -1 /etc/hosts
127.0.0.1	11g.cubix.com 11g

七、新建oracle安装目录

[root@11g ~]# mkdir -p /u01/app/oracle/product/11.2.0/db_1
[root@11g ~]# chown -R oracle:oinstall /u01
[root@11g ~]# chmod -R 755 /u01

八、修改oracle用户的环境变量

[root@11g ~]# su - oracle
[oracle@11g ~]$ tail -5 .bash_profile
#Oracle 11g
export ORACLE_SID=orcl                                  #数据库实例名
export ORACLE_BASE=/u01/app/oracle                      #Oracle安装目录
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1     #Oracle家目录
export PATH=$PATH:$ORACLE_HOME/bin                      #Path搜索路径
[oracle@11g ~]$ source .bash_profile                    #刷新.bash_profile配置
[oracle@11g ~]$ echo $ORACLE_SID                        #测试.bash_profile是否生效
orcl

九、解压安装包

[oracle@11g src]$ unzip p10404530_112030_LINUX_1of7.zip 
[oracle@11g src]$ unzip p10404530_112030_LINUX_2of7.zip

十、开始安装数据库

[root@11g ~]# xhost +
access control disabled, clients can connect from any host
[root@11g ~]# su - oracle
[oracle@11g ~]$ cd /usr/local/src/database/
[oracle@11g database]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 80306 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 5023 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2016-02-21_06-40-38PM. Please wait ...[oracle@11g database]$

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装

oracle11G 安装



您可能感兴趣的文档:

--结束END--

本文标题: oracle11G 安装

本文链接: https://www.lsjlt.com/news/37170.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • oracle11G 安装
    一、新建oracle用户[root@11g ~]# groupadd oinstall [root@11g ~]# groupadd dba [r...
    99+
    2022-10-18
  • centos7安装oracle11g
    Centos7 安装 Oracle11g 目录 一、前言..............................................................................
    99+
    2022-10-18
  • linux安装Oracle11G
    原文:https://www.cnblogs.com/liuxueping/p/13946852.html...
    99+
    2016-08-16
    linux安装Oracle11G 数据库入门 数据库基础教程
  • Oracle11G安装实践
    Oracle 介绍Oracle Database,又名Oracle RDBMS,或简称Oracle 是甲骨文公司的一款关系数据库管理系统。它是在数据库领域一直处于领先地位的产品。可以说Oracle...
    99+
    2022-10-18
  • oracle11g 安装过程
    安装oracle软件1>创建用户组、用户和目录bjdb节点下:[root@node1 /]# groupadd -g 200 oinstall[root@node1 /]# groupadd -g 2...
    99+
    2022-10-18
  • oracle11g安装详解
    1、安装选项:选择“创建和配置数据库”(oracle本身只是一个平台,这个平台上可以存在若干个数据库)2、系统类:选择的为“服务器类”(桌面类--这种安装方式一般适用于台式机和笔记本。它包含一个最小数据库和...
    99+
    2022-10-18
  • centos6.6上安装oracle11g
    1、在安装之前,请确认oracle家目录和swap空间足够大,不然后面安装的时候空间不足会报错; ...
    99+
    2022-10-18
  • centos6.5下安装oracle11g
    安装环境:     操作系统:     数据库系统:  #du -sh database/   ...
    99+
    2022-10-18
  • Centos6.6 安装oracle11g r2
    突然想在linux下搭建一个oracle环境。在网上找了一些资料,借鉴了几位朋友分享的资料。自己将安装步取记录下来,在这里分享给大家参考。虚拟机设置的NAT模式,具体设置方法参网上可以查到。我用的是work...
    99+
    2022-10-18
  • oracle11g安装脚本
    #!/bin/baship=ifconfig|grep 'inet addr:'|grep -v '127.0.0.1'|cut -d: -f2 |awk '{ print $1}'hostname=ech...
    99+
    2022-10-18
  • rhel6.2 Oracle11g的安装
    1》以下皆使用 root用户执行/usr/sbin/groupadd -g 501 oinstall /usr/sbin/groupadd -g ...
    99+
    2022-10-18
  • Linux静默安装oracle11g
    linux 静默安装 oracle 11linux 版本[root@oracle ~]# cat /etc/issueCentOS release 6.5&...
    99+
    2022-10-18
  • oracle11g 安装example用户
    环境    操作系统:RHEL 6.4 x86_64    DB:oracle 11.2.0.3一个测试库,在安装建库的时候忘了安装example...
    99+
    2022-10-18
  • 安装oracle11g数据库
    安装oracle11g数据库 一、oracle11g下载 点击链接进入选择相应的版本下载。oracle11g版本有两个文件,下载的时候需要登录,你可以注册一个或者百度一下oracle账号。 二、oracle安装 将下载好的两个文件win6...
    99+
    2018-07-23
    安装oracle11g数据库
  • centos6.5如何安装Oracle11g
    这篇文章给大家分享的是有关centos6.5如何安装Oracle11g的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。在线gen更新各种依赖包yum -y install make...
    99+
    2022-10-18
  • Oracle11g R2如何安装
    这篇文章主要介绍Oracle11g R2如何安装,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!Oracle11g r2 卸载干净重装的详细教程(亲测有效已重装过)首先去官网下载 11g R2 的版本,这个版本相对来说...
    99+
    2023-06-15
  • ubuntu试用docker安装oracle11g
    下载oracle11g安装包 下载oracle11g安装包 https://www.oracle.com/database/technologies/oracle-database-software-downloads.html#1...
    99+
    2019-04-04
    ubuntu试用docker安装oracle11g
  • oracle11g ADG staspack安装文档
      本文档主要是用来解决物理备库的性能监控问题。我们都知道,当物理备库出现问题的时候,由于备库是只读模式的,所以无法在备库上使用AWR/Statspack/ash/addm等性能报告来分析。因此,在故障分析和调优应用的时候,只能手...
    99+
    2021-12-14
    oracle11g ADG staspack安装文档
  • Oracle11G 安装提示 INS-06101
    在Redhat Enterprise6上安装ORACLE11G运行$ ./runInstaller提示这是因为主机名和/etc/hosts 文件不一致首先运行$ hostname我的机器...
    99+
    2022-10-18
  • Linux静默安装Oracle11g R2
    一配置基础环境先对操作系统进行一次全面的更新#yum update对oracle依赖包进行安装和升级#yum -y install \binutils \compat-libcap1 \...
    99+
    2022-10-18
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作