Linux As4 u4 oracle10R2 安装

Linux As4 u4 oracle10R2 安装
 
Linux As4 u4 oracle10R2 安装

1.
系统补丁安装

软件环境
数据库: 10201_database_linux32.zip
操作系统: linux as4 u4
工具软件: xmanager 企业版 3.0
系统安装包

desktops

x window system
gnome desktop environment
kde

applications

editors
engineering and scientific
graphical internet
text-based internet
office/productivity
graphics


servers

server configuration tools
web server
mail server
windows file server
dns name server
ftp server
postgresql database
mysql database
network servers
legacy network server

development

选择全部组件 ( 默认安装 )

系统工具

选择全部组件 ( 默认安装 )

(root user login)
Red Hat Enterprise Linux 3.0 and 4.0, and Asianux 1.0
and Asianux 2.0

make-3.79.1
gcc- 3.2.3 -34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128


compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1

补丁下载站点
[url]http://rpm.pbone.net/[/url]
2.user and group(root user login)

[root@oradb ora10install patch]# groupadd oinstall
[root@oradb ora10install patch]# groupadd dba
[root@oradb ora10install patch]# id oracle
id: oracle: No such user
[root@oradb ora10install patch]# useradd -g oinstall -G dba oracle
[root@oradb ora10install patch]# id oracle
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
[root@oradb ora10install patch]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

3. sysctl.conf(root user login)

[root@oradb ora10install patch]# vi /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
同步配置
/sbin/sysctl �Cp
4.limits.conf(root user login)

[root@oradb ora10install patch]# vi /etc/security/limits.conf

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

5.login file(root user login)

Add the following line to the /etc/pam.d/login file, if it
does not already exist:


# pam_selinux.so open should be the last session rule
session    required     pam_selinux.so open
session required /lib/security/pam_limits.so

6.profile file(root user login)

For the Bourne, Bash, or Korn shell, add the following
lines in the /etc/profile file (or the
/etc/profile.local file on SUSE systems):
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

7.dir(root user login)

[root@oradb pam.d]# mkdir -p /opt/app/oracle
[root@oradb pam.d]# chown -R oracle:oinstall /opt/app/oracle
[root@oradb pam.d]# chmod -R 755 /opt/app/oracle

8.oracle user eviroment(oracle user login)

[root@oradb opt]# su - oracle
[oracle@oradb ~]$ echo $SHELL
/bin/bash
[oracle@oradb ~]$ vi .bash_profile

# User specific environment and startup programs

export ORACLE_BASE=/opt/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/ 10.2.0 /db_1
export ORACLE_SID=ora10
export ORACLE_TERM=xterm
export PATH=$ORACLE_HOME/bin:$PATH:/usr/sbin:$HOME/bin
 
unset USERNAME
 
oracle 软件

1.
使用 xmanager xshell 客户端,用 oracle 用户登录。
如果用的是 X 模式,要把 DISPLAY 设置如下:
   DISPLAY=<machine-name>:0.0; export DISPLAY
2.
使用 xmanager xftp 客户端, root 用户把压缩文件传到 linux 服务器上
[root@oradb ~]# unzip 10201_database_linux32.zip
2.
使用 xmanager xstart 客户端进入 /database 目录 , 用如下命令开始安装:
   ./runInstaller
   3. 在安装过程中输入合适的 ORACLE_HOME 和实例名。详细过程就不说了,大家看着提示填写就好。完成后的画面中会有管理端入口地址和 sqlplus 入口地址。

  安装后配置
   1. 编辑 /etc/oratab 文件设置每个实例的重启标志为 “Y”
   TSH1:/u01/app/oracle/product/ 10.2.0 /db_1:Y


参考文档

1.
压缩包 10201_database_linux32.zip 中,目录 10201_database_linux32.zip\database\doc\install.102 下的 b15660 b15661 文档
 

你可能感兴趣的:(oracle,linux,休闲,as4,oracle10R2)