Category Archives: etherpad

Nginx Proxy Setting…

因為 wisemapping 預設使用 8080 port etherpad 預設使用 9001 port 都很麻煩~~所以就使用 nginx proxy 幫忙轉址了 以下是測試很久的設定檔

配合這個設定 etherpad 需要設定 {etherpad home directory}/settings.json

wisemapping 要設定的地方比較多…. {wisemapping home directory}/webapps/wisemapping/WEB-INF/app.properties

{wisemapping home directory}/contexts/wisemapping.xml

Posted in etherpad, Nginx, Wisemapping | Leave a comment

Javascript的月份是從0開始…

受教了~修正 etherpad 的日期顯示以 “yyyy-mm-mm hh-mm” 顯示的過程中發現月份總是少一個月 可是看 code 又沒有什麼問題 所以用 google 搜尋 “jquery + 少1個月” 及 “javascript + 少1個月” 發現了是 javascript 對於月份是少一個月 Orz… 所以 etherpad 的原本的寫法還不錯,貼上來註記一下

Posted in etherpad, JavaScript | Leave a comment

Etherpad-lite in Ubuntu 14.04 x64 server

etherpad 安裝基本套件需求

更新安裝nodejs的來源

安裝nodejs

新增etherpad的使用者

將etherpad使用者加入sudoers中

切換到etherpad使用者

下載etherpad檔案

安裝unzip

解壓縮etherpad壓縮檔

將目錄名稱變好看一點

切換到etherpad-lite目錄

複製設定檔範本

設定etherpad基本環境

試執行,可看 http://ip:9001 是否正常

安裝mysql、nginx

建立etherpad資料庫、設定使用者權限

設定etherpad資料存放使用mysql

試執行,並請連至 http://ip:9001 增加幾筆資料 … Continue reading

Posted in etherpad, MySQL, Nagios, Ubuntu | Leave a comment