内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

這篇文章主要講解了“Oracle數(shù)據(jù)庫安裝詳細(xì)步驟”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“Oracle數(shù)據(jù)庫安裝詳細(xì)步驟”吧!

阜新ssl適用于網(wǎng)站、小程序/APP、API接口等需要進(jìn)行數(shù)據(jù)傳輸應(yīng)用場景,ssl證書未來市場廣闊!成為創(chuàng)新互聯(lián)公司的ssl證書銷售渠道,可以享受市場價格4-6折優(yōu)惠!如果有意向歡迎電話聯(lián)系或者加微信:18980820575(備注:SSL證書合作)期待與您的合作!

Oracle數(shù)據(jù)庫11.2.0.4安裝詳細(xì)步驟

一、準(zhǔn)備工作

1,全新安裝Oracle11g數(shù)據(jù)庫需要的安裝包:

    總共有7個安裝包,如果是單實例環(huán)境沒有RAC這樣的環(huán)境只需要前2個安裝包就可以。

p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_2of7.zip

2,安裝的操作系統(tǒng)版本:Red Hat Enterprise Linux Server release 6.9 (Santiago)

3,需要安裝Xmanager6這個軟件,具體在網(wǎng)上可以查詢到。

4,硬件需要說明,最低要求。

I. 硬件:
 1. 最低硬件需求
    a)至少1GB物理內(nèi)存
    b)swap滿足下面的要求:
 

RAMSwap Space
Between 1 GB and 2 GB1.5 times the size of RAM
Between 2 GB and 16 GBEqual to the size of RAM
More than 16 GB16 GB


      注意: 上面的推薦(來自于 11.2 Database installation guide)是最低的推薦。
    c)/tmp至少1GB空間,并且要少于2TB空間。
    d)database software 至少需要4.4GB空間
    e)database 需要至少1.7G空間。
  2. Oracle database 在 ext2,ext3,ext4 和 xfs文件系統(tǒng)上受到支持(參見Note:236826.1 and Note 1632127.1 以獲得更多信息)

5,附上軟件安裝地址分享鏈接: https://pan.baidu.com/s/1NFYZ5BDfsLv9gm0HtmaqYA : ep1e

二、正式安裝Oracle軟件

1.安裝必要的依賴軟件

[root@OracleLinux6 ~]#yum install -y binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel elfutils-libelf-devel-static gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers kernel-headers ksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel

2,創(chuàng)建用戶和用戶組

[root@OracleLinux6 ~]# groupadd -g 501 oinstall
[root@OracleLinux6 ~]# groupadd -g 502 dba
[root@OracleLinux6 ~]# useradd -g oinstall -G dba oracle

3,新建安裝目錄并設(shè)置權(quán)限

[root@OracleLinux6 ~]# mkdir -p /orasetup /home/app/oracle
[root@OracleLinux6 ~]# chmod -R 775 /orasetup /home/app
[root@OracleLinux6 ~]# chown -R oracle:oinstall /orasetup /home/app

4,上傳需要安裝Oracle11G軟件并解壓軟件

[root@OracleLinux6 ~]# cd /orasetup/
[root@OracleLinux6 orasetup]# rz
[root@OracleLinux6 orasetup]# unzip p13390677_112040_Linux-x86-64_1of7.zip

解壓完后需要再次執(zhí)行以下權(quán)限,已確保Oracle用戶可以執(zhí)行

[root@OracleLinux6 ~]# chmod -R 775 /orasetup
[root@OracleLinux6 ~]# chown -R oracle:oinstall /orasetup

5,修改用戶環(huán)境變量

[root@OracleLinux6 ~]# su - oracle
[oracle@OracleLinux6 ~]$ pwd
/home/oracle
添加如下信息:
[oracle@OracleLinux6 ~]$ vi .bash_profile  
export PATH
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias vi='vim'
alias sqlplus='rlwrap sqlplus'
alias rman='rlwrap rman'

export ORACLE_BASE=/home/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
export ORACLE_SID=orcl
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/lib/usr/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bi
n:$ORACLE_HOME/jdk/bin
export NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"
export NLS_LANG="Simplified Chinese_China".AL32UTF8
umask  022

6,修改系統(tǒng)環(huán)境變量

[root@OracleLinux6 ~]# vi /etc/profile
添加如下信息:
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
        if [ $SHELL = "/bin/ksh" ]; then
                ulimit -p 16384
                ulimit -n 65536
        else
                ulimit -u 16384 -n 65536
        fi
fi 
[root@OracleLinux6 ~]# source /etc/profile

7,修改用戶限制

[root@OracleLinux6 ~]# vi /etc/security/limits.conf
oracle           soft    nproc   2047
oracle           hard    nproc   16384
oracle           soft    nofile  1024
oracle           hard    nofile  65536
oracle           soft    stack   10240
oracle           hard    stack   32768

8,修改內(nèi)核參數(shù)

[root@OracleLinux6 ~]# vim /etc/sysctl.conf 
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 = 1048586
最后刷新以下參數(shù)
[root@OracleLinux6 ~]# sysctl  -p

9,修改hosts文件

[root@OracleLinux6 ~]# vim /etc/hosts

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.254.33 OracleLinux6

10,安裝數(shù)據(jù)庫

先安裝好Xmanager軟件,切換用戶至Oracle用戶下來安裝數(shù)據(jù)庫。
[root@OracleLinux6 ~]# su - oracle
[oracle@OracleLinux6 ~]$ export DISPLAY=192.168.254.1:0.0
[oracle@OracleLinux6 ~]$ xhost +

   Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

  進(jìn)入database文件夾,運行./runInstaller。

[oracle@OracleLinux6 ~]$ cd /orasetup/database/
[oracle@OracleLinux6 database]$ ll
total 60
drwxrwxr-x  4 oracle oinstall  4096 Aug 27  2013 install
-rwxrwxr-x  1 oracle oinstall 30016 Aug 27  2013 readme.html
drwxrwxr-x  2 oracle oinstall  4096 Aug 27  2013 response
drwxrwxr-x  2 oracle oinstall  4096 Aug 27  2013 rpm
-rwxrwxr-x  1 oracle oinstall  3267 Aug 27  2013 runInstaller
drwxrwxr-x  2 oracle oinstall  4096 Aug 27  2013 sshsetup
drwxrwxr-x 14 oracle oinstall  4096 Aug 27  2013 stage
-rwxrwxr-x  1 oracle oinstall   500 Aug 27  2013 welcome.html
[oracle@OracleLinux6 database]$ ./runInstaller

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

11,開始安裝Oracle,進(jìn)入安裝首頁,去掉打鉤的選項

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

12,skip升級安裝

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

13,跳出對話框點擊yes繼續(xù)

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

14,選擇僅安裝數(shù)據(jù)庫軟件

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

15,安裝單實例數(shù)據(jù)庫

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

16,選擇type,語言類型

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

17,安裝數(shù)據(jù)庫版本

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

18,安裝路徑選擇(這個在你的用戶環(huán)境變量設(shè)置過了)

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

19,Create Inventory

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

20,Operating System Group 

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

21,Prerequisite Ckeck 

       這一步有可能會有兩個yum包沒有安裝上,需要安裝在一下ksh和libaio-devel,你可以忽略但我不太確定有何影響,我都是安裝通過后繼續(xù)。

22,Summary 

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

23,Install Product

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

24,快要安裝完成時執(zhí)行腳本

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

25,利用終端使用root權(quán)限執(zhí)行提示Path的腳本文件,點擊OK即完成。

26,到此處安裝數(shù)據(jù)庫結(jié)束。

三、設(shè)置監(jiān)聽

1,在Oracle用戶下設(shè)置監(jiān)聽

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

2,Listener Configure

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

3,Add Listener

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

4,Listener name

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

5,Listener TCP

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

6,Listener Port

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

7,Listener another 選擇NO

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

8,最后一步選擇Cancel 結(jié)束監(jiān)控設(shè)置

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

四、創(chuàng)建數(shù)據(jù)庫

1,進(jìn)入Oracle用戶,創(chuàng)建數(shù)據(jù)庫

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

2,CreateDatabase

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

3,Setup2

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

4,Setup3 設(shè)置數(shù)據(jù)庫名稱

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

5,Setup4  --去掉√

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

6,Setup5  ---創(chuàng)建密碼

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

7,Setup6 --選擇監(jiān)聽程序name:LISTENER1默認(rèn)不用選擇直接是LISTENER

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

8,Setup7 ---設(shè)置template

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

9,Setup8 --啟用閃回和Archiving

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

10,Setup9 --選擇模版schemas

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

11,Setup10 --設(shè)置Memory容量(可以設(shè)置到70%)

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

12,Setup11--設(shè)置Sizing為5000

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

13,Setup12--設(shè)置Character

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

14,Setup13--設(shè)置說明

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

15,Setup14---Finish

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

16,Confirmation信息

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

17,開始創(chuàng)建數(shù)據(jù)庫

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

18,創(chuàng)建過程中回到46% 有一個報錯:ORA-12532錯誤:解決辦法:密碼設(shè)置時候不要用到@字符。

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

19,重新修改密碼后,一次性通過安裝完成。

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

20,最后提示安裝的文件信息,到此建庫完成。

Oracle數(shù)據(jù)庫安裝詳細(xì)步驟

感謝各位的閱讀,以上就是“Oracle數(shù)據(jù)庫安裝詳細(xì)步驟”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對Oracle數(shù)據(jù)庫安裝詳細(xì)步驟這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!

分享名稱:Oracle數(shù)據(jù)庫安裝詳細(xì)步驟
文章分享:http://m.rwnh.cn/article30/gdepso.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供定制網(wǎng)站、商城網(wǎng)站、網(wǎng)站營銷、微信小程序、、云服務(wù)器

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站托管運營
庄浪县| 红原县| 遵化市| 德钦县| 班戈县| 富锦市| 丹巴县| 钟祥市| 昌江| 易门县| 汉寿县| 台州市| 阳城县| 永修县| 安泽县| 弥渡县| 渭源县| 阿拉善左旗| 彰化县| 黄龙县| 峨边| 梁平县| 柘城县| 巴东县| 营口市| 南华县| 小金县| 象州县| 左云县| 独山县| 胶州市| 通州区| 棋牌| 阳江市| 民丰县| 广德县| 萝北县| 道真| 郧西县| 水城县| 冀州市|