在Linux上安装Sybase ASE

时间:2016-12-13 00:20:39

标签: linux install sybase-ase

ALL,

我试图在我的Gentoo Linux机器上安装Sybase ASE Developer Edition。

我下载了最新版本的ASE(16.02),解压缩并尝试运行GUI安装程序。结果如下:

IgorReinCloud ASE_Suite # ./setup.bin  Preparing to install...
Extracting the JRE from the installer archive... Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

No protocol specified

Graphical installers are not supported by the VM. The console mode
will be used instead...

===============================================================================
SAP Adaptive Server Enterprise                   (created with
InstallAnywhere)
-------------------------------------------------------------------------------

Preparing CONSOLE Mode Installation...

===============================================================================
Introduction
------------

InstallAnywhere will guide you through the installation of SAP
Adaptive Server  Enterprise 16.0 SP02 PL02.

It is strongly recommended that you quit all programs before
continuing with  this installation.

Respond to each prompt to proceed to the next step in the
installation.  If you want to change something on a previous step,
type 'back'.

You may cancel this installation at any time by typing 'quit'.

PRESS <ENTER> TO CONTINUE: quit

由于我正在运行X + GNOME 3,我感到很惊讶。所以我试着检查安装日志文件。以下是摘录:

====================STDERR ENTRIES==================

GUI mode is not supported : Can't connect to X11 window server using ':0' as the value of the DISPLAY variable; you may consider checking your DISPLAY environment variable.
__________________________________________________________________________

所以,接下来我检查了DISPLAY变量:

IgorReinCloud log # set | grep -i display
DISPLAY=:0

我错过了什么? DISPLAY变量应包含什么值才能使安装成功?我的笔记本电脑只有一个显示器/显示器(没有附加第二个)。

谢谢。

2 个答案:

答案 0 :(得分:0)

尝试通过执行以下操作来配置DISPLAY环境变量: export DISPLAY = ip_address:0.0 with ip_address =你可以找到你的IP地址&#34; ifconfig -a&#34;

答案 1 :(得分:0)

如果您不需要使用GUI运行安装程序,则可以在Linux Bash shell中执行以下步骤: 1.未设置DISPLAY 2.运行ASE安装程序 忘记在安装过程中设置此DISPLAY变量。

如果您确实希望在GUI模式下运行安装,则可以使用第三方软件,例如beyond / tightVNC。例如,在tightVNC中,您可以通过以下方式设置DISPLAY环境变量: export DISPLAY = localhost:1.0&lt; - 1 - 表示通过tightVNC连接Linux之前的端口。

顺便说一下,你应该在closeVNC登录Linux之前生成一个会话,这样: 在Linux shell中执行“vncserver”,它会告诉你在tightVNC中登录Linux的端口号。 然后你可以使用tightVNC登录Linux盒子,如: :[端口号]