Home > Database > Mysql Tutorial > Oracle Enterprise Linux 5.6安装Oracle 10g数据库

Oracle Enterprise Linux 5.6安装Oracle 10g数据库

WBOY
Release: 2016-06-07 17:19:41
Original
985 people have browsed it

操作系统:Oracle Enterprise Linux 5.6虚拟机版本:VMware 8.0虚拟机硬件配置:processes 1,ram 1G,磁盘类型 SICS,磁盘大小3

一、环境准备
1、实验环境
操作系统:Oracle Enterprise Linux 5.6
虚拟机版本:VMware 8.0
虚拟机硬件配置:processes 1,,ram 1G,磁盘类型 SICS,磁盘大小30G,网卡类型 NAT
初始化系统时,需关闭防火墙,关闭安全策略,不建立任何新用户
 
更改操作系统ip为静态ip
[root@oel10g ~]# system-config-network
调用图形化界面并且将eth0网卡ip改写为静态
 
[root@oel10g ~]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=oel10g
更改hostname为oel10g
 
编辑/etc/hosts文件
[root@oel10g ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.61.131  oel10g.localdomain eol10g ······添加的内容

二、安装数据库软件
1、检测硬件环境
Oracle 10g数据库软件需要我们的操作系统至少有512M内存,1.5G的交换分区,最小的TMP空间有115M
[root@oel10g ~]# grep MemTotal /proc/meminfo
MemTotal:      1034644 kB
查看操作系统内存大小
 
[root@oel10g ~]# grep SwapTotal /proc/meminfo
SwapTotal:     2097144 kB
查看交换分区大小
 
[root@oel10g ~]# df -k /tmp
Filesystem                                             1K-blocks           Used     Available     Use%    Mounted on
/dev/mapper/VolGroup00-LogVol00   28313732       3578252  23274028  14%          /
查看/tmp大小
 
[root@oel10g ~]# df -k
Filesystem                                                1K-blocks      Used       Available   Use%  Mounted on
/dev/mapper/VolGroup00-LogVol0       28313732   3578252  23274028  14%          /
/dev/sda1                                                  101086        12871       82996          14%          /boot
tmpfs                                                         517320          0               517320         0%           /dev/shm
使用df –k 指令查看磁盘剩余空间 【Linux公社 】
 
[root@oel10g ~]# grep "model name" /proc/cpuinfo
model name      : Intel(R) Core(TM) i3 CPU       M 380  @ 2.53GHz
查看cpu参数
 2、操作系统环境检测
[root@oel10g ~]# cat /etc/issue
Oracle Linux Server release 5.6
Kernel \r on an \m
查看操作系统版本信息
[root@oel10g ~]#  uname -r
2.6.18-238.el5
查看操作系统的内核版本
通过查看版本信息,可以了解到,OEL5.6版本需要如下版本的rpm包
 
Red Hat Enterprise Linux 4.0 and Asianux 2.0:
binutils-2.15.92.0.2-13.EL4
compat-db-4.1.25-9
 compat-libstdc++-296-2.96-132.7.2
control-center-2.8.0-12
gcc-3.4.3-22.1.EL4
gcc-c++-3.4.3-22.1.EL44
glibc-2.3.4-2.9
 glibc-common-2.3.4-2.9
gnome-libs-1.4.1.2.90-44.1
 libstdc++-3.4.3-22.1
libstdc++-devel-3.4.3-22.1
make-3.80-5
pdksh-5.2.14-30
 sysstat-5.0.5-1
 xscreensaver-4.18-5.rhel4.2
 setarch-1.6-1 

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template