#step 1:
 
groupadd  -g 2000 dba
useradd   -g 2000 -m -s /bin/bash -u 2000 grid
useradd   -g 2000 -m -s /bin/bash -u 2005 oracle
 
mkdir -p /u01/app/grid
mkdir -p /u01/app/oracle
 
chown grid:dba /u01/app/grid
chown oracle:dba /u01/app/oracle
chown root:dba /u01
chown root:dba /u01/app
 
chmod g+rwx /u01
chmod g+rwx /u01/app
 
 
#step 2:
 
apt-get install binutils
apt-get install build-essential
apt-get install sysstat
apt-get install libaio1 libaio-dev
#apt-get install rpm
#apt-get install libcap2
#apt-get install ssh
 
# must install libstdc++5 , gcc-4.4, by mannual !!!!!!!
dpkg -i libstdc++5_3.3.6-25ubuntu4_i386.deb
dpkg -i gcc-4.4-base_4.4.7-2ubuntu2_i386.deb
dpkg -i cpp-4.4_4.4.7-2ubuntu2_i386.deb
dpkg -i gcc-4.4_4.4.7-2ubuntu2_i386.deb
dpkg -i pdksh_5.2.14-26ubuntu1_i386.deb
 
 
 
#step 3:
 
ln -sf /bin/bash           /bin/sh
ln -sf /usr/bin/basename   /bin/basename
ln -sf /usr/bin/awk        /bin/awk
ln -sf /usr/bin/env        /bin/env
ln -sf /usr/bin/rpm        /bin/rpm
ln -sf /usr/bin/gcc-4.4    /usr/bin/gcc
 
ln -s /usr/lib/i386-linux-gnu/libstdc++.so.5         /usr/lib/libstdc++.so.5
ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6         /usr/lib/libstdc++.so.6
ln -s /usr/lib/i386-linux-gnu/libc_nonshared.a       /usr/lib/libc_nonshared.a
ln -s /usr/lib/i386-linux-gnu/libpthread_nonshared.a /usr/lib/libpthread_nonshared.a
 
ln -s /lib/i386-linux-gnu/libgcc_s.so.1 /lib/libgcc_s.so.1
ln -s /lib/i386-linux-gnu/libcap.so.2   /lib/libcap.so.1
 
 
 
#step 99 : the last-step;  when run then root.sh
 
# this step is not important
cat /etc/lsb-release >>/tmp/.linux_release
chmod a+rw /tmp/.linux_release
 
# important !!!!!!!
dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
chmod a+rw /var/tmp/.oracle/npohasd
 
 
#########################################################################################
INFO: /usr/bin/ld: warning: -z lazyload ignored.
/usr/bin/ld: warning: -z nolazyload ignored.
/usr/bin/ld: /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib//libnmectl.a(nmectlt.o): undefined reference to symbol 'B_DestroyKeyObject'
/usr/bin/ld: note: 'B_DestroyKeyObject' is defined in DSO /u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so so try adding it to the linker command line
/u01/app/oracle/product/11.2.0/dbhome_1/lib/libnnz11.so: could not read symbols: Invalid operation
collect2: ld returned 1 exi
INFO: t status
make[1]: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1
make: *** [emdctl] Error 2
 
INFO: make[1]: Leaving directory `/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib'
 
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2013-07-03_04-45-12PM.log' for details.
Exception Severity: 1
 
 
#########################################################################################
在Ubuntu下面会出现很多mk错误,
 
这个类似问题我遇到过:
 
vim 打开/opt/oracle/server/sysman/lib/env_emagent.mk 在文件中加入一行:EXPDLIBS=-lnnz11
 
 
 
#########################################################################################
Once the file exists, do:
vi $ORACLE_HOME/sysman/lib/ins_emagent.mk
Search for the line  
$(MK_EMAGENT_NMECTL)
Change it to:
$(MK_EMAGENT_NMECTL) -lnnz11  # good !!!!!!!!!!!!!!!!!!!!!! 第 176 行 !!!

Ubuntu 13.10 安装 Oracle11gR2的更多相关文章

  1. Ubuntu 13.10 安装 ia32-lib

    Ubuntu 13.10下面不参直接安装ia32-libs,直接安装的时候会提示下面的信息: output$ sudo apt-get install ia32-libs Reading packag ...

  2. Ubuntu 13.10 安装Qt5

    Qt5在Ubuntu的软件中心是找不到的,只能从Qt的官网下载安装. http://qt-project.org/downloads,选择完整的Linux版本(qt-linux-opensource- ...

  3. Ubuntu 13.10 安装 Unity 8 试用截图

    关于 Unity 8 有很多报道,Unity 8 相对于 Unity 7 变化相当大,这是 Ubuntu 团队打造的一款通用于 PC.手机.平板的桌面. Unity 8 已经登陆 ubuntu 13. ...

  4. [原] ubuntu 13.10 安装 winqq2013

    安装及下载地址:http://www.longene.org/forum/viewtopic.php?t=4700 ubuntu 13.10 64位系统安装后无法启动qq,因为缺少程序包.解决方案: ...

  5. 在 Ubuntu 13.10 安装 PyCharm 3.0.1 & Oracle JDK

    由于授权问题,在较新的Linux发行版本中都不再包含Oracle Java,取而代之的是OpenJDK.Ubuntu也是如此. OpenJDK能满足大部分的应用程序运行条件,但PyCharm无法在Op ...

  6. Ubuntu 13.10 安装 TeX Live 2013

    注:笔者也是刚刚接触TeX系统,水平有限,若有疏漏之处还望指正. 中文解决方案 对于LaTeX中文排版,比较方便有这样的几种解决方案:LaTeX+CJK / LaTeX+XeTeX / CTeX.其中 ...

  7. Ubuntu 13.10 安装Terminalx 后更改默认终端设置

    1.安装 terminalx, sudo apt-get install terminator 2.Ctrl+ Alt + t 试一下打开什么终端,我的默认启动的是Terminator;如果想换换默认 ...

  8. Ubuntu 13.10 安装软件失败后出现的问题——已安装 post-installation 脚本 返回了错误号 1

    安装Oracle-java7-installer失败后,再次重新安装后出现错误-- dpkg: error processing oracle-java7-installer (--configure ...

  9. Ubuntu 13.04 安装 Oracle11gR2

    #step 1: groupadd -g 2000 dbauseradd -g 2000 -m -s /bin/bash -u 2000 griduseradd -g 2000 -m -s /bin/ ...

随机推荐

  1. 32个最热CPLD-FPGA论坛

    1. OPENCORES.ORG这里提供非常多,非常好的PLD了内核,8051内核就可以在里面找到.进入后,选择project或者由http//www.opencores.org/browse.cgi ...

  2. man手册语法格式

    Linux命令很多,但对格式本身解读的文章几乎是空白,都在凭对格式的猜测来写命令,就此在网上搜集此类资料都很少而且很不全面,想找官方的,也没找到.根据自己的理解写一篇出来,希望对初学者有用.   一. ...

  3. codeforces 482B. Interesting Array【线段树区间更新】

    题目:codeforces 482B. Interesting Array 题意:给你一个值n和m中操作,每种操作就是三个数 l ,r,val. 就是区间l---r上的与的值为val,最后问你原来的数 ...

  4. jvisualvm工具使用

    VisualVM 是Netbeans的profile子项目,已在JDK6.0 update 7 中自带(java启动时不需要特定参数,监控工具在bin/jvisualvm.exe). https:// ...

  5. C#深入总结

    面向对象编程好处:提高软件可复用性.可扩展性.易维护性.灵活性第一章:理解.NET Framework与C# 1..NET框架由.NET Frmaework和CLR组成: 2.CLR(公共语言运行时) ...

  6. LeetCode: Maximal Rectangle 解题报告

    Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle contai ...

  7. POJ1579:Function Run Fun

    Description We all love recursion! Don't we? Consider a three-parameter recursive function w(a, b, c ...

  8. RTX——第14章 信号量

    以下内容转载自安富莱电子: http://forum.armfly.com/forum.php 本章节开始讲解 RTX 的另一个重要的任务间的同步和资源共享机制,信号量. 信号量有3种用途: 1) 表 ...

  9. php结合msf反弹内网shell

    感谢: perl6大佬分享的姿势. MSF: msf > use payload/php/bind_phpmsf exploit(handler) > set PAYLOAD payloa ...

  10. [转]C#读取Word指定页的内容

    /// <summary> /// Word按页读取内容 /// </summary> /// <param name="page">页数< ...