在没有 xming 的控制台模式下安装 weblogic

install weblogic on console mode without xming

我正在尝试在 Centos 7 上安装 weblogic 服务器,并遵循有关控制台模式的 oracle 说明。在我的计算机上提取 weblogic 文件之前,一切都会好起来的。我收到关于

的消息

display enviroment variable failed

我 google 它并找到 xming 作为解决方案。但是有没有不用xming安装weblogic的解决方案呢

您需要按照上述进行静默安装。您可以找到文档 here.

基本上,您需要两个文件:

  • 响应文件

在这里,您将设置一些参数,如ORACLE_HOME、代理信息(如果需要)和安装类型等

  • 一个oraInst.loc文件

在此文件中,您需要执行以下操作(来自文档):

Replace oui_inventory_directory with the full path to the directory where you want the installer to create the inventory directory. Then, replace oui_install_group with the name of the group whose members have write permissions to this directory.

完成所有这些后,您可以运行命令如下;

java -jar distribution_name.jar -silent -responseFile file [-options] [()*]

我上传了自己的 oraInst.loc 和响应文件 here 用于演示。不过,我强烈建议您阅读文档。祝你好运。