--- tags: html description: 中興大學資訊研究社1092學期程式分享會主題社課 --- ###### [@NCHUIT/](https://hackmd.io/@NCHUIT)[HTML/](/@NCHUIT/html)[網頁教學/](/@NCHUIT/html-1092) # 伺服器架設 Azure 帳戶註冊: [Azure 學生版(免費)](https://azure.microsoft.com/zh-tw/free/students) 伺服器架設: [免費服務 - Microsoft Azure](https://portal.azure.com/?allservices=#blade/Microsoft_Azure_Billing/FreeServicesBlade) ![](https://i.imgur.com/IKurZ0P.png) ![](https://i.imgur.com/G6aMNIL.png) 開啟Flask要用到的連接埠: ![](https://i.imgur.com/QNDXiZC.png) MobaXterm: 透過 SSH 與虛擬機連線: ![](https://i.imgur.com/njUAcEF.png) 登入 ![](https://i.imgur.com/9zFM5LG.png) 更新虛擬機的 apt 和 pip ,為虛擬機安裝Flask ``` sudo apt-get update sudo apt install python3-pip pip3 install flask ``` > 確認下載 > ![](https://i.imgur.com/soMswBp.png) git clone ``` git clone https://github.com/YuTing-Fang1999/web_class.git ``` Run ``` python3 web_class/flask_web.py ```