最近总有新系统上线,以前一直没整理份AIX上安装Oracle的文档,现整理一份,以便日后参考。简单的步骤这里就省略了。
最近总有新系统上线,以前一直没整理份AIX上安装Oracle的文档,,现整理一份,以便日后参考。简单的步骤这里就省略了。
1、查看系统环境
查看操作系统
# uname
AIX
查看操作系统版本
# oslevel -r
5300-10
查看CPU位数
# getconf HARDWARE_BITMODE
64
或者
# prtconf -c
CPU Type: 64-bit
查看kernel位数
# prtconf -k
Kernel Type: 64-bit
查看内存
# prtconf -m
Memory Size: 62976 MB
或者
# lsattr -El sys0 -a realmem
realmem 64487424 Amount of usable physical memory in Kbytes False
查看交换分区
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 32768MB 1 yes yes lv
如果交换分区较小,需要调整为32G
smitty chps
查看/tmp目录
df –k
tmp空间至少为4G
查看APAR
instfix -i -k "IY68989 IY68874 IY70031 IY76140 IY89080"
2、创建oinstall、dba组合oracle用户
# mkgroup -A oinstall
# mkgroup -A dba
# mkuser id=202 pgrp=oinstall groups=oinstall,dba home='/u01/app/oracle'
shell='/usr/bin/ksh' oracle(运行命令前要先创建路径/u01/app/oracle)
3、系统参数调优
需要进行调整的网络参数及调整值:
Udp_sendspace:135168
Udp_recvspace:1024000
Tcp_sendspace:65536
Tcp_recvspace:65536
Sb_max:1310720
Rfc1323:1
Ipqmaxlen:512
更改网络参数命令,更改后重启系统
no -r -o ipqmaxlen=512
no -p -o rfc1323=1
no -p -o sb_max=1310720
no -p -o tcp_recvspace=65536
no -p -o tcp_sendspace=65536
no -p -o udp_recvspace=1024000
no -p -o udp_sendspace=135168
AIX 6L 中对aio已经采用动态形式,不需要配置,运行rootpre.sh警告aio的问题可以忽略
4、检查系统软件包
#lslpp -l
bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
rsct.basic.rte (For RAC configurations only)
rsct.compat.clients.rte (For RAC configurations only)
The August 2007 IBM C++ Runtime Environment Components for AIX (9.0.1)
xlC.aix61.rte:9.0.0.1
xlC.rte:9.0.0.1
如果是EMC存储,还要查看EMC.Symmetrix.aix.rte EMC.Symmetrix.fcp.rte
没有的app包通过如下命令安装
#smit installp
#smit languge //插入第一张系统盘,选择安装语言

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses strategies for handling large datasets in MySQL, including partitioning, sharding, indexing, and query optimization.

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]

The article discusses dropping tables in MySQL using the DROP TABLE statement, emphasizing precautions and risks. It highlights that the action is irreversible without backups, detailing recovery methods and potential production environment hazards.

The article discusses creating indexes on JSON columns in various databases like PostgreSQL, MySQL, and MongoDB to enhance query performance. It explains the syntax and benefits of indexing specific JSON paths, and lists supported database systems.

Article discusses using foreign keys to represent relationships in databases, focusing on best practices, data integrity, and common pitfalls to avoid.

Article discusses securing MySQL against SQL injection and brute-force attacks using prepared statements, input validation, and strong password policies.(159 characters)


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function
