环境信息参考服务端的安装文档(安装包,创建用户和组,文件目录)
[root@redhat76 0813]# cat client/response/client_install.rsp|grep -v "#"
静默安装修改相应文件下面的几个值即可(目录要存在)
oracle.install.responseFileVersion=/oracle/install/rspfmt_clientinstall_response_schema_v19.0.0
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
ORACLE_HOME=/u01/app/oracle/client
ORACLE_BASE=/u01/app/oracle
oracle.install.client.installType=Administrator
oracle.install.client.customComponents=
oracle.install.client.schedulerAgentHostName=
oracle.install.client.schedulerAgentPortNumber=
[root@redhat76 0813]#
安装命令如下:
[oracle@redhat76 client]$ ./runInstaller -silent -responseFile `pwd`/response/client_install.rsp -ignoreSysPrereqs -ignoreInternalDriverError
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 415 MB. Actual 592 MB Passed
Checking swap space: must be greater than 150 MB. Actual 819 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2024-08-13_05-36-09PM. Please wait ...[oracle@redhat76 client]$ [WARNING] [INS-13014] Target environment does not meet some optional requirements.
CAUSE: Some of the optional prerequisites are not met. See logs for details. /u01/app/oraInventory/logs/installActions2024-08-13_05-36-09PM.log
ACTION: Identify the list of failed prerequisite checks from the log: /u01/app/oraInventory/logs/installActions2024-08-13_05-36-09PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.
[oracle@redhat76 client]$ The response file for this session can be found at:
/u01/app/oracle/client/install/response/client_2024-08-13_05-36-09PM.rsp
[oracle@redhat76 client]$ You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2024-08-13_05-36-09PM.log
The installation of Oracle Client 19c was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2024-08-13_05-36-09PM.log' for more details.
Successfully Setup Software with warning(s).