aix 6.1 安装oracle,aix 6安装Oracle 11g

Power 550 AIX 6107 Oracle 11.2.0.4

1、检查内存大小

/usr/sbin/lsattr -E -l sys0 -a realmem

最小1G,要求2G或者更多

# /usr/sbin/lsattr -E -l sys0 -a realmem

realmem 32112640 Amount of usable physical memory in Kbytes False

2、检查swap空间的大小

/usr/sbin/lsps –a

# lsps -a

Page Space  Physical Volume   Volume Group Size %Used Active  Auto  Type Chksum

hd6        hdisk0            rootvg       16896MB     1   yes   yes    lv     0

# lsps -s

Total Paging Space   Percent Used

16896MB               1%

3、检查操作系统结构是否可以运行oracle软件

/usr/bin/getconf HARDWARE_BITMODE

4、检查临时空间的大小

df -k /tmp

要求至少为1G,空间不足软件安装界面是起不来的。

# df -k /tmp

Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on

/dev/hd3         10485760   8382168   21%     1910     1% /tmp

5、检查包是否打全

# lslpp -l bos.adt.base bos.adt.libbos.adt.libm bos.perf.perfstat \bos.perf.libperfstat bos.perf.proctools

# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat

bos.perf.libperfstat bos.perf.proctools xlC.aix61.rte  Fileset                      Level  State      Description

----------------------------------------------------------------------------

Path: /usr/lib/objrepos

bos.adt.base               6.1.7.0  COMMITTED  Base Application Development

Toolkit

bos.adt.lib                6.1.2.0  COMMITTED  Base Application Development

Libraries

bos.adt.libm               6.1.6.0  COMMITTED  Base Application Development

Math Library

bos.perf.perfstat          6.1.7.0  COMMITTED  Performance Statistics

Interface

Path: /etc/objrepos

bos.adt.base               6.1.7.0  COMMITTED  Base Application Development

Toolkit

bos.perf.perfstat          6.1.7.0  COMMITTED  Performance Statistics

Interface

6、创建oracle用户和oinstall用户组

mkgroup -A id=1001 oinstall

mkuser -a id=1002 pgrp=oinstall groups=oinstall fsize=-1 cpu=-1 data=-1 rss=-1 stack=-1 stack_hard=-1 capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oracle

passwd oracle

7、创建oracle用户哦install用户组,修改oracle环境变量

smitty mkgroup

# chown -R oracle:oinstall /oracle

# chmod 755 /oracle

export ORACLE_SID=orcl

export ORACLE_BASE=/oracle/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export PATH=$ORACLE_HOME/bin:$PATH

mkdir –p $ORACLE_BASE

mkdir –p $ORACLE_HOME

a.调整maxuproc(系统最大进程数) 官网提示"Verify that the value shown for Maximum number of PROCESSES allowed per user is greater than or equal to 2048."

# chdev -l sys0 -a maxuproc=16384

sys0 changed

#

8、修改参数

b.调整ncargs(系统块大小) 官网提示"Oracle recommends that you set the ncargs system attribute to a value greater than or equal to 128.”

chdev -l sys0 -a ncargs=128

# chdev -l sys0 -a ncargs=128

Method error (/usr/lib/methods/chggen):

0514-018 The values specified for the following attributes

are not valid:

ncargs     ARG/ENV list size in 4K byte blocks

d.修改/etc/security/limits文件中default参数部分(需重启生效)

default:

fsize = -1  ##(Unlimited)

core = -1    ##(Unlimited)

cpu = -1    ##(Unlimited)

data = -1    ##(Unlimited)

rss = -1    ##(Unlimited)

stack = -1  ##(Unlimited)

nofiles = -1 ##(Unlimited)

e.优化虚拟内存管理

vmo -p -o minperm%=3

vmo -p -o maxperm%=90

vmo -p -o maxclient%=90

vmo -p -o lru_file_repage=0

vmo -p -o strict_maxclient=1

vmo -p -o strict_maxperm=0

f.调整网络参数

no -r -o ipqmaxlen=512

no -p -o rfc1323=1

no -p -o sb_max=131072 //2*65536

no -p -o tcp_recvspace=65536

no -p -o tcp_sendspace=65536

no -p -o udp_recvspace=655360

no -p -o udp_sendspace=65536

# no -p -o tcp_ephemeral_low=9000 -o tcp_ephemeral_high=65500

Setting tcp_ephemeral_low to 9000

Setting tcp_ephemeral_low to 9000 in nextboot file

Setting tcp_ephemeral_high to 65500

Setting tcp_ephemeral_high to 65500 in nextboot file

# no -p -o udp_ephemeral_low=9000 -o udp_ephemeral_high=65500

Setting udp_ephemeral_low to 9000

Setting udp_ephemeral_low to 9000 in nextboot file

Setting udp_ephemeral_high to 65500

Setting udp_ephemeral_high to 65500 in nextboot file

#

9、开始安装

# cd database

# ls

install       readme.html   response      rootpre       rootpre.sh    rpm           runInstaller  sshsetup      stage         welcome.html

# ./rootpre.sh

./rootpre.sh output will be logged in /tmp/rootpre.out_15-10-17.09:09:10

Checking if group services should be configured....

Nothing to configure.

$ cd database

$ ls

install       readme.html   response      rootpre       rootpre.sh    rpm           runInstaller  sshsetup      stage         welcome.html

$ export DISPLAY=10.87.250.173:0

$ ./runInstaller

********************************************************************************

Your platform requires the root user to perform certain pre-installation

OS preparation.  The root user should run the shell script 'rootpre.sh' before

you 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)

y

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 190 MB.   Actual 8185 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 16896 MB    Passed

Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-10-17_09-10-16AM. Please wait ...$

问题:

1、忽略。

0fcab1e74b753010215e990f05d77f35.png

2、

8e29f0e5da29f29c8efea55a4012aded.png

点击Retry顺利通过

执行root 不截图了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值