教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 政务民生 >

OracleLinux-R5-U8-Server安装oracle10

来源:网络收集 时间:2026-01-30
导读: Oracle Linux 5.8 上安装 oracle10 Linux 操作系统下载 此处安装一个i386的 系统安装后需格外安装的软件包: 开始: 1 查看 Linux 内核参数, 确保高于 2.6.9 -5.0.5.EL 以上内核 [root@arphee ~]# uname -r 2.6.32-300.10.1.el5uek 2. 查看 CPU 、内存、 Swa

Oracle Linux 5.8 上安装 oracle10

Linux 操作系统下载

此处安装一个i386的

系统安装后需格外安装的软件包:

开始:

1 查看 Linux 内核参数, 确保高于 2.6.9 -5.0.5.EL 以上内核

[root@arphee ~]# uname -r

2.6.32-300.10.1.el5uek

2. 查看 CPU 、内存、 Swap 及磁盘可用空间。内存:至少 1GB ,Swap :一般为可用物理内存的 2 倍,比如设定为 2GB,/Temp 分区:至少 400MB,Oracle 安装目录所在的分区:至少 4GB

[root@arphee ~]# free -m

total used free shared buffers cached

Mem: 1885 585 1299 0 36 377 -/+ buffers/cache: 172 1713

Swap: 4031 0 4031

[root@arphee ~]# df -h

Oracle Linux 5.8 上安装 oracle10

Filesystem Size Used Avail Use% Mounted on

/dev/mapper/VolGroup00-LogVol00

55G 7.7G 44G 15% /

/dev/sda1 99M 30M 65M 32% /boot

tmpfs 943M 0 943M 0% /dev/shm

.host:/ 295G 24G 271G 8% /mnt/hgfs

3查看需安装的软件包是否安装完全,并安装必须的包

[root@arphee ~]# rpm -q binutils compat-db control-center gcc gcc-c++ glibc glibc-common gnome-libs libstdc++ libstdc++-devel make pdksh sysstat xscreensaver libaio openmotif binutils-2.17.50.0.6-20.el5

compat-db-4.2.52-5.1

control-center-2.16.0-16.el5

gcc-4.1.2-52.el5

gcc-c++-4.1.2-52.el5

glibc-2.5-81

glibc-common-2.5-81

package gnome-libs is not installed

libstdc++-4.1.2-52.el5

libstdc++-devel-4.1.2-52.el5

make-3.81-3.el5

pdksh-5.2.14-37.el5

sysstat-7.0.2-11.el5

xscreensaver-4.18-5.slc4.14

libaio-0.3.106-5

openmotif-2.3.1-6.el5

4主机及网络设置

[root@arphee ~]# cat /etc/sysconfig/network

NETWORKING=yes

NETWORKING_IPV6=no

HOSTNAME=http://doc.guandang.net

[root@arphee ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth0

BOOTPROTO=none

HWADDR=00:0C:29:03:36:23

ONBOOT=yes

DHCP_HOSTNAME=http://doc.guandang.net

IPADDR=192.168.1.107

NETMASK=255.255.255.0

Oracle Linux 5.8 上安装 oracle10

GATEWAY=192.168.1.1

TYPE=Ethernet

USERCTL=no

IPV6INIT=no

PEERDNS=yes

Oracle Linux 5.8 上安装 oracle10

Oracle Linux 5.8 上安装 oracle10

[root@arphee ~]# cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 http://doc.guandang.net arphee localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6

192.168.1.107 http://doc.guandang.net arphee

5 设置内核参数

在 sysctl.conf 文件末尾添加如下行

[root@arphee ~]# cat /etc/sysctl.conf

# add by huangfei 20130128 fou install oracle

kernel.shmall = 2097152

kernel.shmmax = 2147483648

kernel.shmmni = 4096

# semaphores: semmsl, semmns, semopm, semmni

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

运行下面的命令使设置生效:

[root@arphee ~]# /sbin/sysctl –p

在 limit.conf 文件末尾添加如下行

[root@arphee ~]# cat /etc/security/limits.conf

# add by huangfei 20130128 for oracle

* soft nproc 2047

* hard nproc 16384

* soft nofile 1024

* hard nofile 65536

在 login 文件末尾添加如下行

[root@arphee ~]# cat /etc/pam.d/login

# add by huangfei for oracle

session required pam_limits.so

Oracle Linux 5.8 上安装 oracle10

[root@arphee ~]# cat /etc/selinux/config

# This file controls the state of SELinux on the system.

# SELINUX= can take one of these three values:

# enforcing - SELinux security policy is enforced.

# permissive - SELinux prints warnings instead of enforcing.

# disabled - SELinux is fully disabled.

SELINUX=disabled

# SELINUXTYPE= type of policy in use. Possible values are:

# targeted - Only targeted network daemons are protected.

# strict - Full SELinux protection.

SELINUXTYPE=targeted

6创建帐户及安装目录

groupadd oinstall

groupadd dba

groupadd oper

useradd -g oinstall -G dba oracle

passwd oracle

id oracle

[root@arphee ~]# cat /etc/group

oinstall:x:502:

dba:x:503:oracle

[root@arphee ~]# id oracle

uid=501(oracle) gid=502(oinstall) groups=502(oinstall),503(dba)

7 创建Oracle安装目录

[root@arphee ~]# mkdir –p /uo1/oracle

[root@arphee ~]# chown -R oracle:oinstall /u01/oracle

[root@arphee ~]# chmod -R 775 /u01/oracle

8. 修改 linux 的版本号 或者 修改Oracle安装文件的发行标识

[root@arphee ~]# cat /etc/issue

Red Hat Enterprise Linux Server release 4.4 (Tikanga)

Kernel /r on an /m

Oracle Linux 5.8 上安装 oracle10

10 为 oracle 帐户创建环境变量

[root@arphee ~]# cat /home/oracle/.bash_profile

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

. ~/.bashrc

fi

# User specific environment and startup programs

export ORACLE_BASE=/home/u01/app/oracle;

export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1

export ORACLE_SID=arphee

PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib; e …… 此处隐藏:3919字,全部文档内容请下载后查看。喜欢就下载吧 ……

OracleLinux-R5-U8-Server安装oracle10.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/1446096.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)