<style box background>
這主要是看到 Dokuwiki Pluging - imstatus 所開始瞭解的設定與原理,
不過實際安裝後發現很多的 User 狀態無法正確顯示,可能和 IM Server 的通訊協定有關。
</quote>
<quote> <ditaa name=concept> +——–+ /————\ /—————\
Client | Web Server | /—–=——\ | IM Server | |
{d} | –> | +———+ + JVM | ||
Borwser | ProxyPass+←=→+ status.jar +←=→+ (MSN/ICQ/AIM) |
+——–+ \–+———/ +————/ \—————/ </ditaa> </quote>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /imstatus http://127.0.0.1:9999
mkdir /opt/imstatus cd /opt/imstatus wget http://www.onlinestatus.org/files/status.jar java -jar status.jar <- 第一次設定會開啟 XWin 設定畫面來產生設定參數檔
#Auto-generated config file, read readme.txt before editing! #Mon Jan 14 00:38:16 GMT+08:00 2008 name=Jonathan IM status jabbercount=0 port=9999 aimcount=0 msnpwd=xxx@xxx [email protected] skypecount=0 version=6.1 msncount=5 [email protected] icqcount=6 trilliancount=0 link=http\://mail.ichiayi.com/imstatus/ yahoocount=0 irccount=0 message=msn [email protected] hostname=192.168.11.250
java -jar status.jar &
java -jar status.jar stop
ICQ | 917778 ICQ 917778 | MSN | [email protected] MSN [email protected] | MSN | [email protected] MSN [email protected] |
---|