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 –p 
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.
使用xmanagerxftp客户端,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下的b15660b15661文档


本文转自 pgmia 51CTO博客,原文链接:http://blog.51cto.com/heyiyi/127115
 
相关文章
|
9天前
|
缓存 Linux 测试技术
安装【银河麒麟V10】linux系统--并挂载镜像
安装【银河麒麟V10】linux系统--并挂载镜像
59 0
|
9天前
|
Linux C语言
linux yum安装ffmpeg 图文详解
linux yum安装ffmpeg 图文详解
28 0
|
9天前
|
NoSQL Linux Redis
linux 下和win下安装redis 并添加开机自启 图文详解
linux 下和win下安装redis 并添加开机自启 图文详解
15 0
|
10天前
|
Linux
linux yum 安装rar和unrar
linux yum 安装rar和unrar
35 0
|
21天前
|
Java Linux Maven
Linux中安装MAVEN环境配置
Linux中安装MAVEN环境配置
47 3
|
22天前
|
存储 负载均衡 索引
linux7安装elasticsearch-7.4.0集群配置
linux7安装elasticsearch-7.4.0集群配置
109 0
|
27天前
|
Linux 数据安全/隐私保护 虚拟化
Linux技术基础(1)——操作系统的安装
本文是龙蜥操作系统(Anolis OS) 8.4 的安装指南,用户可以从[龙蜥社区下载页面](https://openanolis.cn/download)获取ISO镜像。安装方法包括物理机的光驱和USB闪存方式,以及虚拟机中的VMware Workstation Pro设置。安装过程涉及选择语言、配置安装目标、选择软件集合和内核,设置Root密码及创建新用户。安装完成后,可通过文本模式或图形化界面验证系统版本,如Anolis OS 8.4,标志着安装成功。
|
30天前
|
边缘计算 Kubernetes Devops
KubeSphere平台安装系列之二【Linux单节点部署KubeSphere】(2/3)
KubeSphere平台安装系列之二【Linux单节点部署KubeSphere】(2/3)
35 3
|
22天前
|
消息中间件 Java Linux
Linux下RabbitMQ安装与使用
Linux下RabbitMQ安装与使用
32 1
|
30天前
|
边缘计算 Kubernetes Linux
KubeSphere平台安装系列之三【Linux多节点部署KubeSphere】(3/3)
KubeSphere平台安装系列之三【Linux多节点部署KubeSphere】(3/3)
27 1