infra

Docker

參考資料 《Docker —— 從入門到實踐》 Docker 簡介 安裝 Ubuntu sudo apt-get install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.

NetApp

背板資訊 兩個 SAS (LNK 0a, 0b) 兩個 console (一個 RJ45, 一個 USB) 一個 mgmt (e0M) 一個 硬體資訊交換 四個 data 網孔 (e0a, e0b, e0c, e0d) 安裝 可以從 http / tftp 裝 OS 安裝 (無法使用 USB) Ctrl-C 進入 loader

NGINX 好用設定

Certbot (let’s encrypt 簽 https) Install find here Ubuntu $ sudo apt-get update $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update $ sudo apt-get install python-certbot-nginx Fedora sudo dnf install certbot-nginx 簽署 自動幫改 nginx 設定檔 sudo certbot --nginx 手動改 nginx 設定檔 sudo certbot --nginx certonly 自動更新憑證 sudo certbot renew --dry-run 手動更新憑證 certbot renew Redirect to https 301 server { listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/notebook.

Building hugo-academic with GitHub

Hugo + Academic theme + github pages 個人網頁 Academic 官網建議使用 Netlify 方式部署,方法可見 此篇 安裝 HUGO macOS brew install hugo Ubuntu 下載 Hugo Academic 這裡建議直接用 academ ic-kickstart 樣板修改,原因是 academic 要新增的 config 頗多,直接修改會比較簡單