ubuntu10.04 安装oracle server 版 笔记

1:从oracle 官网下载oracle 10g ,然后解压出一个database文件夹。
2 :创建RedHat的版本声明文件[默认ubuntu无法通过oracle 的检查]
在/etc/redhat-release中添加以下语句,以使安装程序认为正在一个RedHat的系统上安装:
Red Hat Linux release 3.1 (drupal)
3: 安装oracle10g时报:Error in invoking target 'all_no_orcl ihsodbc' of makefile...
ubuntu oracle, error in invoking target all_no_orcl ihsodbc
无法通过 sudo apt-get install libstdc++5安装
gcc-3.3-base_3.3.6-15ubuntu6_i386 ==》cpp-3.3_3.3.6-15ubuntu6_i386 ==》gcc-3.3_3.3.6-15ubuntu6_i386 ==》
libstdc++5_3.3.6-15ubuntu6_i386

参考网站地址:http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/

4:按提示安装即可。
如有安装会有乱码,清使用eng环境
export LC_CTYPE=en_US.UTF-8

5:安装完后,提示
/u01/app/oracle/orainventory/orainstRoot.sh
/u01/app/oracle/product/10.2.0/root.sh
没有执行成功,需要 need root 权限。
主要是/etc/oratab没有创建成功!

使用root权限,找到并执行./root.sh

原文地址:https://www.cnblogs.com/jerrychen/p/4725191.html