centos6.6安装weblogic12c注意问题
admin
2023-05-11 21:22:22
0

环境,由于我的centos6.6没有安装图形界面,所以安装的时候报错

[weblogic@localhost ~]$ java -jar wls_121200.jar 

Extracting files..........

Starting Oracle Universal Installer


Checking if CPU speed is above 300 MHz.   Actual 2100.000 MHz    Passed

Checking monitor: must be configured to display at least 256 colors.  DISPLAY environment variable not set.    Failed <<<<

Checking swap space: must be greater than 512 MB.   Actual 33554428 MB    Passed

Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)

Checking temp space: must be greater than 300 MB.   Actual 245056 MB    Passed


Some requirement checks failed.

You must fulfill these requirements before continuing with the installation.


Continue? (y/n) [n] 

y

You have confirmed that the product can be installed on this platform.

Continuing with the install.


>>> Ignoring required prerequisite failures.  Continuing...

Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2014-12-05_03-25-45PM

DISPLAY is not set.  Please set the DISPLAY environment variable and try again.

Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:

- For csh:   %% setenv DISPLAY 192.168.1.128:0.0

- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY

Use the following command to see what shell is being used:

echo $SHELL

Use the following command to view the current DISPLAY environment variable setting:

echo $DISPLAY

- Make sure that client users are authorized to connect to the X Server.

To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:

%% xhost +

To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':

%%

If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.

Typical path for xclock: /usr/X11R6/bin/xclock

java.awt.HeadlessException: 

No X11 DISPLAY variable was set, but this program performed an operation which requires it.

at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)

at java.awt.Window.(Window.java:433)

at java.awt.Frame.(Frame.java:403)

at java.awt.Frame.(Frame.java:368)

at javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1733)

at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1810)

at javax.swing.JDialog.(JDialog.java:253)

at javax.swing.JDialog.(JDialog.java:187)

at javax.swing.JDialog.(JDialog.java:135)

at oracle.as.install.engine.modules.presentation.ui.common.dialogs.SpecifyInventoryDirectoryDialog.(SpecifyInventoryDirectoryDialog.java:237)

at oracle.as.install.engine.modules.presentation.ui.common.dialogs.SpecifyInventoryDirectoryDialog.showDialog(SpecifyInventoryDirectoryDialog.java:763)

at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:584)

解决方法:在远程使用xshell的PC机上安装xmanager,注册后就可使用。然后执行命令export DISPLAY=PC机ip:0.0,然后再执行安装命令java -jar wls_121200.jar


相关内容

热门资讯

储殷:“建设性稳定关系”涵盖了... 特朗普率高规格代表团访华,中方也是高规格接待。中美今天的互动总体呈现出什么特点?这次元首外交又将如何...
中科信息称目前没有研发具身机器... 瑞财经 严明会 5月13日,中科信息在路演活动中表示,公司目前没有研发具身机器人,现有机器人主要面向...
按下物理AI加速键!香港成全球... 近日,首届香港具身智能产业峰会暨智元APC2026(香港)召开,标志着具身智能从技术炫技正式转向生产...
内塔尼亚胡称将对《纽约时报》提... 新华社耶路撒冷5月14日电(记者庞昕熠 冯国芮)以色列总理办公室14日发表声明称,由于美国《纽约时报...
黄仁勋最后一刻从“局外人”变“... 黄仁勋在最后一刻登上飞往北京的总统专机,从原本的“局外人”瞬间变成“座上宾”。这段场景的背后到底有哪...
俄国防部称大规模打击乌军工企业 新华社莫斯科/基辅5月14日电 俄罗斯国防部14日在社交媒体上发布通报说,过去一天,俄军对乌克兰军工...
国际最强!“九章四号”研制成功... 记者 吴长锋 记者13日从中国科学技术大学获悉,该校潘建伟、陆朝阳、张强、刘乃乐等学者联合国内研究单...
在“影视泥土”里激活学生“工程... 在“影视文化名城”的金华东阳,生成式人工智能正深刻重塑影视内容生产方式。扎根于横店影视文化产业生态圈...
实拍马斯克与小儿子X出现在人民... 5月14日,凤凰卫视记者在人民大会堂采访到特斯拉创始人马斯克。
vivo手机用户注意啦!你们的... vivo手机用户注意啦!你们的系统要来一波实用更新了!这次OriginOS 6的五月升级,最给力的就...