- 安装参考的网页
https://blog.csdn.net/jc_benben/article/details/69911904
https://blog.csdn.net/u010417185/article/details/80258438
-
下载的依赖
root# apt-get install automake autotools-dev binutils bzip2 elfutils expat gawk gcc gcc-multilib g++-multilib lib32z1 ksh lesstif2-dev libaio1 libaio-dev libc6-dev libc6-dev-i386 libc6-i386 libelf-dev libltdl-dev libmrm4 libodbcinstq4-1 libpth-dev libpthread-stubs0-dev libstdc++-6-dev lsb make openssh-server rlwrap sysstat unixodbc unixodbc-dev unzip x11-utils zlibc // 安装依赖 apt-get install glibc* apt-get install gcc* apt-get install make* apt-get install compat-db* apt-get install libstdc* apt-get install libXp* apt-get install libXtst* apt-get install compat-libstdc++*
解压安装Oracle
./runInstaller -force -silent -ignoreSysPrereqs -noconfig -responseFile /opt/software/database/response/db_install.rsp
这是配置文件
链接:[url]https://pan.baidu.com/s/1EQJrAfbtQ5h1lRD830YL1A [/url]
提取码:an47
- 报错
oracle@ubuntu-server:/opt/software/database$
[WARNING] [INS-13001] Oracle Database is not supported on this operating system. Installer will not perform prerequisite checks on the system.
CAUSE: This operating system may not have been in the certified list at the time of the release of this software.
ACTION: Refer to My Oracle Support portal for the latest certification information for this operating system. Proceed with the installation if the operating system has been certified after the release of this software.
[WARNING] [INS-32016] The selected Oracle home contains directories or files.
ACTION: To start with an empty Oracle home, either remove its contents or choose another location.
You can find the log of this install session at:
/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-42AM.log
Error in invoking target 'client_sharedlib' of makefile '/opt/oracle/product/db/rdbms/lib/ins_rdbms.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'links proc gen_pcscfg procob' of makefile '/opt/oracle/product/db/precomp/lib/ins_precomp.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'idg4odbc' of makefile '/opt/oracle/product/db/rdbms/lib/ins_rdbms.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'itnsping' of makefile '/opt/oracle/product/db/network/lib/ins_net_client.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'install' of makefile '/opt/oracle/product/db/ctx/lib/ins_ctx.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'install' of makefile '/opt/oracle/product/db/plsql/lib/ins_plsql.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'all_no_orcl' of makefile '/opt/oracle/product/db/rdbms/lib/ins_rdbms.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'install' of makefile '/opt/oracle/product/db/network/lib/ins_net_client.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'install' of makefile '/opt/oracle/product/db/sqlplus/lib/ins_sqlplus.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'clientonlyinstall' of makefile '/opt/oracle/product/db/ldap/lib/ins_ldap.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'ioklist' of makefile '/opt/oracle/product/db/network/lib/ins_nau.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'install' of makefile '/opt/oracle/product/db/srvm/lib/ins_srvm.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'utilities' of makefile '/opt/oracle/product/db/rdbms/lib/ins_rdbms.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'iokdstry iokinit' of makefile '/opt/oracle/product/db/network/lib/ins_nau.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'install' of makefile '/opt/oracle/product/db/network/lib/ins_net_server.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'itrcroute' of makefile '/opt/oracle/product/db/network/lib/ins_net_client.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
Error in invoking target 'irman ioracle' of makefile '/opt/oracle/product/db/rdbms/lib/ins_rdbms.mk'. See '/opt/oracle/oraInventory/logs/installActions2018-11-14_10-09-05AM.log' for details.
The installation of Oracle Database 12c was successful.
Please check '/opt/oracle/oraInventory/logs/silentInstall2018-11-14_10-09-05AM.log' for more details.
As a root user, execute the following script(s):
1. /opt/oracle/oraInventory/orainstRoot.sh
2. /opt/oracle/product/db/root.sh
Successfully Setup Software.
[FATAL] File not found /opt/oracle/product/db/oui/bin/platform/linux64/attachHome.sh
怎么能成功静默安装Oracle并使用呢