Oracle10.2.0.1ForCentOS6.0 installation document
Oracle 10.2.0.1 For CentOS 6.0 installation document
System Components
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
System space requirements
This is actually determined based on actual production needs.
General requirements
Memory at least 512 M swap partition at least 1G
Oracle software installation location 1.3 GB
Database installation location at least 1 GB
/Tmp should have MB of remaining space
If these directories belong to the root file system, the root must have 3G free space for installation (1.3 + 1 + 0.4)
All of the above are the minimum requirements. This is far from enough for later running to add data.
In addition, as the files generated by oracle itself become larger in the future, reserve sufficient space.
Check local space
[Root @ oracle10g install] # df-Th
File System Type capacity available in use % mount point
/Dev/sda2 ext4 39G 13G 25G 35%/
Tmpfs 499 M 260 K 499 M 1%/dev/shm
/Dev/sda1 ext4 194 M 39 M 146 M 21%/boot
[Root @ oracle10g install] # grep-E 'memtotal | swaptotal'/proc/meminfo
MemTotal: 1020472 kB
SwapTotal: 204792 kB
Installation environment
CentOS Linux release 6.9 (final) x86_64
Version Information: Oracle version
Oracle10.2.0.1.0
Supported system versions
Oracle10G only supports RHEL4
The basis is:
Unzip the oracle Installation Package and go to the database/install directory.
[Root @ oracle10g install] # grep ^ Linux oraparam. ini
Linux = RedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2
System Version of the Local Machine
View the system version of the Local Machine
[Root @ oracle10g ~] # Cat/etc/redhat-release
CentOS Linux release 6.0 (Final)
Change 6.0 to 4.0
Installation Package Oracle Installation Package
:
10201_database_linux_x86_64.cpio.g
Patch
P6810189_10204_Linux-x86-64.zip
Install the x86_64 package required by oracle
Attach disk image
Mount/dev/cdrom/media
Configure yum
Vi/etc/yum. repo/CentOS-Base.repo
[Packages]
Name = CentOS Packages
Baseurl = file: // media
Gpgcheck = 0
Installation Package
Yum install kernel-libstdc ++-33 elfutils-libelf-devel kernel gcc-c ++ glibc-common glibc-devel glibc-headers unixODBC-devel libaio libgcc libstdc ++-devel make numactl sysstat-y
Finally, the installation completion information is displayed:
Check which packages are not installed
[Root @ oracle11gr2 zhaoyj] # for I inbinutils compat-gcc-34 compat-libstdc ++-296 control-center \
>
10201_database_linux_x86_64.cpio.gz database. old/
> Gcc-c ++ glibc-common glibc-devel libaio libgcc \
>
10201_database_linux_x86_64.cpio.gz database. old/
> 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
The above bold font is not installed package
Need to be supplemented
I386 package
In addition, the system also needs to install i386 packages, which need to be downloaded on the website
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
Host Name and resolution address
[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
,