網際內容管理系統在精密機械教學與研究上的應用

  • Home
    • Site Map
    • reveal
    • blog
  • About
  • 主機設定
    • Windows 10
      • Win 網站簽章
      • Win Oauth2
      • Oauth2 原理
      • Nginx
    • Ubuntu設定
      • Ubuntu 簽章
      • 配置 uwsgi
      • xrdp
  • fossiloauth
    • foauth_config
  • fossilapp
  • Fossil
  • 專題報告
  • Reference
    • Flutter
      • Flutter ref
    • discourse
      • 操作管理
    • cd2020pj1
      • Oauth2
    • Network
    • Ref
      • LaTeX
      • Automatic Control
      • 參考步驟
      • ebook1
      • Project
      • Ref2
      • Bond Graphs
      • KMOLBrowser
      • Glowscript
      • Rapydscript
      • Atoms
      • Samples
      • RLearning
      • Ebooks
      • Feedback
      • CMSiMDE
      • Git
      • Windows
      • Ubuntu
      • Heorku
      • Certbot
About << Previous Next >> Windows 10

主機設定

本研究主要利用 Fossil SCM 的網際主機作為主體, 並配置 Python Flask 網際程式管理使用者 Oauth2 登入流程. 目的在建立一個可以為精密機械教學與研究使用的網際內容管理系統.

主機的設定分為 Windows 10 與 Ubuntu 20.04 等兩個部分.

Fossil SCM 的網際主機以 fossil server 指令建立, 可以在近端主機的 port 9000 將資料送給 Stunnel 的 https port 443 協定代理. 使用者從外部可以利用瀏覽器直接以 https 協定連接至主機中的任一個 Fossil SCM 倉儲.

Windows 10:

在 Windows 10 操作系統中 Multi-repository Fossil SCM 網際伺服器與 Stunnel HTTPS 協定代理的 service 設定, 可以利用 https://github.com/kirillkovalenko/nssm 的設定達成.

Ubuntu 20.04:

在 Ubuntu 操作系統中的 Stunnel 可以利用 exec 與 execargs 設定啟動 Fossil SCM server, 且透過 /etc/default/stunnel4 檔案中的 ENABLED=1 啟動 service (參見 https://mde.tw/wcmj2021/blog/fossil-scm-on-ubuntu.html). 而且在 Ubuntu 中可以利用

sudo systemctl start stunnel4.service

啟動 stunnel.

sudo systemctl stop stunnel4.service

關閉 stunnel, 或利用:

sudo systemctl restart stunnel4.service

重新啟動 stunnel.


About << Previous Next >> Windows 10

Copyright © All rights reserved | This template is made with by Colorlib