求一RedHat AS5 下 oracle10g安装文档,越详细越好,装了一天了,总是出问题,都快崩溃了,大虾们帮帮忙!
解决方案 »
- CREATE OR REPLACE VIEW YOSANN_HZ 速度特别慢
- 求高手解决一个关于oracle和java的问题
- 请教ORACLE字符串相加触发器的问题
- 【急救】ORACLE 数据库重新建库后出错!!
- 怎么在定义变量的过程中初始化值?例如 M_Project_Module_Group RIGHT_SETTING;
- 【求助】多个or条件的查询
- erwin导出sql脚本时的表命名规则怎么改
- 请教:如何将一Oracle数据库中某用户下数据导入到另一Oracle数据库中?
- 不使用游标在oracle9i中得到一个结果集
- ORA-01113、ORA-01110经典问题
- 关于索引和唯一约束的问题
- rman备份表空间的问题
http://www.inthirties.com/?p=50
1>默认安装redhat5
2>.添加如下几个程序包
glibc-headers-2.5-12.i386.rpm
glibc-devel-2.5-12.i386.rpm
compat-gcc-34-3.4.6-4.i386.rpm
compat-gcc-34-c++-3.4.6-4.i386.rpm
libgomp-4.1.1-52.el5.i386.rpm
gcc-4.1.1-52.el5.i386.rpm
compat-libstdc++-33-3.2.3-61.i386.rpm
libXp-1.0.0-8.i386.rpm
--------------------------------------------------------------------------------
3>编写内核参数kernel.shmall = 2097152
kernel.shmmax = 2147483648
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 = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
做法:进入 /etc/sysctl.conf ,添加上面的内容
/sbin/sysctl -p[root@cc Server]# more /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.# Controls IP packet forwarding
net.ipv4.ip_forward = 0# Controls source route verification
net.ipv4.conf.default.rp_filter = 1# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536# Controls the maximum shared segment size, in bytes
kernel.shmmax = 4294967295# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 268435456
# added by cx
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 = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 2621444>建立oracle用户,dba组
groupadd dba
useradd -G dba oracle
passwd oracle
5>设置oracle用户的环境变量
[root@rac1 ~]# su - oracle
[root@cc Server]# su - oracle
[oracle@cc ~]$ vi .bash_profile
# .bash_profile# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi# User specific environment and startup programsPATH=$PATH:$HOME/bin
ORACLE_BASE=/oracle ; export ORACLE_BASEexport PATH
6>安装oracleoracle@cc ~]$
[oracle@cc ~]$ ls
10201_database_linux32.zip database
[oracle@cc ~]$ cd database/
[oracle@cc database]$ ls
doc install response runInstaller stage welcome.html
[oracle@cc database]$ export LANT=US
[oracle@cc database]$ ./runInstaller
正在启动 Oracle Universal Installer...正在检查安装程序要求...检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
通过
所有安装程序要求均已满足。准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2008-08-04_09-29-27PM. 请稍候...[oracle@cc database]$ Xlib: connection to ":0.0" refused by server
Xlib: No protocol specifiedException in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)[oracle@cc database]$ xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specifiedxhost: unable to open display ":0.0"
[oracle@cc database]$ ./runInstaller
正在启动 Oracle Universal Installer...正在检查安装程序要求...检查操作系统版本: 必须是redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
通过
所有安装程序要求均已满足。准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2008-08-04_09-30-00PM. 请稍候...[oracle@cc database]$ Warning: Cannot convert string "-isas-song ti-medium-r-normal--*-140-*-*-c-*-gb2312.1980-0" to type FontStruct[oracle@cc database]$ export LANG=US
[oracle@cc database]$ ./runInstaller
Starting Oracle Universal Installer...Checking installer requirements...Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-08-04_09-30-25PM. Please wait ...[oracle@cc database]$ Starting Installer in advanced mode ...
Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.