SAPECC6安装指南 - VM + LINUX + SAPECC6 + ORACLE 联系客服

发布时间 : 星期六 文章SAPECC6安装指南 - VM + LINUX + SAPECC6 + ORACLE更新完毕开始阅读

(如果Xmanager输入完用户名密码后,弹出一堆error诸如\在为gnome-session装入或保存配置信息时发生错误\的窗口——解决办法,清掉/tmp下的所有,然后重启机器等连接上后再登录)

禁用防火墙和Selinux

?

禁用防火墙

service iptables status chkconfig iptables off chkconfig --list iptables ?

禁用SELINUX

vi /etc/sysconfig/selinux SELINUX=disabled #查看状态 getenforce 系统参数设置

查看当前内核参数设置情况: Parameter semmsl, semmns, semopm, and Command # /sbin/sysctl -a | grep sem Parameter semmni Command This command displays the value of the semaphore parameters in the listed. shmall, shmmax, and shmmni file-max ip_local_port_range rmem_default rmem_max wmem_default wmem_max # /sbin/sysctl -a | grep shm # /sbin/sysctl -a | grep file-max # /sbin/sysctl -a | grep ip_local_port_range # /sbin/sysctl -a | grep rmem_default # /sbin/sysctl -a | grep rmem_max # /sbin/sysctl -a | grep wmem_default # /sbin/sysctl -a | grep wmem_max Edit the /etc/sysctl.conf and add following lines:

fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 536870912 kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048586

Note: You need to execute \

Edit the /etc/pam.d/login file and add following line:

session required pam_limits.so

Edit the /etc/security/limits.conf file and add following lines:

oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536

创建Oracle目录

# mkdir –p/opt/oracle/112

# chown -vR oracle:oinstall /opt/oracle

# chmod -vR 777 /opt/oracle

设置Oracle环境变量

vi /home/oracle/.profile

ORACLE_BASE=/opt/oracle ORACLE_HOME=$ORACLE_BASE/112 ORACLE_SID=ECC

NLS_LANG=AMERICAN_AMERICA.UTF8

#LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32 PATH=$PATH:$ORACLE_HOME/bin

#export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH export ORACLE_BASE ORACLE_HOME ORACLE_SIDPATH

Save the .bash_profile and execute following commands for load new enviroment:

cd /home/oracle ./.profile

检查系统包是否完整安装

输入以下命令: rpm

-qa

--qf

'%{name}-%{version}-%{release}.%{arch}\\n'|egrep

'binutils|compat|glibc|gcc|libstd|cpp|make|ODBC|libaio|ksh|motif|libelf|sysstat'| egrep -v 'avahi|cdrkit|ldap|ssl'|sort

输出结果与下面进行对比:

Required packages for SLES 10 64bit (x86_64) architecture:

binutils-2.16.91.0.5-23.20.x86_64 compat-libstdc++-5.0.7-22.2.x86_64 cpp-4.1.2_20070115-0.11.x86_64 gcc-4.1.2_20070115-0.11.x86_64 gcc-c++-4.1.2_20070115-0.11.x86_64 glibc-2.4-31.30.x86_64 glibc-32bit-2.4-31.30.x86_64 glibc-devel-2.4-31.30.x86_64 glibc-devel-32bit-2.4-31.30.x86_64 glibc-i18ndata-2.4-31.30.x86_64 glibc-info-2.4-31.30.x86_64 glibc-locale-2.4-31.30.x86_64 glibc-locale-32bit-2.4-31.30.x86_64 ksh-93r-12.28.x86_64 libaio-0.3.104-14.2.x86_64

libaio-32bit-0.3.104-14.2.x86_64 libaio-devel-0.3.104-14.2.x86_64 libaio-devel-32bit-0.3.104-14.2.x86_64 libelf-0.8.5-47.2.x86_64

libgcc-4.1.2_20070115-0.11.x86_64 libstdc++-4.1.2_20070115-0.11.x86_64 libstdc++-devel-4.1.2_20070115-0.11.x86_64 make-3.80-202.2.x86_64

openmotif-libs-2.2.4-21.12.x86_64 sysstat-6.0.2-16.19.x86_64

unixODBC-32bit-2.2.11-21.4.x86_64