2016-12-13 360 views
0

ALL,在Linux上安裝Sybase ASE

我想在我的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變量應該包含什麼值?我有一臺只有一臺顯示器/顯示器的筆記本電腦(沒有第二臺顯示器)。

謝謝。

回答

0

嘗試通過做配置DISPLAY環境變量: 出口顯示器= IP_ADDRESS:0.0與IP_ADDRESS =你可以找到你的IP地址「使用ifconfig -a」

0

如果您不需要運行安裝程序使用GUI,您可以在Linux Bash shell中執行以下步驟: 1. unset DISPLAY 2.運行ASE安裝程序 忘記在安裝期間設置此DISPLAY變量。

如果您確實想在GUI模式下運行安裝,則可以使用第三方軟件,例如exceed/tightVNC。例如,在tightVNC中,可以通過以下方式設置DISPLAY環境變量: export DISPLAY = localhost:1.0 < - 1 - 表示通過tightVNC連接Linux之前的端口。

順便說一句,在你通過tightVNC登錄Linux機器之前,你應該生成一個會話,這樣: 在Linux shell中執行「vncserver」,它會讓你知道一個端口號以緊密登錄Linux。 然後你可以通過使用tightVNC來登錄Linux機器,如: :[端口號]

+0

歡迎來到SO。請使用格式,因爲您的答案很難閱讀。 –