在安腾AI64 RHEL3 U3服务器上安装ORACLE10G

原创 2006年06月02日 15:29:00

最近有机会在安腾机上折腾,试验了一下ORACLE10安装

ORALCE 安装记录
# 解压
zcat 10201_database_linuxitanium.cpio.gz | cpio -idmv

# 检查必要的软件环境
rpm -q make gcc glibc compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel openmotif21 setarch libaio

# ORALCE官方文档解释:物理内存1-2G的话 SWAP需要是物理内存的1.5-2倍,超过2G SWAP可以与内存相等

需要4G的安装空间,和1.2G的数据存储空间

查看物理内存
grep MemTotal /proc/meminfo
MemTotal:     16530752 kB
查看SWAP空间
grep SwapTotal /proc/meminfo
SwapTotal:     8191968 kB
查看临时文件空间
df -k /tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             26742696   5639068  19745148  23% /
查看磁盘空间
df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             26742696   5639068  19745148  23% /
/dev/sda1               204580      7680    196900   4% /boot/efi
none                   8265376         0   8265376   0% /dev/shm
/dev/sdc1            516054864   1609484 488231320   1%


创建oralce用户和组
groupadd oinstall
groupadd dba
useradd -g oinstall -G dba oracle

登录oracle用户
# su – oracle
$ cd ~
$ vi .bash_profile
#---------ORACLE 10G CONFIG---------
export ORACLE_BASE=/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.1.0/asm
export ORACLE_SID=OraDB10g
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
# XManager client
export DISPLAY=202.117.11.110:0.0
#------------END--------------------
wq
source .bash_profile

# 创建目录,分配权限
mkdir /app
mkdir /app/oracle
mkdir /app/oracle/product
mkdir /app/oracle/product/10.1.0/
chown -R oracle.oinstall /app/oracle

mkdir /var/opt/oracle
chown oracle.dba /var/opt/oracle
chmod 755 /var/opt/oracle

修改内核参数
vi /etc/sysctl.conf
#----------- oracle 10g config --------------------------------------
kernel.shmall = 2097152
kernel.shmmax = 8589934592
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
#----------- oracle 10g config---------------------------------------
wq
/sbin/sysctl -p

su oracle

# 开始安装
./runInstaller

凡是有变动的参数在下面列出,其他参数使用默认值
Global Database Name:OraDB10g
Database Password:xjtuoracle
Inventory dir:/app/oracle/oraInventory
提示中选择使用推荐的目录

提示警告信息,主要是说swap空间不足,按照文档说明,swap应当至少于内存相等,我们忽略此警告
CChecking operating system requirements ...
Expected result: One of redhat-3,redhat-3,SuSE-9,asianux-1,asianux-2,redhat-4
Actual Result: redhat-Red Hat Enterprise Linux AS release 3 (Taroon Update 3)
Check complete. The overall result of this check is: Passed
=======================================================================

Checking operating system package requirements ...
Checking for make-3.79; found make-1:3.79.1-17. Passed
Checking for binutils-2.14; found binutils-2.14.90.0.4-35. Passed
Checking for gcc-3.2; found gcc-3.2.3-42. Passed
Checking for libaio-0.3.96; found libaio-0.3.96-3. Passed
Check complete. The overall result of this check is: Passed
=======================================================================

Checking kernel parameters
Checking for semmsl=250; found semmsl=250. Passed
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=100. Passed
Checking for semmni=128; found semmni=128. Passed
Checking for shmmax=536870912; found shmmax=8589934592. Passed
Checking for shmmni=4096; found shmmni=4096. Passed
Checking for shmall=2097152; found shmall=2097152. Passed
Checking for file-max=65536; found file-max=65536. Passed
Checking for VERSION=2.4.21; found VERSION=2.4.21-20.EL. Passed
Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000. Passed
Checking for rmem_default=262144; found rmem_default=1048576. Passed
Checking for rmem_max=262144; found rmem_max=1048576. Passed
Checking for wmem_default=262144; found wmem_default=262144. Passed
Checking for wmem_max=262144; found wmem_max=262144. Passed
Check complete. The overall result of this check is: Passed
=======================================================================

Checking Recommended glibc version
Expected result: ATLEAST=2.3.2-95.27
Actual Result: 2.3.2-95.27
Check complete. The overall result of this check is: Passed
=======================================================================

Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 16128MB
Check complete. The overall result of this check is: Passed
=======================================================================

Checking available swap space requirements ...
Expected result: 12096MB
Actual Result: 7999MB
Check complete. The overall result of this check is: Failed <<<<
Problem: The system does not have the required swap space.
Recommendation: Make more swap space available to perform the install.
=======================================================================

Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses.  However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly.  See the Installation Guide for more details on installing the software on systems configured with DHCP.
=======================================================================

Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed
=======================================================================

Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed
=======================================================================

Checking for proper system clean-up....
Check complete. The overall result of this check is: Passed
=======================================================================

Checking for Oracle Home incompatibilities ....
Actual Result: NEW_HOME
Check complete. The overall result of this check is: Passed
=======================================================================

 

安装完成显示日值在

根据提示用root执行校本
/app/oracle/oraInventory/orainstRoot.sh
/app/oracle/product/10.1.0/asm/root.sh
使用默认设置
安装完成

执行下列命令,来解决em的中文问题
cd $ORACLE_HOME/javavm/lib/ojvmfonts/
mv font.properties font.properties.bak
cp font.properties.zh_CN.Redhat2.1 font.properties
cd $ORACLE_HOME/jre/1.4.2/lib/
mv font.properties font.properties.bak
cp font.properties.zh_CN.Redhat2.1 font.properties
cd $ORACLE_HOME/jdk/jre/lib/
mv font.properties font.properties.bak
cp font.properties.zh_CN.Redhat2.1 font.properties

启动ORACLE 10G命令
emctl start dbconsole
isqlplusctl start
停止ORACLE 10G命令
emctl stop dbconsole
isqlplusctl stop

 

em图片cache目录
/app/oracle/product/10.1.0/asm/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache

 

OCP-Win8系统利用VMware10.0,RHEL6.3虚拟机安装Oracle10g-32位linux完整图文教程(3)

物理机:win8核心板    虚拟机:RHEL6.3     虚拟机版本:VMware10.0.0 OCP-VMware虚拟机安装Oracle10g-32 linux·图文(2)中完成了第二部分...

rhel x64环境下安装ORACLE10G文档整理,测试通过

一.RHEL5安装前须知   1.RHEL5不支持串口硬盘(SATA硬盘)。   2.为了能够顺畅的运行oracle10g,要求物理内存2G以上,swap>2G。/tmp设置1G以上。   3....

RHEL5 AS U2安装oracle10g

  • 2008年12月10日 12:12
  • 904KB
  • 下载

RHEL 5下ORACLE10的安装 (3)

硬件 cpu 3.0 内存2G 硬盘 160G 一:系统环境 (redhat 4)kernel 2.6.22 1.系统安装完全安装 分区: /boot 100m / 5000m /usr...

在suse linux 企业版11下安装ORACLE10g_1_0_3详细过程

SLES-11-SP1-DVD-i586-GM-DVD1 企业版 + 10g_linux_x86_db_10_1_0_3   在VM中安装SUSE LINUX,打开SUSE LINUX里的FTP ...

RHEL5.4上安装oracle10g

1. 准备工作:安装oracle内存最小512M 查看内存命令:grep Mem /proc/meninfo  交换分区:grep Swap /proc/meninfo   2.检查需要安装补丁要求...

RHEL5下安装oracle10g的完整过程

今天来介绍一下Red Hat Enterprise Linux AS 5.4安装Oracle 10g的全过程,图文并茂,详细讲解。   一、下载Oracle 10g 先详细说明一下我的环境,系统...
  • svod
  • svod
  • 2011年11月15日 10:08
  • 664

RHEL 6.4 安装 nginx+uWSGI+python+bottle +远程连接oracle10g

最近一个微信的后台需要,迁移服务器,之前

shell编程oracle10g安装在rhel6.4前的准备工作

OS:rhel6.4 oracle:10.2.0.1 因为oracle10g出来的时间较长,很多10g使用到的包已经更新到了新的版本,所以在安装过程中会出现许多奇怪的问题。 比如64为系统需要许多32...

RHEL 5 安装Oracle10g的一些总结

环境: Operating System: windows xp Virtual machine: VMware 5.5.3 Linux: RHEL 5 注:由于RHEL 5不是Oracle官...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:在安腾AI64 RHEL3 U3服务器上安装ORACLE10G
举报原因:
原因补充:

(最多只允许输入30个字)