Intro
服務開發久了,自然就會想做一些無聊的事情,然而我發現我想開一個以上的服務就會遇到 Port 衝突的問題,所以我就透過 VM + Nginx 的 Port forwarding 實現多個服務的營運。
續前文 My first smart lamp[pt.1][hardware] 我們知道 hardware 的架構已經是如何被設計的了,所以下一步就是透過媒合兩個服務,接著就會介紹透過 TCP / HTTP 等方式去搭建兩個服務的連線並提供即時控制與狀態的取得,廢話少說開始進入正題。
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
1 | $ hexo new "My New Post" |
More info: Writing
1 | $ hexo server |
More info: Server
1 | $ hexo generate |
More info: Generating
1 | $ hexo deploy |
More info: Deployment