2018 Fall 40623207 分組網站

Week6 << Previous Next >> Week8

Week7

本週出現的問題 :

Github 無法登入

本週一開始,就碰到 Github 無法登入的問題,具體原因如下:

https://status.github.com/messages
https://blog.github.com/2018-10-21-october21-incident-report/
https://thenextweb.com/dd/2018/10/22/github-is-down-because-of-data-storage-issues/
https://www.onmsft.com/news/github-suffers-hours-long-outage-coming-back-online-now
https://www.theinquirer.net/inquirer/news/3064898/github-down-major-outage

發生原因

network partition and subsequent database failure

A network partition refers to network decomposition into relatively independent subnets for their separate optimization as well as network split due to the failure of network devices.

也就是網路裝置與資料庫故障,導致發生此一事件

影響範圍

this incident only impacted website metadata stored in our MySQL databases, such as issues and pull requests
Git repository data remains unaffected and has been available throughout the incident

因應處理

各計算機程式、電腦輔助設計與協同產品設計倉儲資料除了近端與 Github 端存放外,還必須同步到 :
https://about.gitlab.com/pricing/
https://bitbucket.org/product/pricing
以及自建區域網路上的 Fossli SCM 主機

Github Pages 靜態資料可以分別以 :
https://about.gitlab.com/features/pages/
Pages for Bitbucket
以及 Fossil SCM 的 Documentation 技術達成

Fossil SCM on Ubuntu 18.04

虛擬或實體安裝的 Ubuntu可以透過 Fossil SCM 與 Stunnel 的結合,建構能夠自行維護的 Fossil SCM 伺服主機

http://mde.tw/2017springwcm/blog/2017spring-ubuntu-stunnel-fossil.html
http://mde.tw/2017springwcm/blog/2017spring-stunnel-fossil.html

◎  安裝Fossil SCM  → 啟動Fossil SCM → 使用Fossil SCM伺服網頁

Virtualbox Appliance(虛擬設備)

下載 Ubuntu 18.04 with Stunnel 4 與 Fossil SCM 2.5 安裝轉出壓縮檔

課程內容 :

說明如何利用 Github,近端與區域網路中的 Fossil Scm, 保全輔助設計的資料。

說明在使用 CMSimfly 過程,碰到無法正確解讀 config/content.htm 時,可更新程式碼或回報問題的流程。

說明如何利用 Virtualbox 安裝 Ubuntu 18.04.1 伺服器,目的在自行建立 Fossil SCM,最理想的分散式版次管理系統,可以利用 git remote add,將近端分組倉儲分別存放在 Github, Gitlab 與 Bitbucket 之外,再利用 Fossil SCM 建立區域網路或廣域網路上的備份主機,設法將上述各倉儲與近端保持同步。

心得 :

這週發生 github 無法登入,一開始以為是電腦問題,因為換了電腦就沒有問題,後來才發現是 github 網站的問題,當近端改完要推到遠端時,git push 顯示成功推送,但在 github 網站上的 commits 並沒有顯示有更新,隔天再次登入時發現 commits 成功更新了,不管是什麼網站都會有不能用的時候,可以將資料存到雲端等其他網站以防資料不見。


Week6 << Previous Next >> Week8