免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1395 | 回复: 0
打印 上一主题 下一主题

在rh8上装了oracle 10G ,用NFS成功建库到NetApp3050C上. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-10 17:06 |只看该作者 |倒序浏览
1.
as root:
vi etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 2147483648(随LINUX版本不同而不同)
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
end vi
/sbin/sysctl -p
2.
the list package must be installed before install oracle.
make-3.79
binutils-2.11
openmotif-2.2.2-16
setarch-1.3-1
compat-db-4.0.14.5
compat-gcc-7.3-2.96.122
compat-gcc-c++-7.3-2.96.122
compat-libstdc++-7.3-2.96.122
compat-libstdc++-devel-7.3-2.96.122
3.
create user and group
groupadd dba
useradd -g dba  oracle
passwd oracle
create director of install oracle
mkdir -p /opt/oracle/product/10.1
chown -R oracle.dba /opt/oracle
4.
set oracle env variable
as oracle:
vi .bash_profile
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=/opt/oracle/product/10.1/
export ORACLE_SID=oratest
export NLS_LANG=AMERICAN
LD_LIBRARY_PATH=$ORACLE_HOME/jdk/fre/lib/i386:
$ORACLE_HOME/jdk/jre/lib/i386/server:
$ORACLE_HOME/rdbms/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export PATH=$ORACLE_HOME/bin:$PATH
end vi .bash_profile /sbin/source .bash_profile   ----update the .bash_profile 5.Install oracle Export DISPLAY=192.168.0.2:0.0   or   xhost + 192.168.0.2Sh /oracledir/runInstaller –ignoreSysPrereqs Setup over!Run command When oracle install oksu - oracle -c 'lsnrctl start'su - oracle -c 'dbstart'su - oracle -c 'emctl start dbconsole'su - oracle -c 'isqlplusctl start' sqlplus /nologconnect sys@oratest as sysdba over!
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/11438/showart_83454.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP