1. 文章中写vi/etc/profile 

  #这个很重要 

  if [ $USER ="oracle" ]; then     if [ $SHELL="/bin/ksh" ]; then         ulimit -p 16384         ulimit -n 65536     else 

        ulimit -u 16384 -n 65536     fi fi

  修改后不能使用,切换用户时报错unary operator expected,查找到 http://blog.itpub.net/35489/viewspace-629706 ,尝试修改,但是仍然不可以使用。

  最后修改为如下内容,通过:

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
if [ "${-#*i}" != "$-" ]; then
. "$i"
else
. "$i" >/dev/null 2>&1
fi
fi
done

#######Start
if [ /$USER = "oracle" ] || [ /$USER = "grid" ]; then
if [ /$SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi

#######End

unset i
unset -f pathmunge

 

用以下语句也可以,可能是因为空格的问题
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

2.  中途报/u01/oracle/oradata 这个目录找不到,输入的密码oracle不验证

用oracle 用户安装。
chown -R oracle:oinstall /u01
chmod -R 775 /u01

 

3. 安装完成后,按 backspace 或 delete 键乱码处理

Linux中oracle 解决backspace和上下键使用出现乱码

SecureCRT的设置,在会话属性的Terminal->Emulation->Mapped Keys中,选中Backspace sends delete或Delete sends backspace中的任何一个,并确保另一个不被选中。

4. 这个包pdksh-5.2.14-36.el5.i386.rpm yum源上没有,需要手工装

不能忽略,忽略的话,到Oracle Net Configuration Assitant 这一步会报错。

INS  20802 oracle net configuration assistant failed

 

5. 打开1521端口,编辑/etc/sysconfig/iptables

-A INPUT -m state --state NEW -m tcp -p tcp --dport 1521 -j ACCEPT

运行 service iptables restart

 

安装遇到最多的问题是包安装冲突,可以使用oracle-rdbms-server-11gR2-preinstall RPM 方式自动安装。

posted on 2015-10-13 13:07  丢た壳の蜗牛  阅读(259)  评论(0编辑  收藏  举报