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_i386c++
参考网站地址:http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-3.3/ubuntu
4:按提示安装便可。
若有安装会有乱码,清使用eng环境
export LC_CTYPE=en_US.UTF-8oracle
5:安装完后,提示
/u01/app/oracle/orainventory/orainstRoot.sh
/u01/app/oracle/product/10.2.0/root.sh
没有执行成功,须要 need root 权限。
主要是/etc/oratab没有建立成功!app
使用root权限,找到并执行./root.sh网站