2016-12-03 21 views
0

我是Alfresco的新手,我試圖按照安裝指南在我的debian服務器(通過ssh訪問)中安裝露天遊戲。但是,安裝停止,並顯示我此錯誤:由於編碼不匹配,無法進行戶外安裝

Error: There has been an error. 
initdb.bin: encoding mismatch 
The encoding you selected (UTF8) and the encoding that the selected 
locale uses (LATIN1) do not match. This would lead to misbehavior in 
various character string processing functions. Rerun initdb.bin and either 
do not specify an encoding explicitly, or choose a matching combination. 

我試圖更新服務器的語言環境,但仍存在問題。我該如何解決?

+0

當您運行postgresql initdb時,您設置了哪些語言環境?你現在設置了哪些區域? – Gagravarr

+0

我沒有運行任何postgresql initdb。我所做的就是運行安裝程序,它並沒有告訴我任何有關postgresql除端口以外的問題。我是否必須在安裝Alfresco之前安裝postgresql?在我的debian服務器上設置的語言環境是en_US。 – ejandra

+0

您正在運行哪個版本的安裝程序? –

回答

1

我已經成功地通過執行以下步驟安裝它:

  1. 註釋掉Send_ENV在/ etc/SSH/ssh_config中的變量在本地機器和Accept_ENV在/ etc/SSH/sshd_config中的變量在服務器。
  2. 編輯/etc/locale.gen以取消註釋en_US.UTF-8。
  3. Ran locale-gen
  4. 編輯/etc/locale.conf並添加了LANG = en_US.UTF-8。
  5. 成功安裝露天。
相關問題