简体   繁体   English

如何使用VNC Viewer将Oracle 12c安装到不带X的数据库中?

[英]How to use VNC Viewer to installing Oracle 12c to a database without X?

I have installed Oracle Linux 6.8 server, and I must to install an Oracle 12c to it, without X. I should use VNC Viewer, witch I installed, and it's working. 我已经安装了Oracle Linux 6.8服务器,并且必须在不使用X的情况下向其安装Oracle 12c。我应该使用VNC Viewer,安装后才能正常工作。

My problem is, when I run ./runInstaller, its says:"Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set." 我的问题是,当我运行./runInstaller时,它说:“无法使用命令/ usr / bin / xdpyinfo执行自动检查显示颜色。检查是否设置了DISPLAY变量。”

How to solve this problem using VNC, and how to set DISPLAY variable (where is it, and how to set is correctly)? 如何使用VNC解决此问题,以及如何设置DISPLAY变量(它在哪里,以及如何正确设置)?

The DISPLAY variable is intended for the X server rather than VNC. DISPLAY变量用于X服务器而不是VNC。 This may resolve the issue for you. 这可以为您解决问题。

Install Cygwin if you are using a Windows machine at http://cygwin.com/ and configure it with the x server. 如果您在http://cygwin.com/上使用Windows计算机,请安装Cygwin并使用x服务器进行配置。 If you are on an OS X machine install Xquartz. 如果您在OS X机器上,请安装Xquartz。

Connect to the machine with ssh in the following manner. 按照以下方式用ssh连接到计算机。

ssh -X user@hostname ssh -X user @主机名

The -X option for ssh automatically sets the DISPLAY variable for you. ssh的-X选项自动为您设置DISPLAY变量。 When you run ./runinstaller it will display the installations screen on your local workstation if you have X configured correctly there. 如果您在本地工作站上正确配置了X,则在运行./runinstaller时,它将在本地工作站上显示安装屏幕。

Here's a blog article I wrote for OTN that contains more information and may be of assistance for you. 这是我为OTN写的博客文章,其中包含更多信息,可能会对您有所帮助。

https://blogs.oracle.com/OTNGarage/entry/more_tips_for_remote_access1 https://blogs.oracle.com/OTNGarage/entry/more_tips_for_remote_access1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM