[gitlab][setup][setting] 利用反向代理, 為內部的gitlab伺服器, 做ssl加密

No Comments

REF: https://ithelp.ithome.com.tw/articles/10199373

 

[visualStudio][Linux] Code編輯器與Core Runtime環境

No Comments

Get MS core runtime for linux
https://www.microsoft.com/net/download/linux-package-manager/centos/runtime-current

Download MS Visual Studio Code for linux/windows :
https://code.visualstudio.com

 

[Alfresco][Ubuntu] 舊版Alfresco5.1 內建啟動程式不被Ubunut18.04 支援的解法

No Comments

REF  https://gist.github.com/fmaul/b05d9b8d8b5ff8ff0a0657f2c25d7d8d

 

Ubuntu 自16.04起, 開始支援 systemd 服務啟動方法, 原本的 upstart 在 18.04則不被支援
間接影響了舊版 Alfresco ECM 的啟動程式(/etc/init.d/alfresco)

依上述提供的參考網址, 增加 alfresco.service 檔案, 並且利用 systemctl 設定為 enable
systemctl enable alfresco.service

之後重開機也能順利啟動 aflresco ECM, 而不會有Ubuntu升級18.04後, alfresco無法啟動的問題

而原本的 /etc/init.d/alfresco 可以先利用 update-rc.d alfresco remove(其實好像也沒作用)
再移除 /etc/init.d/alfresco 這個檔案(或移動到 /tmp 去, 就當作沒看到)

[alfresco][upgrade] 更版注意事項

No Comments

當alfresco預備移轉到新版本(或同版本)

通常可能會為了避免通訊埠衝突, 會暫定新版本的通訊埠別於原有的

但會造成一個狀況, 在 alfresco 的 solr.log 裡出現 connection refused.

在查詢了 alfresco-globed.propertis 或  tomcat 的  server.xml 等等相關設定,

如何改都行不通

後來發現其實在另外的檔案裡, 仍有該項設定會影響到

REF: https://github.com/loftuxab/alfresco-ubuntu-install/issues/75

上述網址有提到

/opt/alfresco/solr4/archive-SpacesStore/conf/solrcore.properties
/opt/alfresco/solr4/workspace-SpacesStore/conf/solrcore.properties

這兩個檔案裡的設定, 其實也要確定是正確一致的才行。

 

[Alfresco][Editor][tinyMCE] 中文輸入支援修訂

No Comments

編輯以下檔案
vim /opt/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/share-config.xml

找到 <I18N>
將原本的
<tiny-mce-supported-locales>en,de,es,fr,it,ja,nl,zh_CN,ru,nb,pt_BR</tiny-mce-supported-locales>

修改為
<tiny-mce-supported-locales>en,de,es,fr,it,ja,nl,zh_TW,zh_CN,ru,nb,pt_BR</tiny-mce-supported-locales>

並做以下設定
[重開後有效]
編輯 /etc/default/locale
LANG=”zh_TW.UTF-8″
LANGUAGE=”zh_TW:zh”

或是
[立即有效, 但重開後失效]
export LANG=”zh_TW.UTF-8″
export LANGUAGE=”zh_TW:zh”

星際大爭霸-詳細文章

No Comments

https://www.gq.com.tw/blog/riverhong/detail-3736.html

https://www.gq.com.tw/blog/riverhong/detail-3742.html

[IPv6][Samba] windows 10 連線到 IPv6 的samba, 方法

No Comments

REF:https://en.wikipedia.org/wiki/IPv6_address#Literal_IPv6_addresses_in_UNC_path_names

假如 samba server 的 IPv6 address 在 windows 上使用 ipconfig 指令查看到以下位址

fe80::20c:29ff:fec3:97f8

則在檔案總管上要連線到這個 samba服務, 就要在路徑上輸入

\\fe80–20c-29ff-fec3-97f8as15.ipv6-literal.net

Older Entries Newer Entries

Share via
Copy link