`
bayaci
  • 浏览: 266077 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

linux 5.3 安装NetWeaver 7.0(oracle10.2)配置

 
阅读更多

从官方文档上查到

Note 1048303 - Red Hat Enterprise Linux 5.x: Installation and upgrade



有几处提示:

1、
kernel.msgmni=1024
kernel.sem=1250 256000 100 1024
vm.max_map_count=300000
Activate these settings with the command "sysctl -p".



2、

/etc/security/limits.conf
@sapsys hard nofile 32800
@sapsys soft nofile 32800
@dba hard nofile 32800
@dba soft nofile 32800


3、

In this case, create or change /oracle/stage/102_64/database/install/oraparam.ini so that it contains these lines:

[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1. 0,asianux-1,asianux-2, redhat-5

实际安装的时候,需要注意的事情:

1、手工创建/oracle目录

[root@saptst02 patch] mkdir /oracle

[root@saptst02 patch] chmod 777 /oracle

不过在安装完成oracle之后,就有提示文执行两个文件


[root@saptst02 patch]# /oracle/oraInventory/orainstRoot.sh
Changing permissions of /oracle/oraInventory to 770.
Changing groupname of /oracle/oraInventory to dba.
The execution of the script is complete
[root@saptst02 patch]# /oracle/TS1/102_64/root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
ORACLE_OWNER= orats1
ORACLE_HOME= /oracle/TS1/102_64

Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...


Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.


2、jdk

我用了jdk-6u14-linux-x64-rpm.bin,没有用jdk1.4的版本,省事情

3、

/tmp/OraInstall2007-12-30_02-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..

需要安装

原因是:缺少支持打印的图形化动态链接库 libXp.so.6

rpm -ivh xorg-x11-deprecated-libs-6.9.0-1.112.16.14asp.i386.rpm

rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm

4、当数据库安装的时候,提示:


Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=32768 - 61000. Failed <<<<
Checking for rmem_default=262144; found rmem_default=126976. Failed <<<<
Checking for rmem_max=262144; found rmem_max=131071. Failed <<<<
Checking for wmem_default=262144; found wmem_default=126976. Failed <<<<
Checking for wmem_max=262144; found wmem_max=131071. Failed <<<<
Check complete. The overall result of this check is: Failed <<<<
Problem: The security parameters in the kernel do not meet the minimum requirements (see above).
Recommendation: Perform operating system specific instructions to update the kernel parameters, namely BIT_SIZE and noexec_user_stack.

需要在修改参数

[root@saptst02 patch]# find / -name ip_local_port_range
/proc/sys/net/ipv4/ip_local_port_range
[root@saptst02 patch]# cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000
[root@saptst02 patch]# echo "1024 65000" >/proc/sys/net/ipv4/ip_local_port_range
[root@saptst02 patch]# cat /proc/sys/net/ipv4/ip_local_port_range
1024 65000


[root@saptst02 patch]# vi /etc/sysctl.conf

#set oracle var
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144

这些操作之后,系统还能正常运行………………

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics