




已閱讀5頁(yè),還剩17頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1. 檢查硬件情況# /usr/sbin/lsattr -E -l sys0 -a realmemrealmem 2031616 Amount of usable physical memory in Kbytes False查看swap space# lsps -aPage Space Physical Volume Volume Group Size %Used Active Auto Typehd6 hdisk0 rootvg 512MB 1 yes yes lv查看系統(tǒng)結(jié)構(gòu),安裝ORACLE需要是64位的系統(tǒng)# getconf HARDWARE_BITMODE64# bootinfo -K64檢查OS版本,11GR2需要5300-09以上的版本# oslevel -s5300-10-00-0000檢查如下包是否已經(jīng)安裝,沒(méi)有的話需要smit install進(jìn)行安裝lslpp -l bos.adt.base lslpp -l bos.adt.liblslpp -l bos.adt.libmlslpp -l bos.perf.perfstatlslpp -l bos.perf.libperfstatlslpp -l ctools調(diào)整maxuproc(系統(tǒng)最大進(jìn)程數(shù))Smitty chgsys# chdev -l sys0 -a maxuproc=16384sys0 changed調(diào)整ncargs(系統(tǒng)塊大小)# chdev -l sys0 -a ncargs=128sys0 changed解壓縮zip文件jar xvf aix.ppc64_11gR2_grid.zipunzip aix.ppc64_11gR2_database_1of2.zipunzip aix.ppc64_11gR2_database_2of2.zip創(chuàng)建文件系統(tǒng)/u01,用于安裝oracle軟件Smitty crfsMount /u01創(chuàng)建用戶和組Smitty mkgroupDba組Oinstall組創(chuàng)建用戶修改oracle用戶密碼# passwd oracleChanging password for oracleoracles New password: Enter the new password again:將oracle軟件存放的目錄和安裝目錄的屬主修改為oralce# chown -R oracle:oinstall /soft# chown -R oracle:oinstall /u01修改環(huán)境變量Cd Vi .profile添加如下內(nèi)容export PS1=hostname/whoami$export EDITOR=vi export ORACLE_SID=oracl export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/libexport PATH=$ORACLE_HOME/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/bin:/sbin export NLS_DATE_FORMAT=YYYY-MM-DD HH24:MI:SSexport TMPDIR=/tmp小插曲,以上變量定義好后,發(fā)現(xiàn)使用xmanager登陸后,環(huán)境變量并沒(méi)有生效,但通過(guò)telnet登陸是生效的,原因是CDC登陸的的時(shí)候是使用的.dtprofile文件,修改該文件將最后一行的注釋去掉.#DTSOURCEPROFILE=true修改為DTSOURCEPROFILE=true這樣重新使用xmanager登陸后,環(huán)境變量即可生效.創(chuàng)建環(huán)境變量里定義的文件目錄hxl/oracle$echo $ORACLE_BASE/u01/app/oraclehxl/oracle$mkdir -p $ORACLE_BASEhxl/oracle$mkdir -p $ORACLE_BASE/product/11.2.0/db_1開(kāi)始安裝數(shù)據(jù)庫(kù)軟件進(jìn)入到安裝文件存放目錄,首先在root用戶下執(zhí)行rootpre.shhxl/oracle$./rootpre.sh./rootpre.sh output will be logged in /tmp/rootpre.out_12-08-20.21:18:00Saving the original files in /etc/ora_save_12-08-20.21:18:00.Copying new kernel extension to /etc.Loading the kernel extension from /etc Oracle Kernel Extension Loader for AIX Copyright (c) 1998,1999 Oracle Corporation Successfully loaded /etc/pw-syscall.64bit_kernel with kmid: 0x3fa3700 Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x3fa3700The kernel extension was successfuly loaded.Configuring Asynchronous I/O.Configuring POSIX Asynchronous I/O.Checking if group services should be configured.Nothing to configure.測(cè)試圖形界面是否正常hxl/oracle$suroots Password: hxl/oracle$xhost +access control disabled, clients can connect from any hosthxl/oracle$xclockhxl/oracle$沒(méi)有問(wèn)題的話,就可以按照?qǐng)D形界面安裝了hxl/oracle$./runInstaller*Your platform requires the root user to perform certain pre-installationOS preparation. The root user should run the shell script rootpre.sh beforeyou proceed with Oracle installation. rootpre.sh can be found at the top level of the CD or the stage area.Answer y if root has run rootpre.sh so you can proceed with Oracle installation.Answer n to abort installation and then ask root to run rootpre.sh.*Has rootpre.sh been run by root? y/n (n)yStarting Oracle Universal Installer.Checking temp space: 124 MB available, 190 MB required. Failed Checking swap space: must be greater than 150 MB. Actual 512 MB PassedChecking monitor: must be configured to display at least 256 colors. Actual 16777216 PassedSome requirement checks failed. You must fulfill these requirements beforecontinuing with the installation,Continue? (y/n) n n這里提示/tmp目錄太小導(dǎo)致檢查無(wú)法通過(guò)Smitty chfs 添加空間到200m重新執(zhí)行./runInstaller1.2.這里只安裝軟件3.選擇單實(shí)例安裝4.選擇語(yǔ)言5.選擇企業(yè)版安裝6.制定安裝目錄原因是權(quán)限的問(wèn)題,發(fā)現(xiàn)/u01歸屬于root用戶,將該目錄修改為oracle用戶即可Chown R oracle:oinstall7.指定安裝目錄8.選擇系統(tǒng)組9.安裝前準(zhǔn)備問(wèn)題1:交換空間太小解決辦法:查看當(dāng)前交換空間大小hxl/oracle$lsps -aPage Space Physical Volume Volume Group Size %Used Active Auto Typehd6 hdisk0 rootvg 512MB 1 yes yes lvhxl/oracle$添加交換空間Smitty chps問(wèn)題2./tmp 空間太小解決辦法Smitty chfs問(wèn)題3提示沒(méi)有安裝rsct.basic.rteSmitty install 將該包安裝即可,該包在光盤介質(zhì)中可以找得到.問(wèn)題4 沒(méi)有打如下補(bǔ)丁If you are using the minimum operating system TL level for AIX 5Llisted above, then install all AIX 5L 5.3 Authorized Problem AnalysisReports (APARs) for AIX 5L v. 5.3 ML06, and the following AIX fixes:IZ42940IZ49516IZ52331hxl/oracle$instfix -i -kIZ42940 There was no data for IZ42940 in the fix database.hxl/oracle$instfix -i -kIZ49516 There was no data for IZ49516 in the fix database.hxl/oracle$instfix -i -kIZ52331There was no data for IZ52331 in the fix database.10.選擇忽略如上三個(gè)包Invalid entry size(expected 44283015 but got 44282932 bytes)-no done-調(diào)整虛擬內(nèi)存管理vmo -p -o minperm%=3vmo -p -o maxperm%=90vmo -p -o maxclient%=90vmo -p -o lru_file_repage=0vmo -p -o strict_maxclient=1vmo -p -o strict_maxperm=0調(diào)整網(wǎng)絡(luò)調(diào)試參數(shù)no -r -o ipqmaxlen=521no -p -o rfc1323=1no -p -o sb_max=4194304no -p -o tcp_recvspace=65536no -p -o tcp_sendspace=65536no -p -o udp_recvspace=655360no -p -o udp_sendspace=65536創(chuàng)建組和用戶mkgroup -A id=506 oinstallmkgroup -A id=505 dbamkgroup -A id=507 asmadminmkgroup -A id=508 asmdbamkgroup -A id=509 asmopermkuser -a id=503 pgrp=oinstall groups=dba,asmadmin,asmdba,asmoper shell=/bin/bash home=/home/grid fsize=-1 cpu=-1 data=-1 core=-1 rss=-1 stack=-1 stack_hard=-1 capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE gridpasswd gridmkuser -a id=502 pgrp=oinstall groups=dba,asmdba,asmadmin shell=/bin/bash home=/home/oracle fsize=-1 cpu=-1 data=-1 rss=-1 stack=-1 stack_hard=-1 capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oraclepasswd oraclemkdir -p /u01/gridmkdir -p /u01/app/oraclechown -R grid:oinstall /u01chmod -R 775 /u01/chown oracle:oinstall /u01/app/oracle調(diào)整shell限制/etc/security
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 河南推拿職業(yè)學(xué)院《廣播廣告創(chuàng)作與欣賞》2023-2024學(xué)年第二學(xué)期期末試卷
- 湖南應(yīng)用技術(shù)學(xué)院《生物藥物分離純化技術(shù)》2023-2024學(xué)年第二學(xué)期期末試卷
- 桂林信息工程職業(yè)學(xué)院《資源與環(huán)境領(lǐng)域前沿進(jìn)展》2023-2024學(xué)年第二學(xué)期期末試卷
- 長(zhǎng)治學(xué)院《計(jì)算機(jī)與互聯(lián)網(wǎng)》2023-2024學(xué)年第二學(xué)期期末試卷
- 廣西城市職業(yè)大學(xué)《教師資格證面試強(qiáng)化》2023-2024學(xué)年第二學(xué)期期末試卷
- 湖南冶金職業(yè)技術(shù)學(xué)院《測(cè)繪管理與法規(guī)》2023-2024學(xué)年第二學(xué)期期末試卷
- 廣東科技學(xué)院《食品生物技術(shù)基礎(chǔ)》2023-2024學(xué)年第二學(xué)期期末試卷
- 泉州海洋職業(yè)學(xué)院《中國(guó)民族民間舞蹈素材(一)》2023-2024學(xué)年第二學(xué)期期末試卷
- 上海出版印刷高等專科學(xué)?!痘ぴO(shè)計(jì)與模擬》2023-2024學(xué)年第二學(xué)期期末試卷
- 河南農(nóng)業(yè)大學(xué)《膠黏劑的發(fā)展與應(yīng)用》2023-2024學(xué)年第二學(xué)期期末試卷
- T-PAYS 002-2024 磐安藥膳制作技術(shù)規(guī)程
- 牛場(chǎng)安全培訓(xùn)
- 腦電圖及臨床應(yīng)用
- 2025年重慶中考語(yǔ)文a試題及答案2024
- 大學(xué)生的人際交往困境與突破
- 第八單元常見(jiàn)的酸、堿、鹽基礎(chǔ)練習(xí)題-+2024-2025學(xué)年九年級(jí)化學(xué)科粵版(2024)下冊(cè)
- 2024國(guó)家安全教育大學(xué)生讀本題庫(kù)
- 黃河文化(齊魯工業(yè)大學(xué))知到智慧樹(shù)章節(jié)測(cè)試課后答案2024年秋齊魯工業(yè)大學(xué)
- 變電站電網(wǎng)側(cè)儲(chǔ)能項(xiàng)目可行性研究報(bào)告
- 第十二周《遇見(jiàn)勞動(dòng)之美點(diǎn)亮成長(zhǎng)底色》主題班會(huì)
- 世界環(huán)境日環(huán)保教育班會(huì) 課件
評(píng)論
0/150
提交評(píng)論