GNOME Desktop Environment
Editors
Graphical Internet
Text-based Internet
Development Libraries
Development Tools
Legacy Software Development
Server Configuration Tools
Administration Tools
Base
Legacy Software Support
System Tools
X Window System
这个实际上是根据实际生产需求来定的
内存至少512M 交换分区至少1G
oracle软件安装位置1.3G
数据库安装位置至少1G
/tmp要有足够400M的剩余
如果这些目录都是隶属于根文件系统 那根需要有3G空闲才能安装(1.3+1+0.4)
上述都属于最小要求 这是远远不够后期运行添加数据使用的.
并且随着后期运行oracle自身产生的文件会逐渐增大 请保留足够的空间需求
[root@oracle10g install]# df -Th
文件系统 类型 容量 已用 可用 已用%% 挂载点
/dev/sda2 ext4 39G 13G 25G 35% /
tmpfs tmpfs 499M 260K 499M 1% /dev/shm
/dev/sda1 ext4 194M 39M 146M 21% /boot
[root@oracle10g install]# grep -E 'MemTotal|SwapTotal' /proc/meminfo
MemTotal: 1020472 kB
SwapTotal: 204792 kB
虚拟机CentOS Linux release 6.9(final) x86_64
Oracle10.2.0.1.0
oracle10G的版本只支持到RHEL4
依据就是:
解压oracle安装包以后在database/install目录下
[root@oracle10g install]# grep ^Linux oraparam.ini
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2
查看本机的系统版本信息
[root@oracle10g ~]# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)
将6.0改为4.0
下载地址:www.oracle.com
10201_database_linux_x86_64.cpio.g
补丁
p6810189_10204_Linux-x86-64.zip
挂载磁盘镜像
mount /dev/cdrom /media
配置yum
vi /etc/yum.repo/CentOS-Base.repo
[Packages]
name=CentOS Packages
Baseurl=file:///media
gpgcheck=0
安装包
yum install binutilscompat-libstdc++-33 elfutils-libelf elfutils-libelf-devel unixODBCgcc gcc-c++ glibc glibc-common glibc-devel glibc-headers unixODBC-devel libaio-devel libaio libgcc libstdc++ libstdc++-devel make numactl sysstat -y
最后显示安装完成信息:
检查哪些包没有安装
[root@oracle11gr2 zhaoyj]# for i inbinutils compat-gcc-34 compat-libstdc++-296 control-center \
>
10201_database_linux_x86_64.cpio.gz database.old/
> gcc gcc-c++ glibc glibc-common glibc-devel libaio libgcc \
>
10201_database_linux_x86_64.cpio.gz database.old/
> libstdc++ libstdc++-devel libXp make openmotif22 setarch
> do
> rpm -q $i &>/dev/null ||F="$F $i"
> done ;echo $F;unset F
compat-gcc-34compat-libstdc++-296 libXp openmotif22 setarch
上述加粗的字体是没有安装的包
需要补充上
另外系统还需要安装i386的包,这些包需要到http://rpm.pbone.net网站上去下载
libXp-1.0.0-8.1.el5.i386.rpm libXp-devel-1.0.0-8.1.el5.i386.rpm
libXt-1.0.2-3.2.el5.i386.rpm libXt-devel-1.0.2-3.2.el5.i386.rpm
libICE-1.0.6-1.el6.i686.rpm libICE-devel-1.0.6-1.el6.i686.rpm
libSM-1.1.0-7.1.el6.i686.rpm libSM-devel-1.1.0-7.1.el6.i686.rpm
libuuid-2.17.2-6.el6.i686.rpm libuuid-devel-2.17.2-6.el6.i686.rpm
libXi-1.3-3.el6.i686.rpm libXi-devel-1.3-3.el6.i686.rpm
libXtst-1.0.1-3.1.i386.rpm libXtst-devel-1.0.1-3.1.i386.rpm
[root@oracle10g zhaoyj]# hostname
oracle10g
[root@oracle10g zhaoyj]# ifconfig eth0|head-2
eth0 Link encap:Ethernet HWaddr00:0C:29:84:AB:79
inet addr:********** Bcast:*************** Mask:255.255.255.0
[root@oracle10g zhaoyj]# grep -v '^#'/etc/hosts
************** oracle10g # Addedby NetworkManager
127.0.0.1 localhost.localdomain localhost