中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Install Oracle 11g on Red Hat Enterprise 6.5

發布時間:2020-08-09 07:36:42 來源:ITPUB博客 閱讀:193 作者:wwwwwwYL 欄目:關系型數據庫

Before installation

檢查硬件要求

check hardware requirements

內存最低1G,推薦2G或更高 用free查看

Memory at least 1G, recommend 2G and above (use command  free  to check)

/tmp至少1G

/tmp at least 1G

操作系統要求(OS requirement):

# cat /proc/version

 

Asianux Server 3 SP2

Oracle Linux 4 Update 7

Oracle Linux 5 Update 2 (with Red Hat Compatible Kernel)

Oracle Linux 5 Update 5

Oracle Linux 6

Oracle Linux 6 (with Red Hat Compatible Kernel)

Red Hat Enterprise Linux 4 Update 7

Red Hat Enterprise Linux 5 Update 2

Red Hat Enterprise Linux 5 Update 5 (with the Oracle Unbreakable Enterprise Kernel for Linux)

Red Hat Enterprise Linux 6

Red Hat Enterprise Linux 6 (with the Oracle Unbreakable Enterprise Kernel for Linux)

SUSE Linux Enterprise Server 10 SP2

SUSE Linux Enterprise Server 11

       內核需求(kernel requirements):

       # uname -r

On Oracle Linux 4 and Red Hat Enterprise Linux 4

2.6.9 or later

On Oracle Linux 5 Update 5

2.6.32-100.0.19 or later

On Oracle Linux 5 Update 2

2.6.18 or later (with Red Hat Compatible Kernel)

On Oracle Linux 6

2.6.32-100.28.5.el6.x86_64 or later

On Oracle Linux 6

2.6.32-71.el6.x86_64 or later (with Red Hat Compatible Kernel)

On Red Hat Enterprise Linux 5 Update 5 with the Oracle Unbreakable Enterprise Kernel for Linux

2.6.32 or later

On Red Hat Enterprise Linux 6 with the Oracle Unbreakable Enterprise Kernel for Linux

2.6.32-100.28.5.el6.x86_64 or later

On Red Hat Enterprise Linux 6

2.6.32-71.el6.x86_64 or later

On Asianux Server 3, Oracle Linux 5 Update 2, and Red Hat Enterprise Linux 5 Update 2

2.6.18 or later

On SUSE Linux Enterprise Server 10

2.6.16.21 or later

On SUSE Linux Enterprise Server 11

2.6.27.19 or later

 

Installation:

1.      修改sysctl.conf文件,在文件末尾插入

     Edit sysctl.conf file,at the end of file add in

vi /etc/sysctl.conf

fs.aio-max-nr =   1048576

fs.file-max =   6815744

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


2.      執行sysctl –p,確保輸出結果與第一步的數據相同

     Enter sysctl –p, make sure the output is the same as step 1

3.      修改limits.conf,在文件末尾插入

     Edit limits.conf file,at the end of file add in

vi   /etc/security/limits.conf

oracle              soft    nproc     2047

oracle              hard    nproc     16384

oracle              soft    nofile    1024

oracle              hard    nofile    65536

oracle              hard    stack    10241

 

4.      關閉selinux,把enforcing 改為disabled

     Turn off selinux, change enforcing to disabled

vi /etc/sysconfig/selinux

     selinux=disabled

 

5.      關閉linux防火墻

Turn off iptables

service iptables stop

chkconfig iptables off

 

6.      查看防火墻啟動狀態

     Check iptables status

 

7.      配置yum

     Yum configuration

mkdir /iso

umount   /dev/sr0

mount   /dev/sr0 /iso

 

vi /etc/yum.repos.d/local.repo

[server]

name=server

baseurl=file:///iso

enabled=1

gpgcheck=0

 

8.      Yum install 

     Create users and groups

groupadd dba 

groupadd oinstall

groupadd oper

useradd oracle   創建oracle用戶

/usr/sbin/useradd   -g oinstall -G dba,oper oracle

usermod -g dba   oracle   把oracle用戶加到dba組里

passwd oracle   給oracle用戶建密碼

      

10.      給oracle建安裝目錄

       Create install dirctory for oracle

mkdir -p   /u01/app/oracle

chown -R   oracle:dba /u01/app/oracle  把文件屬主改為oracle

chmod -R   777 /u01/app/oracle  把文件權限改為777

11.  配置oracle用戶環境變量(home、base、sid、path、umask)

       Configure oracle  user's environment variable

su - oracle

vi /home/oracle/.bash_profile

ORACLE_BASE=/u01/app/oracle

ORACLE_SID=sales

ORACLE_HOME=$ORACLE_BASE/11.2.4/dbhome_1

export ORACLE_BASE ORACLE_SID ORACLE_HOME

export PATH=$ORACLE_HOME/bin:$PATH

(ORACLE_HOME路徑跟安裝路徑一定要一致)

(ORACLE_HOME must be the same with install path)


12.      使新環境變量生效

       Make new environment variables effective

 

13.      添加/etc/hosts

       Edit /etc/hosts

su

vi /etc/hosts

(寫本機ip和主機名)

(write your ip and username)


14.      Reboot


     15.  上傳oracle文件到/u01并解壓

            Upload oracle files to /u01 and unzip


     16.  切換到oracle用戶

            Switch to oracle user

  • dbca

  • NEXT

    Install Oracle 11g on Red Hat Enterprise 6.5

  • NEXT

    Install Oracle 11g on Red Hat Enterprise 6.5

  • NEXT

    Install Oracle 11g on Red Hat Enterprise 6.5

  • SID與環境變量中的SID一致

    SID here must be the same as SID in .bash_profile

    Install Oracle 11g on Red Hat Enterprise 6.5

  • 不勾選

    Do not tick

    Install Oracle 11g on Red Hat Enterprise 6.5

  • 輸入密碼

    Enter password

    Install Oracle 11g on Red Hat Enterprise 6.5

  • NEXT

    Install Oracle 11g on Red Hat Enterprise 6.5

  • NEXT

    Install Oracle 11g on Red Hat Enterprise 6.5

  • 勾選 這個就會裝練習用的表,不選就是空白數據庫

    Tick this will have sample schemas, otherwise is empty database

    Install Oracle 11g on Red Hat Enterprise 6.5

  • 一個是內存分配,第二個是進程分配,第三個是字符集,第四個是pga運行方式

    Install Oracle 11g on Red Hat Enterprise 6.5

  • NEXT

    Install Oracle 11g on Red Hat Enterprise 6.5

  • NEXT

    Install Oracle 11g on Red Hat Enterprise 6.5




  • 建監聽(Listener configuration)



    1. netca

    2. NEXT

      Install Oracle 11g on Red Hat Enterprise 6.5

    3. NEXT

      Install Oracle 11g on Red Hat Enterprise 6.5

    4. NEXT

      Install Oracle 11g on Red Hat Enterprise 6.5

    5. NEXT

      Install Oracle 11g on Red Hat Enterprise 6.5

    6. NEXT

      Install Oracle 11g on Red Hat Enterprise 6.5

    7. NEXT

      Install Oracle 11g on Red Hat Enterprise 6.5






    向AI問一下細節

    免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

    AI

    昭苏县| 武定县| 定襄县| 太和县| 琼结县| 喀什市| 伊川县| 宜兰县| 珠海市| 太湖县| 乐山市| 秦皇岛市| 高密市| 乐清市| 大新县| 乾安县| 平遥县| 余江县| 灌阳县| 贞丰县| 泾源县| 巴马| 和静县| 微博| 尖扎县| 叙永县| 盐边县| 潮州市| 抚远县| 基隆市| 三门峡市| 长沙市| 原平市| 治多县| 孟津县| 泰州市| 太保市| 高唐县| 长顺县| 敖汉旗| 剑阁县|