CentOS 5.5 32bit 安装Oracle 10g(高级安装)
CentOS 5.5 32bit 安装Oracle 10g(高级安装)
一、安装Oracle 10g database 前系统环境准备
1、查看系统版本、内核版本、操作系统位数,内存及交换分区大小、文件系统空间、主机名、IP地址等。
[root@rac02 ~]# cat /etc/issue #系统版本
CentOS release 5.5 (Final)
Kernel \r on an \m
[root@rac02 ~]# uname -a #内核版本
Linux rac02 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:35 EDT 2010 i686 i686 i386 GNU/Linux
[root@rac02 ~]# getconf LONG_BIT #操作系统位数
32
[root@rac02 ~]# free -m #查看内存及交换分区大小,官方要求内存至少512M,建议1G以上;此处内存为1407M
total used free shared buffers cached
Mem: 1407 1335 72 0 114 1059
-/+ buffers/cache: 161 1246
Swap: 2815 0 2815 #交换分区大小,官方要求为内存的2倍
[root@rac02 ~]# df -hT /tmp # 查看/tmp分区空间,官方要求至少400M
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
ext3 17G 4.6G 12G 30% / #此处/tmp没有单独划分lv,空间足够,,并且安装oracle磁盘空间足够
[root@rac02 tmp]# hostname #主机名,主机名可通过修改/etc/hosts和/etc/sysconfig/network进行修改
rac02
[root@rac02 tmp]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 #IP地址配置
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
HWADDR=00:50:56:2c:87:0e
IPADDR=192.168.163.45
NETMASK=255.255.255.0
GATEWAY=192.168.163.1
DNS1=202.96.134.133
DNS2=8.8.8.8
2、关闭防火墙、禁用SELinux
[root@rac02 tmp]# service iptables stop
[root@rac02 tmp]# chkconfig iptables off #系统启动后不加载防火墙
[root@rac02 tmp]# grep -v "#" /etc/selinux/config #编辑config文件,禁用selinux
SELINUX=disabled
SELINUXTYPE=targeted
3、确认以下包全部安装
[root@rac02 /]# rpm -q gcc make binutils openmotif setarch compat-db libXp
gcc-4.1.2-51.el5
make-3.81-3.el5
binutils-2.17.50.0.6-14.el5
openmotif-2.3.1-5.el5_5.1
setarch-2.0-1.1
compat-db-4.2.52-5.1
package compat-gcc is not installed
package compat-gcc-c++ is not installed
package compat-libstdc++-devel is not installed
libXp-1.0.0-8.1.el5
[root@rac02 /]# rpm -qa |grep compat-gcc
compat-gcc-34-3.4.6-4.1
compat-gcc-34-c++-3.4.6-4.1
compat-gcc-34-g77-3.4.6-4.1
[root@rac02 /]# rpm -qa |grep compat-libstdc
compat-libstdc++-33-3.2.3-61
compat-libstdc++-296-2.96-138
备注:其实也不必在这个地方耗费太多时间,若有相关包未安装时,在安装oracle前环境检测会有提示,只要根据提示安装好相关包即可。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]
