intel-iot-examples-datastore 是Intel提供用于所有Edison開發闆聯網存儲DEMO所需要的伺服器工程。該工程是基于nodejs和redis寫成的一個簡單的工程。針對nodejs和redis會在後面介紹。
阿裡雲上提供了redis資料庫,同時也可以利用阿裡雲的ECS自己搭建伺服器。同時,為了友善調試,我首先嘗試在本地虛拟機中實作運作環境,然後再移植到阿裡雲的ECS上。
besides,every start express,when close,should close the terminal!!!
follow the try.redis.io to try the nosql database,and then follow the redis.io/download to download build install run test redis.
It's simple
出現上述歧途的另一個原因是虛拟機中用localhost:3000能通路,但是用IP不能通路,是以一直誤導我以為虛拟機網絡問題,而真正原因是nodejs app配置為題!!!
本文轉自beautifulzzzz部落格園部落格,原文連結:http://www.cnblogs.com/zjutlitao/p/6057841.html,如需轉載請自行聯系原作者