<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      Oracle 12c 單實(shí)例安裝

      一、準(zhǔn)備工作

      實(shí)驗(yàn)環(huán)境:Redhat 6.6   Oracle 12c 12.2.0.1

      1、官網(wǎng)下載

      https://www.oracle.com/technetwork/database/enterprise-edition/downloads/oracle12c-linux-12201-3608234.html?ssSourceSiteId=otncn

      2、安裝所需rpm包

      # rpm -q binutils compat-libcap1 gcc-c++ compat-libstdc++-33 gcc gcc-c++e2fsprogs e2fsprogs-libs glibc glibc-devel ksh libaio-devel libaio libgcc libstdc++ libstdc++-devel libxcb libX11 libXau libXi libXtst make net-tools nfs-utils smartmontools sysstat

       所需要鏡像中都包含,所以可以通過(guò)本地yum方式進(jìn)行安裝

      3、創(chuàng)建用戶(hù)組

      [root@RmanDB tools]# groupadd -g 54321 oinstall
      [root@RmanDB tools]# groupadd -g 54322 dba
      [root@RmanDB tools]# groupadd -g 54323 oper

      4、創(chuàng)建用戶(hù)

      [root@RmanDB tools]# useradd -u 54321 -g oinstall -G dba,oper oracle

      5、創(chuàng)建目錄

      mkdir -p /u01/app/oracle/product/12.2.0/db_1
      [root@RmanDB tools]# chown -R oracle:oinstall /u01/app
      [root@RmanDB tools]# chmod -R 775 /u01/app

      6、配置環(huán)境變量

       配置oracle用戶(hù)

      vim .bash_profile
      #ORACLE PATH
      =$PATH:$HOME/bin export PATH export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/12.2.0/db_1 export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/bin:$PATH export ORACLE_SID=gnnt1 export ORACLE_HOSTNAME=RmanDB export ORACLE_OWNER=oracle export ORACLE_TERM=vt100 export LD_LIBRARY_PATH=$ORACLE_HOME/lib export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK export DISPLAY=192.168.10.2:0.0

      7、配置內(nèi)核

      注意:配置大于系統(tǒng)數(shù)據(jù)需要配置更改,否則不需要配置。

      vim /etc/sysctl.conf
      添加如下配置
      #ORACLE
      
      fs.aio-max-nr = 1048576
      fs.file-max = 6815744
      kernel.sem = 250 32000 100 128
      kernel.shmmni = 4096
      kernel.shmall = 1073741824
      kernel.shmmax = 6597069766656
      kernel.panic_on_oops = 1
      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

      配置完成 sysctl -p 刷新生效

      8、設(shè)置進(jìn)程數(shù)和最大會(huì)話(huà)數(shù)

      vi /etc/security/limits.conf
      
      添加使用如下設(shè)置。
      oracle soft nproc 2047
      oracle hard nproc 16384
      oracle soft nofile 1024
      oracle hard nofile 65536
      oracle soft stack 10240
      oracle hard stack 10240

      二、安裝過(guò)程

      1、解壓

      [root@RmanDB tools]# mkdir -p /u01/app/tmp
      [root@RmanDB tools]# chown -R oracle:oinstall /u01/app/tmp
      [root@RmanDB tools]# chmod -R 775 /u01/app/tmp

      將下載的安裝包解壓
      [oracle@RmanDB tmp]$ unzip /tools/linuxx64_12201_database.zip [oracle@RmanDB tmp]$ ll total 4 drwxr-xr-x. 7 oracle oinstall 4096 Jan 27 2017 database

      2、執(zhí)行安裝

      [oracle@RmanDB ~]$ /u01/app/tmp/database/runInstaller
      Starting Oracle Universal Installer...
      
      Checking Temp space: must be greater than 500 MB. Actual 175476 MB Passed
      Checking swap space: must be greater than 150 MB. Actual 81019 MB Passed
      Checking monitor: must be configured to display at least 256 colors
      >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
      
      Some requirement checks failed. You must fulfill these requirements before
      
      continuing with the installation,
      
      Continue? (y/n) [n] y
      
      
      >>> Ignoring required pre-requisite failures. Continuing...
      Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-11-23_04-21-02PM. Please wait ... 

      看你的需求選擇是要只安裝數(shù)據(jù)庫(kù)軟件還是軟件+配置庫(kù)

      安裝單實(shí)例

       

      如果檢查出問(wèn)題,請(qǐng)先解決再行安裝否則可能安裝失敗

      等待安裝

      使用root用戶(hù)執(zhí)行腳本

      [root@RmanDB tmp]# /u01/app/oraInventory/orainstRoot.sh
      Changing permissions of /u01/app/oraInventory.
      Adding read,write permissions for group.
      Removing read,write,execute permissions for world.
      
      Changing groupname of /u01/app/oraInventory to oinstall.
      The execution of the script is complete.
      
      
      
      [root@RmanDB tmp]# /u01/app/oracle/product/12.2.0/db_1/root.sh
      Performing root user operation.
      
      The following environment variables are set as:
          ORACLE_OWNER= oracle
          ORACLE_HOME=  /u01/app/oracle/product/12.2.0/db_1
      
      Enter the full pathname of the local bin directory: [/usr/local/bin]:
      The contents of "dbhome" have not changed. No need to overwrite.
      The contents of "oraenv" have not changed. No need to overwrite.
      The contents of "coraenv" have not changed. No need to overwrite.
      
      Entries will be added to the /etc/oratab file as needed by
      Database Configuration Assistant when a database is created
      Finished running generic part of root script.
      Now product-specific root actions will be performed.
      Do you want to setup Oracle Trace File Analyzer (TFA) now ? yes|[no] :
      yes
      Installing Oracle Trace File Analyzer (TFA).
      Log File: /u01/app/oracle/product/12.2.0/db_1/install/root_RmanDB_2018-11-23_16-58-31-820480200.log
      Finished installing Oracle Trace File Analyzer (TFA)

      到此,數(shù)據(jù)庫(kù)軟件安裝完成!

       

      posted @ 2018-11-23 17:02  abm  閱讀(1707)  評(píng)論(0)    收藏  舉報(bào)
      主站蜘蛛池模板: 丁香婷婷在线观看| av在线播放国产一区| www免费视频com| 免费无码AV一区二区波多野结衣| 欧美性猛交xxxx乱大交极品| 亚洲av无码精品色午夜蛋壳| 波多野结衣一区二区三区高清av| 狼色精品人妻在线视频| 狠狠爱五月丁香亚洲综| 成人综合婷婷国产精品久久蜜臀| 肥大bbwbbw高潮抽搐| 亚洲一线二线三线品牌精华液久久久| 人人妻人人澡人人爽人人精品av| 91老肥熟女九色老女人| 华坪县| 成人亚洲一区二区三区在线| 国内不卡一区二区三区| 在线中文字幕国产一区| 99精品国产综合久久久久五月天| 桃花岛亚洲成在人线AV| 99久久er这里只有精品18| 四虎永久在线精品无码视频 | 久久99热只有频精品6狠狠 | 精品国产成人亚洲午夜福利 | 成av免费大片黄在线观看| 国产深夜福利在线免费观看| 奇米四色7777中文字幕| 精品国产成人国产在线观看| 国产亚洲中文字幕久久网| 国产精品亚洲二区在线播放| 99久久亚洲综合精品成人网| 亚洲av无码乱码在线观看野外| 成人网站免费观看| 亚洲国产大胸一区二区三区| 久久精品国产99国产精品严洲| 五月丁香啪啪| 国产一区二区三区精品久| 国产成人午夜福利精品| 亚洲国产成人综合精品| 国产亚洲av产精品亚洲| 国产精品午夜福利在线观看 |