星期一, 1月 14, 2013

EasyRTC install with openSUSE 12.2 小記

EasyRTC install log
Date:  20130103
OS:  openSUSE 12.2

參考  https://github.com/priologic/easyrtc/blob/master/docs/easyrtc_installing.md


透過 One Click install 安裝 nodejs  nodejs-devel
#OneClickInstallCLI   http://software.opensuse.org/ymp/openSUSE:12.2/standard/nodejs.ymp
#zypper   install  nodejs-devel

建立相關目錄
# mkdir   -p   /var/nodes/easyrtc

確認 www (apache)執行使用者
# grep   www  /etc/passwd
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false

將相關目錄(/var/nodes/easyrtc)更改擁有人為 wwwrun (調整權限)

# ls  -ld  /var/nodes/easyrtc/
drwxr-xr-x 2 root root 4096 Jan  3 11:06 /var/nodes/easyrtc/

# chown   wwwrun  /var/nodes/easyrtc/

# ls  -ld  /var/nodes/easyrtc/
drwxr-xr-x 2 wwwrun root 4096 Jan  3 11:06 /var/nodes/easyrtc/

下載 EasyRTC 套件
# cd   /root
# wget   https://github.com/priologic/easyrtc/archive/master.zip

解壓縮 EasyRTC 套件
# unzip   master.zip

將解壓縮的套件移到 相關目錄(/var/nodes/easyrtc)
# mv  /root/easyrtc-master/   /var/nodes/easyrtc/

切換到解壓縮的目錄
# cd   /var/nodes/easyrtc/easyrtc-master

執行安裝
#npm   install
還沒有啟動前, 觀察一下 netstat

# netstat   -tupln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2023/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      2731/cupsd
tcp        0      0 0.0.0.0:58265           0.0.0.0:*               LISTEN      2658/gnome-session
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2607/master
tcp        0      0 :::22                   :::*                    LISTEN      2023/sshd
tcp        0      0 :::631                  :::*                    LISTEN      1/init
tcp        0      0 ::1:25                  :::*                    LISTEN      2607/master
tcp        0      0 :::37755                :::*                    LISTEN      2658/gnome-session
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           452/avahi-daemon: r
udp        0      0 0.0.0.0:57592           0.0.0.0:*                           452/avahi-daemon: r
udp        0      0 0.0.0.0:631             0.0.0.0:*                           1/init
udp        0      0 :::59115                :::*                                452/avahi-daemon: r
udp        0      0 :::5353                 :::*                                452/avahi-daemon: r

啟動 EasyRTC
#node   server.js

啟動完之後觀察 netstat

# netstat   -tupln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      11035/node
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2023/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      2731/cupsd
tcp        0      0 0.0.0.0:58265           0.0.0.0:*               LISTEN      2658/gnome-session
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      2607/master
tcp        0      0 :::22                   :::*                    LISTEN      2023/sshd
tcp        0      0 :::631                  :::*                    LISTEN      1/init
tcp        0      0 ::1:25                  :::*                    LISTEN      2607/master
tcp        0      0 :::37755                :::*                    LISTEN      2658/gnome-session
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           452/avahi-daemon: r
udp        0      0 0.0.0.0:57592           0.0.0.0:*                           452/avahi-daemon: r
udp        0      0 0.0.0.0:631             0.0.0.0:*                           1/init
udp        0      0 :::59115                :::*                                452/avahi-daemon: r
udp        0      0 :::5353                 :::*                                452/avahi-daemon: r


測試結果 Okay

=====================================================================

EsayRTC with Windows 安裝小記

EsayRTC 安裝流程 version 0.01 by Max


測試時間: 2012/12/22
建立環境: Windows 7


Reference: https://github.com/priologic/easyrtc/blob/master/docs/easyrtc_installing.md

1. 請連上 http://nodejs.org/
請點選 INSTALL 下載 nodejs 安裝檔案






2.請點選執行安裝 nodejs






3. 請點選 Next 開始安裝





4. 請勾選 “I accept the terms in the LIcense Agreement” → 請點選 Next






5. 請點選 Finish 完成 Node.js 安裝





6. 請連線到 http://www.easyrtc.com/
請點選 Download easyRTC beta, FREE!






7. 畫面會被重導向到 https://github.com/priologic/easyrtc
請點選 Clone in Windows 旁邊的 ZIP 圖示







8. 請將 .zip 檔案解壓縮到指定目錄
例如 C:\Users\使用者帳號\nodes\easyrtc
解壓縮的檔案會解壓縮到 C:\Users\max\nodes\easyrtc\easyrtc-master







9. 啟動 node.js command line
請點選 開始 → 所有程式 → Node.js  → Node.js command prompt







10. 請於node.js command line 切換到easyRTC 安裝目錄
請輸入 cd    C:\Users\max\nodes\easyrtc\easyrtc-master   (當初解壓縮目錄)







11. 請輸入 npm  install 開始安裝 EasyRTC






12. 啟動 EasyRTC
請輸入 node  server.js
預設會在 port 8080 LISTEN






13. 如果有 Windows 安全性警訊, 請點選 允許存取







14. 請於瀏覽器輸入http://localhost:8080 或是 http://自己的IP:8080
開始測試


星期三, 1月 09, 2013

Ezilla 分享於真理大學





這次很開心可以到真理大學分享雲端簡單龍, 
真理大學資管系致力於國際志工以及資訊落差提昇已經有很長的一段時間.

由台灣北部的石門國小到內蒙古國際志工的投入, 由紀宗衡老師領隊的志工團都獲得一致的肯定.  於內蒙古國際志工團更引入 ezgo 自由軟體以及英文教學的異質結合, 帶給蘇尼特右旗蒙古族中學小朋友不一樣的體驗與發展.

將石門國小特色八角風箏製作與內蒙古的小朋友進行交流


獲得媒體採訪以及高度關注



融入當地資訊教學以及文化



受邀到這個數位志工的大本營來進行 Ezilla 的介紹, 心中的雀躍筆墨難以形容.

在這個場合內跟真理大學的同學們分享雲端的相關應用, 以及EasyCloud虛擬教室的相關服務, 以期未來可以讓第一線的同學們可以加以應用.

基本上能來真理大學朝聖, 跟紀宗衡老師請益以及能夠跟第一線的數位志工們交流, 真的是被感榮幸之至.

看見真理大學的同學開心的神情, 真是此次分享最大的收穫.



要再次感謝真理大學紀宗衡老師的指導, 英美系蘇淑卿老師, 新北市文德國小陳英志老師, OSSACC 孫賜萍執秘以及佛光大學許惠美老師殷殷善誘, 讓自由軟體以及數位志工發光發熱
<(_ _)>


希望Ezilla 可以有更多貢獻的地方盡更多的努力
^__^