Oracle Study之--AIX 6.1安裝Oracle 11gR2
在古冶等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站建設(shè)、網(wǎng)站設(shè)計 網(wǎng)站設(shè)計制作專業(yè)公司,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站制作,營銷型網(wǎng)站,成都外貿(mào)網(wǎng)站建設(shè),古冶網(wǎng)站建設(shè)費用合理。系統(tǒng)環(huán)境:AIX6100-09 (補丁:sp3)
Oracle: Oracle 11gR2
1、查看系統(tǒng)硬件信息
$ prtconf |more
System Model: IBM,7028-6C4 Machine Serial Number: 1096B0D Processor Type: PowerPC_POWER4 Processor Implementation Mode: POWER 4 Processor Version: PV_4_2 Number Of Processors: 2 Processor Clock Speed: 1453 MHz CPU Type: 64-bit Kernel Type: 64-bit LPAR Info: 1 NULL Memory Size: 4096 MB Good Memory Size: 4096 MB Platform Firmware level: 3R041029 Firmware Version: IBM,RG041029_d79e00_r Console Login: enable Auto Restart: true Full Core: false2、安裝Oracle 11gR2需要page space不小于4g:
[root@aix203 database]lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum paging00 hdisk0 rootvg 2048MB 0 yes yes lv 0 hd6 hdisk0 rootvg 2048MB 1 yes yes lv 0 [root@aix203 database]lsps -s Total Paging Space Percent Used 2560MB 0% [root@aix203 database]swap Usage: swap -l swap -s swap -d device swap -a device [root@aix203 database]swap -a /dev/hd6 swapon: Paging device /dev/hd6 is already active. [root@aix203 database]swap -d /dev/hd6 [root@aix203 database]swap -a /dev/hd6 [root@aix203 database]lsps -s Total Paging Space Percent Used 4096MB 0%3、查看系統(tǒng)所必須安裝的數(shù)據(jù)包
[root@aix203 /]lslpp -l |grep -i xlc xlC.aix61.rte 12.1.0.1 COMMITTED IBM XL C++ Runtime for AIX 6.1 xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor xlC.rte 12.1.0.1 COMMITTED IBM XL C++ Runtime for AIX xlC.sup.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2 [root@aix203 /]lslpp -l |grep bos.perf bos.perf.diag_tool 6.1.8.15 COMMITTED Performance Diagnostic Tool bos.perf.fdpr 6.1.8.15 COMMITTED Feedback Directed Program bos.perf.libperfstat 6.1.9.0 COMMITTED Performance Statistics Library bos.perf.perfstat 6.1.9.0 COMMITTED Performance Statistics bos.perf.pmaix 6.1.9.0 COMMITTED Performance Management bos.perf.proctools 6.1.9.0 COMMITTED Proc Filesystem Tools bos.perf.tools 6.1.9.0 COMMITTED Base Performance Tools bos.perf.tune 6.1.9.0 COMMITTED Performance Tuning Support bos.perf.diag_tool 6.1.8.15 COMMITTED Performance Diagnostic Tool bos.perf.libperfstat 6.1.9.0 COMMITTED Performance Statistics Library bos.perf.perfstat 6.1.9.0 COMMITTED Performance Statistics bos.perf.pmaix 6.1.9.0 COMMITTED Performance Management bos.perf.tools 6.1.9.0 COMMITTED Base Performance Tools bos.perf.tune 6.1.9.0 COMMITTED Performance Tuning Support4、查看文件系統(tǒng)空間信息
# df -m Filesystem MB blocks Free %Used Iused %Iused Mounted on /dev/hd4 10240.00 4992.90 52% 13238 2% / /dev/hd2 2048.00 492.00 76% 31524 22% /usr /dev/hd9var 2048.00 2033.39 1% 479 1% /var /dev/hd3 2048.00 1797.96 13% 466 1% /tmp /dev/hd1 2048.00 2047.29 1% 12 1% /home /dev/hd11admin 2048.00 2047.35 1% 5 1% /admin /proc - - - - - /proc /dev/hd10opt 2048.00 1934.11 6% 1923 1% /opt /dev/fslv00 10240.00 10238.09 1% 7 1% /u01 aix219:/ware 15360.00 3711.85 76% 14106 2% /soft1 /dev/lv00 128.00 123.94 4% 18 1% /var/adm/csd5、調(diào)整用戶啟用大進程數(shù)
6、root用戶做安裝前的環(huán)境檢測
# ./rootpre.sh
./rootpre.sh output will be logged in /tmp/rootpre.out_16-03-02.15:44:46
Saving the original files in /etc/ora_save_16-03-02.15:44:46....
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: 0x20883000
Successfully configured /etc/pw-syscall.64bit_kernel with kmid: 0x20883000
The kernel extension was successfuly loaded.
Configuring Asynchronous I/O....
Asynchronous I/O is not installed on this system.
You will need to install it, and either configure it yourself using
'smit aio' or rerun the Oracle root installation procedure.
Configuring POSIX Asynchronous I/O....
Posix Asynchronous I/O is not installed on this system.
You will need to install it, and either configure it yourself using
'smit aio' or rerun the Oracle root installation procedure.
Checking if group services should be configured....
Nothing to configure.
---- 檢測提示“異步I/O"沒有被啟用,經(jīng)查詢,在AIX 6.1下會當(dāng)有I/O請求時,自動啟用異步I/O 。
查看系統(tǒng)I/O情況:
# ioo -a |grep aio
aio_active = 0 ;aio未啟動
aio_maxreqs = 65536
aio_maxservers = 40
aio_minservers = 10
aio_server_inactivity = 300
posix_aio_active = 0 ;aio未啟動
posix_aio_maxreqs = 65536
posix_aio_maxservers = 30
posix_aio_minservers = 3
posix_aio_server_inactivity = 300
7、安裝系統(tǒng)sp3補丁
8、創(chuàng)建Oracle用戶
創(chuàng)建Oracle用戶和組(install、dba)
# id oracle
uid=300(oracle) gid=300(oinstall) groups=301(dba)
# chown -R oracle:dba /u01
# su - oracle
$ mkdir -p /u01/app/oracle
----并修改Oracle用戶對資源訪問的限制 !
[oracle@aix209 ~]$cat .profile
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
ORACLE_SID=prod
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH
9、安裝Oracle 11g軟件
查詢補丁,系統(tǒng)缺少這三個補?。?br />[root@aix209 database]instfix -i |grep 41885
[root@aix209 database]instfix -i |grep 51456
[root@aix209 database]instfix -i |grep 52319
(忽略后,繼續(xù)安裝,安裝成功!)
10、建立數(shù)據(jù)庫
----- 建庫成功,至此Oracle 11gR2安裝完成,所缺的補丁可以從IBM官方網(wǎng)站下載 !
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機、免備案服務(wù)器”等云主機租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。
網(wǎng)頁名稱:OracleStudy之--AIX6.1安裝Oracle11gR2-創(chuàng)新互聯(lián)
標(biāo)題鏈接:http://aaarwkj.com/article8/jceop.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供自適應(yīng)網(wǎng)站、虛擬主機、微信小程序、Google、全網(wǎng)營銷推廣、建站公司
聲明:本網(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)
猜你還喜歡下面的內(nèi)容