安裝oracle10g for aix
1、確認系統結構是否為64位:
# su - root
# getconf HARDWARE_BITMODE
64
2、確認實體記憶體大小:
# lsattr -E -l sys0 -a realmem
realmem 1048576 Amount of usable physical memory in Kbytes False
3、確認交換空間大小:
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 512MB 1 yes yes lv
4、確認臨時空間大小:
# df -k /tmp
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd3 1048576 1013876 4% 35 1% /tmp
4.1 增加臨時空間:
需要增加(2028m - 512m = 1516m),pp為32M 需要增加1516/32=48個pp
extendlv hd3 48
5、確認磁碟空間大小:
# df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 655360 600752 9% 1788 1% /
/dev/hd2 2097152 727992 66% 33767 7% /usr
/dev/hd9var 32768 18720 43% 442 6% /var
/dev/hd3 1048576 1013876 4% 35 1% /tmp
/dev/hd1 1048576 1015112 4% 20 1% /home
/proc - - - - - /proc
/dev/hd10opt 8388608 8040208 5% 1630 1% /opt
6、確認AIX版本:
# oslevel -r
5300-07
7、確認Fileset是否安裝齊全:
# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat
> bos.perf.libperfstat bos.perf.proctools
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.adt.base 5.3.7.0 COMMITTED Base Application Development
Toolkit
bos.adt.lib 5.3.0.60 COMMITTED Base Application Development
Libraries
bos.perf.libperfstat 5.3.7.0 COMMITTED Performance Statistics Library
Interface
bos.perf.perfstat 5.3.7.0 COMMITTED Performance Statistics
Interface
bos.perf.proctools 5.3.7.0 COMMITTED Proc Filesystem Tools
Path: /etc/objrepos
bos.perf.libperfstat 5.3.7.0 COMMITTED Performance Statistics Library
Interface
bos.perf.perfstat 5.3.7.0 COMMITTED Performance Statistics
Interface
lslpp: 0504-132 Fileset bos.adt.libm not installed.
7.1、安裝Fileset:
#smitty installp
選擇install and Update from LATEST Available Software安裝所需包
安裝成功重新確認:
8、確認APAR是否安裝齊全:
#instfix -i -k "IY89080"
All filesets for IY89080 were found.
9、配置system引數:
#smit chgsys
修改Maximum number of PROCESSES allowed per user引數為2048
10、建立Oracle Group(oinstall dba)
#smit security
11、建立Oracle Users
#smit security
Primary GROUP oinstall
Group SET dba
11.1 修改oracle使用者password
#passwd oracle
12、修改oracle使用者系統配額:
#vi /etc/security/limits
default:
fsize = -1
core = 2097151
cpu = -1
data = 262144
rss = 65536
stack = 65536
nofiles = 2000
root:
daemon:
bin:
sys:
adm:
uucp:
guest:
nobody:
lpd:
oracle:
data = -1
stack = -1
13、配置oracle使用者環境變數(.profile):
$ su - oracle
$ vi .profile
ORACLE_BASE=/opt/oracle;
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0;
export ORACLE_HOME
ORACLE_SID=oracle;
export ORACLE_SID
PATH=$ORACLE_HOME/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:
export PATH
14、建立oracle資料庫目錄:
$ su - oracle
$ mkdir -p /opt/oracle/product/10.2.0
15、將oracle安裝包透過FTP上傳到AIX上,並透過如下命令進行解壓縮:
$ su - oracle
$ gunzip 10gr2_aix5l64_database.cpio.gz
$ cpio -idcmv < 10gr2_aix5l64_database.cpio.gz
16、執行rootpre.sh指令碼:
#su - root
#cd /opt/Disk1/rootpre
#./rootpre.sh
./rootpre.sh output will be logged in /tmp/rootpre.out_10-06-12.13:58:39
Saving the original files in /etc/ora_save_10-06-12.13:58:39....
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.32bit_kernel with kmid: 0x2eb0ebc
Successfully configured /etc/pw-syscall.32bit_kernel with kmid: 0x2eb0ebc
The kernel extension was successfuly loaded.
Configuring Asynchronous I/O....
Configuring POSIX Asynchronous I/O....
Checking if group services should be configured....
Nothing to configure.
17、安裝oracle:
$ cd /opt/Disk1
$ ./runInstaller
.......安裝過程中......
18、執行orainstRoot.sh和root.sh指令碼:
# su - root
# cd /home/oracle/oraInventory
# ls
Contents logs orainstRoot.sh
ContentsXML oraInst.loc oui
install.platform oraInstaller.properties sessionContext.ser
#
# ./orainstRoot.sh
Changing permissions of /home/oracle/oraInventory to 775.
Changing groupname of /home/oracle/oraInventory to oinstall.
The execution of the script is complete
# cd /opt/oracle/product/10.2.0/
# ./root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/product/10.2.0
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Creating /usr/local/bin directory...
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
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.sh script.
Now product-specific root actions will be performed.
#
........
安裝結束。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7417660/viewspace-1034390/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在AIX上安裝配置Oracle10g RACAIOracle
- Oracle10g 在AIX 5.3上的安裝OracleAI
- Oracle10g for AIX6.1安裝問題解決OracleAI
- 在AIX上安裝配置Oracle10g RAC2AIOracle
- Oracle10g 在AIX 6.1上的靜默安裝OracleAI
- aix rac安裝AI
- aix安裝oracleAIOracle
- 上週在Aix上安裝oracle10g rac遇到兩個問題AIOracle
- AIX的yum安裝AI
- oracle rac aix 安裝OracleAI
- 安裝AIX4.3.3AI
- AIX 軟體安裝AI
- Oracle10g 安裝Oracle
- 在AIX上安裝GCCAIGC
- aix下hacmp解除安裝AIACM
- AIX5.2安裝OpensshAI
- 在AIX上安裝VNCAIVNC
- AIX5.3安裝sshAI
- 安裝Oracle7.2.3 for AIXOracleAI
- 在AIX解除安裝lcfAI
- AIX下安裝VNC ServerAIVNCServer
- aix5.3 安裝 opensshAI
- 解除安裝oracle10gOracle
- oracle10g GC agent安裝與解除安裝OracleGC
- aix安裝oracle客戶端AIOracle客戶端
- AIX 安裝 11g RACAI
- 在AIX中安裝gnu screenAI
- aix下安裝字符集AI
- linux_aix安裝postfixLinuxAI
- AIX基本安裝步驟(轉)AI
- redhatas下安裝oracle10gRedhatOracle
- 靜默安裝oracle10gOracle
- CentOS 5.4安裝oracle10gCentOSOracle
- oracle10g statspack--安裝Oracle
- oracle10g 靜默安裝Oracle
- 在AIX4.3.3 ; AIX5.1 和 AIX5.2上安裝OpenSSHAI
- 【RAC安裝】 AIX下安裝Oracle 11gR2 RACAIOracle
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM