From d7c6cd850f7597044cdbbaf0d0d4aa8a97c25ef5 Mon Sep 17 00:00:00 2001 From: Eric Chang Date: Fri, 4 Nov 2022 10:11:50 +0800 Subject: [PATCH] add lego renew letsencrypt certs in cloudflare dns --- content/lego-renew-certs-with-cloudflare.md | 51 ++ content/post/how-to-save-bricked-n1-router.md | 94 +++ public/about/index.html | 6 +- public/categories/ansible/index.html | 6 +- public/categories/index.xml | 4 +- public/categories/linux/index.html | 6 +- public/categories/proxmox/index.html | 6 +- public/categories/ps/index.html | 6 +- public/categories/碎念/index.html | 6 +- public/categories/筆記/index.html | 181 +++-- public/categories/筆記/index.xml | 25 +- public/categories/群暉/index.html | 6 +- public/categories/雜念/index.html | 6 +- public/contact/index.html | 6 +- public/gallery/sammy93/index.html | 6 +- public/index.html | 95 +-- public/index.xml | 25 +- .../index.html | 623 +++++++++++++++++ public/page/10/index.html | 92 +-- public/page/11/index.html | 91 ++- public/page/12/index.html | 152 ++--- public/page/13/index.html | 144 ++-- public/page/14/index.html | 72 +- public/page/2/index.html | 121 ++-- public/page/3/index.html | 99 +-- public/page/4/index.html | 96 +-- public/page/5/index.html | 102 ++- public/page/6/index.html | 99 +-- public/page/7/index.html | 82 ++- public/page/8/index.html | 131 ++-- public/page/9/index.html | 102 +-- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../post/ansible-selectattr-filter/index.html | 6 +- .../index.html | 6 +- public/post/ansible-selectattr/index.html | 6 +- .../post/ansible-ssh-forwardagent/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- public/post/bookstack-docker/index.html | 6 +- .../index.html | 6 +- .../post/change-timezone-in-docker/index.html | 6 +- .../check-port-speed-in-openwrt/index.html | 6 +- .../post/cloudcmd-web-file-manager/index.html | 6 +- .../post/command_to_test_main_ssl/index.html | 6 +- .../index.html | 6 +- public/post/copy_role_in_pgsql/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../enable-synology-public-ssh/index.html | 6 +- public/post/first-try-synology-ha/index.html | 6 +- .../index.html | 6 +- .../how-to-save-bricked-n1-router/index.html | 646 ++++++++++++++++++ .../incredibly-slow-mdadm-rebuild/index.html | 6 +- public/post/index.xml | 15 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- public/post/log-all-bash-commands/index.html | 6 +- .../index.html | 6 +- .../post/nice-du-report-tool-durep/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../postgresql-pgbench-benchmark/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../synology-ds415-repair-cost/index.html | 6 +- public/post/test-pg_prewarm/index.html | 6 +- .../transfer-cent62-using-rsync/index.html | 6 +- .../index.html | 6 +- public/post/ubuntu-1404-preseed/index.html | 6 +- .../index.html | 6 +- public/post/ubuntu-1804-preseeds/index.html | 6 +- .../ubuntu-dconf-proxy-settings/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- .../weird-client-server-connection/index.html | 6 +- .../index.html | 6 +- .../index.html | 6 +- public/sitemap.xml | 48 +- public/tags/10g/index.html | 6 +- public/tags/acme-dns/index.html | 6 +- public/tags/acme/index.html | 6 +- public/tags/ansible/index.html | 6 +- public/tags/backup/index.html | 6 +- public/tags/benchmark/index.html | 6 +- public/tags/bookstack/index.html | 6 +- public/tags/bsd/index.html | 6 +- public/tags/centos/index.html | 6 +- public/tags/certbot/index.html | 6 +- public/tags/cloudcmd/index.html | 6 +- public/tags/cloudflare/index.html | 6 +- public/tags/cuda/index.html | 6 +- public/tags/dconf/index.html | 6 +- public/tags/debian/index.html | 6 +- public/tags/docker/index.html | 6 +- public/tags/du/index.html | 6 +- public/tags/edgerouter/index.html | 6 +- public/tags/failover/index.html | 6 +- public/tags/file-manager/index.html | 6 +- public/tags/firefox/index.html | 6 +- public/tags/forwardx11/index.html | 6 +- public/tags/freenas/index.html | 6 +- public/tags/gpu/index.html | 6 +- public/tags/high-availability/index.html | 6 +- public/tags/index.xml | 74 +- public/tags/inventory/index.html | 6 +- public/tags/launcher/index.html | 6 +- public/tags/lego/index.html | 12 +- public/tags/lego/index.xml | 12 +- public/tags/letsencrypt/index.html | 20 +- public/tags/letsencrypt/index.xml | 16 +- public/tags/linux/index.html | 6 +- public/tags/log/index.html | 6 +- public/tags/mdadm/index.html | 6 +- public/tags/mellanox/index.html | 6 +- public/tags/meshcentral/index.html | 6 +- public/tags/metabase/index.html | 6 +- public/tags/n1/index.html | 473 +++++++++++++ public/tags/n1/index.xml | 24 + public/tags/nas/index.html | 6 +- public/tags/networkmanager/index.html | 6 +- public/tags/nvidia/index.html | 6 +- public/tags/nvme/index.html | 6 +- public/tags/openwrt/index.html | 6 +- public/tags/pg_strom/index.html | 6 +- public/tags/pgbarman/index.html | 6 +- public/tags/pgbench/index.html | 6 +- public/tags/pihole/index.html | 6 +- public/tags/postgresql/index.html | 6 +- public/tags/preseeds/index.html | 6 +- public/tags/proxmox/index.html | 6 +- public/tags/ps/index.html | 6 +- public/tags/psql/index.html | 6 +- public/tags/pxe/index.html | 6 +- public/tags/raid/index.html | 6 +- public/tags/remote/index.html | 6 +- public/tags/resolv.conf/index.html | 6 +- public/tags/restore/index.html | 6 +- public/tags/router/index.html | 473 +++++++++++++ public/tags/router/index.xml | 24 + public/tags/ssh/index.html | 6 +- public/tags/ssl/index.html | 12 +- public/tags/ssl/index.xml | 12 +- public/tags/synology/index.html | 6 +- public/tags/timezone/index.html | 6 +- public/tags/ubuntu/index.html | 6 +- public/tags/vim/index.html | 6 +- public/tags/vpn/index.html | 6 +- public/tags/wireguard/index.html | 6 +- public/tags/zfs/index.html | 6 +- public/tags/短今/index.html | 6 +- public/tags/筆記/index.html | 6 +- public/tags/群暉/index.html | 6 +- 174 files changed, 3909 insertions(+), 1267 deletions(-) create mode 100644 content/lego-renew-certs-with-cloudflare.md create mode 100644 content/post/how-to-save-bricked-n1-router.md create mode 100644 public/lego-renew-certs-with-cloudflare/index.html create mode 100644 public/post/how-to-save-bricked-n1-router/index.html create mode 100644 public/tags/n1/index.html create mode 100644 public/tags/n1/index.xml create mode 100644 public/tags/router/index.html create mode 100644 public/tags/router/index.xml diff --git a/content/lego-renew-certs-with-cloudflare.md b/content/lego-renew-certs-with-cloudflare.md new file mode 100644 index 00000000..a7bff4f4 --- /dev/null +++ b/content/lego-renew-certs-with-cloudflare.md @@ -0,0 +1,51 @@ +--- +title: "lego 自動更新letsencrypt 全域憑證" +date: 2022-11-04T10:06:36+08:00 +draft: false +noSummary: false +categories: ['筆記'] +image: https://h.cowbay.org/images/post-default-5.jp] +tags: ['lego','letsencrypt','ssl'] +author: "Eric Chang" +keywords: + - lego + - letsencrypt +--- +首先要確認 DNS 託管在 lego 有支援的DNS 廠商 +可以到 github 去看,支援的廠商很多! + + +我比較習慣cloudflare ,所以這邊講的是 cloudflare 的方式 +首先登入 cloudflare 管理界面 +接著點右上角倒三角,選擇 "My Profile" +![](https://i.imgur.com/08pxllD.png) + +再來選擇左邊的 API Tokens , 然後點下面的Glocal API key 旁邊的 view 按鈕,來檢視你的 API KEY ,如果這邊沒有Global API Key , 那就新增一個 +![](https://i.imgur.com/FvOdhbJ.png) + +之前的做法都是說在中間的API Token 去新增一組key 然後要選擇一些zone/dns 的權限,經過測試,確認這樣做沒辦法運作,必須要用 Global API Key 才行! + +取得API Key 之後,剩下的就很簡單了 +先去 https://github.com/go-acme/lego/releases 找到你對應的版本抓下來,我是習慣把檔案放在 /usr/local/bin/ 底下 +又或者是可以用 apt 安裝 + +安裝完成之後,指令如下 + +第一次取得憑證 +記得把 CLOUDFLARE_EMAIL 還有 CLOUDFLARE_API_KEY 改成你自己的 +``` +CLOUDFLARE_EMAIL=you@example.com CLOUDFLARE_API_KEY=abc123 +lego --email you@example.com --dns cloudflare --domains *.example.org run +``` + +就會在home dir 底下的 .lego 目錄中,發現你的憑證檔案了,而且是全域通用的唷!(wildcard ssl certs) +![](https://i.imgur.com/6tZYCfy.png) + +日後要更新憑證,指令也差不多,只是把最後一個 run 改成 renew 就可以了! + +``` +CLOUDFLARE_EMAIL=you@example.com CLOUDFLARE_API_KEY=abc123 +lego --email you@example.com --dns cloudflare --domains *.example.org renew +``` + +是不是超級方便的啊! diff --git a/content/post/how-to-save-bricked-n1-router.md b/content/post/how-to-save-bricked-n1-router.md new file mode 100644 index 00000000..92a6e676 --- /dev/null +++ b/content/post/how-to-save-bricked-n1-router.md @@ -0,0 +1,94 @@ +--- +title: "[筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router" +date: 2022-03-09T16:29:17+08:00 +draft: false +noSummary: false +categories: ['筆記'] +image: https://h.cowbay.org/images/post-default-14.jpg +tags: ['n1','router'] +author: "Eric Chang" +keywords: + - N1 + - router +--- + +不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader + +所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用 + +因為openwrt 玩很多了,所以這次想說來試試看 Armbian + +一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal + +就在某次亂搞之後,N1 他變磚了...開機完全沒有畫面,只好開始研究怎麼救磚了 + + + +### N1 救磚的方法 + +筆記日期: 2022-03-04 17:15 + +這個是已經確認 N1 變磚了,開機沒有boot loader 的狀況 + +這方法不需要拆機,需要用到的檔案和線材如下 + +1. 雙公頭 USB $40-50 , shopee 買的 +2. 02_Amlogic_USB_Burning_Tool.tgz [點我下載](https://nextcloud.slat.org/index.php/s/PC72sNQDwmk8tZ8) +3. 03_aml_upgrade_package.tgz [點我下載](https://nextcloud.slat.org/index.php/s/KTPWgrSJweZpn2E) +4. 04_balenaEtcher-Setup-1.7.7.exe [點我下載](https://nextcloud.slat.org/index.php/s/z8GjfErnYnZZrQQ) +6. 05_platform-tools_r33.0.0-windows.zip [點我下載](https://nextcloud.slat.org/index.php/s/pRcGTYzFeLGdQMr) +7. 06_T1_1.3T47_mod_by_webpad_v3_20180419_2.tgz [點我下載](https://nextcloud.slat.org/index.php/s/JGzqYwFzm2tG5Yx) +8. 一台Windows 筆電/桌機 + +簡單描述一下我還記得的步驟,就不上圖了,反正重要的是這些檔案,操作過程其實容易的 + +先把 02/03/06 的檔案傳到筆電上,該解壓縮的,該安裝的都做一做 +(在這邊至少要確定驅動程式有安裝成功,叫什麼WorldCup 有的沒的) + +02 的檔案解壓縮完會有一個license 的目錄,這個目錄要複製到 USB Burning Tool 的安裝目錄底下 +一般來說應該就是 + +``` +c:\program files(x86)\Amlogic\USB_BURNING_TOOL +``` + +確認複製好、解壓縮也完成了,這時候拿出 N1 、雙公頭USB、電源線並且執行 USB Burning Tool + +進入USB Burning Tool 畫面,點一下 File --> Import image + +選擇06 解壓縮的 06_T1_1.3T47_mod_by_webpad_v3_20180419_2.img + +因為我的N1 是連 Bootloader 都掛了,所以右邊有四個選項要勾選 +1. Erase flash +2. Erase bootloader +3. Overwrite key +4. Secure Boot Key (跟圖片上的不會一樣) + +還是補個圖好了,借別人的來用 + +![](https://i.imgur.com/kUibBJY.png) + + +確認好之後,還先不要按開始,準備好 N1,電源接上插座,但先不要接到N1,USB 一頭接在電腦上,另一頭也是一樣先不要接到 N1 + +接下來點一下USB Burning tool 的開始,然後快速的先插入電源接頭到 N1 ,然後接著插入 USB 接頭 + +正常的話,這邊就會聽到聲音,然後 USB Burning Tool 就會開始燒錄,如果沒有看到開始燒錄的話,就多試幾次看看, + +我一開始就弄錯 USB 和電源的插入順序,一直沒成功 + +在燒錄到21% 的時候,會跳出錯誤訊息,不用擔心,意料之中, + +這時候按下停止,然後一樣到 File --> import image,這次選擇 03 解壓縮後的檔案aml_upgrade_package, + +右邊的選項也不用動,密鑰的部分會自動消失,然後保留上面兩個Erase flash/bootloader ,再點一次開始按鈕 + +基本上這次就可以順利成功燒錄了,如果只是要救磚,到這邊就已經 OK + +這時候的機子韌體版本是 V2.19 ,如果想要可以繼續刷其他的韌體 + +### 刷 Armbian 22.10 focal kernel 5.9 + +這部分已經成功了,只是還沒整理筆記(其實也沒很複雜啦) + +等到有心情想寫的時候再來補 diff --git a/public/about/index.html b/public/about/index.html index d7f659a5..f95b35e5 100644 --- a/public/about/index.html +++ b/public/about/index.html @@ -45,9 +45,9 @@ - + - + @@ -591,7 +591,7 @@ title="pinterest icon"> - + diff --git a/public/categories/ansible/index.html b/public/categories/ansible/index.html index 1777a350..11cc5b5d 100644 --- a/public/categories/ansible/index.html +++ b/public/categories/ansible/index.html @@ -45,9 +45,9 @@ - + - + @@ -593,6 +593,6 @@ if (!doNotTrack) { - + diff --git a/public/categories/index.xml b/public/categories/index.xml index 4bcd100e..33d066dd 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -6,11 +6,11 @@ Recent content in Categories on MC部落 Hugo -- gohugo.io en-us - Wed, 29 Sep 2021 14:38:10 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 筆記 https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/ - Wed, 29 Sep 2021 14:38:10 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/ diff --git a/public/categories/linux/index.html b/public/categories/linux/index.html index 62a0df90..c8ec9dc2 100644 --- a/public/categories/linux/index.html +++ b/public/categories/linux/index.html @@ -45,9 +45,9 @@ - + - + @@ -476,6 +476,6 @@ if (!doNotTrack) { - + diff --git a/public/categories/proxmox/index.html b/public/categories/proxmox/index.html index 169dfb50..dc154044 100644 --- a/public/categories/proxmox/index.html +++ b/public/categories/proxmox/index.html @@ -45,9 +45,9 @@ - + - + @@ -478,6 +478,6 @@ if (!doNotTrack) { - + diff --git a/public/categories/ps/index.html b/public/categories/ps/index.html index 7e2d2a68..c087967d 100644 --- a/public/categories/ps/index.html +++ b/public/categories/ps/index.html @@ -45,9 +45,9 @@ - + - + @@ -418,6 +418,6 @@ if (!doNotTrack) { - + diff --git a/public/categories/碎念/index.html b/public/categories/碎念/index.html index 5bb50db7..b7d56556 100644 --- a/public/categories/碎念/index.html +++ b/public/categories/碎念/index.html @@ -45,9 +45,9 @@ - + - + @@ -477,6 +477,6 @@ if (!doNotTrack) { - + diff --git a/public/categories/筆記/index.html b/public/categories/筆記/index.html index fafa6e00..5e1f4772 100644 --- a/public/categories/筆記/index.html +++ b/public/categories/筆記/index.html @@ -20,9 +20,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/categories\/%E7%AD%86%E8%A8%98\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -45,9 +45,9 @@ - + - + @@ -297,6 +297,65 @@ if (!doNotTrack) { + + + +
+
+ 09 March + + + + + + / + + + + + + + + + / + + 筆記 + + +
+ +
+
+

不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader

+

所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用

+

因為openwrt 玩很多了,所以這次想說來試試看 Armbian

+

一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal

+

就在某次亂搞之後,N1 他變磚了…開機完全沒有畫面,只好開始研究怎麼救磚了

+ + +
+
+
+ + + + + + + + + + + +
+ + + + @@ -356,7 +415,7 @@ if (!doNotTrack) { -
+
@@ -413,7 +472,7 @@ if (!doNotTrack) { -
+
@@ -470,7 +529,7 @@ if (!doNotTrack) { -
+
@@ -526,7 +585,7 @@ if (!doNotTrack) { -
+
@@ -582,7 +641,7 @@ if (!doNotTrack) { -
+
@@ -642,7 +701,7 @@ if (!doNotTrack) { -
+
@@ -702,7 +761,7 @@ if (!doNotTrack) { -
+
@@ -767,7 +826,7 @@ if (!doNotTrack) { -
+
@@ -829,7 +888,7 @@ if (!doNotTrack) { -
+
@@ -888,7 +947,7 @@ if (!doNotTrack) { -
+
@@ -945,7 +1004,7 @@ if (!doNotTrack) { -
+
@@ -1003,7 +1062,7 @@ if (!doNotTrack) { -
+
@@ -1063,7 +1122,7 @@ if (!doNotTrack) { -
+
@@ -1123,7 +1182,7 @@ if (!doNotTrack) { -
+
@@ -1181,7 +1240,7 @@ if (!doNotTrack) { -
+
@@ -1241,7 +1300,7 @@ if (!doNotTrack) { -
+
@@ -1299,7 +1358,7 @@ if (!doNotTrack) { -
+
@@ -1356,7 +1415,7 @@ if (!doNotTrack) { -
+
@@ -1414,7 +1473,7 @@ if (!doNotTrack) { -
+
@@ -1473,7 +1532,7 @@ if (!doNotTrack) { -
+
@@ -1533,7 +1592,7 @@ if (!doNotTrack) { -
+
@@ -1590,7 +1649,7 @@ if (!doNotTrack) { -
+
@@ -1648,7 +1707,7 @@ if (!doNotTrack) { -
+
@@ -1710,7 +1769,7 @@ if (!doNotTrack) { -
+
@@ -1768,7 +1827,7 @@ if (!doNotTrack) { -
+
@@ -1828,7 +1887,7 @@ if (!doNotTrack) { -
+
@@ -1885,7 +1944,7 @@ if (!doNotTrack) { -
+
@@ -1942,7 +2001,7 @@ if (!doNotTrack) { -
+
@@ -1997,7 +2056,7 @@ if (!doNotTrack) { -
+
@@ -2052,7 +2111,7 @@ if (!doNotTrack) { -
+
@@ -2110,7 +2169,7 @@ if (!doNotTrack) { -
+
@@ -2168,7 +2227,7 @@ if (!doNotTrack) { -
+
@@ -2229,7 +2288,7 @@ if (!doNotTrack) { -
+
@@ -2289,7 +2348,7 @@ if (!doNotTrack) { -
+
@@ -2353,7 +2412,7 @@ if (!doNotTrack) { -
+
@@ -2415,7 +2474,7 @@ if (!doNotTrack) { -
+
@@ -2474,7 +2533,7 @@ if (!doNotTrack) { -
+
@@ -2530,7 +2589,7 @@ if (!doNotTrack) { -
+
@@ -2589,7 +2648,7 @@ if (!doNotTrack) { -
+
@@ -2647,7 +2706,7 @@ if (!doNotTrack) { -
+
@@ -2704,7 +2763,7 @@ if (!doNotTrack) { -
+
@@ -2760,7 +2819,7 @@ if (!doNotTrack) { -
+
@@ -2818,7 +2877,7 @@ if (!doNotTrack) { -
+
@@ -2874,7 +2933,7 @@ if (!doNotTrack) { -
+
@@ -2931,7 +2990,7 @@ if (!doNotTrack) { -
+
@@ -2989,7 +3048,7 @@ if (!doNotTrack) { -
+
@@ -3047,7 +3106,7 @@ if (!doNotTrack) { -
+
@@ -3110,7 +3169,7 @@ if (!doNotTrack) { -
+
@@ -3167,7 +3226,7 @@ if (!doNotTrack) { -
+
@@ -3262,7 +3321,7 @@ if (!doNotTrack) { -
+
@@ -3320,7 +3379,7 @@ if (!doNotTrack) { -
+
@@ -3378,7 +3437,7 @@ if (!doNotTrack) { -
+
@@ -3439,7 +3498,7 @@ if (!doNotTrack) { -
+
@@ -3499,7 +3558,7 @@ if (!doNotTrack) { -
+
@@ -3562,7 +3621,7 @@ if (!doNotTrack) { -
+
@@ -3751,6 +3810,6 @@ if (!doNotTrack) {
- + diff --git a/public/categories/筆記/index.xml b/public/categories/筆記/index.xml index 7d1443da..3317022b 100644 --- a/public/categories/筆記/index.xml +++ b/public/categories/筆記/index.xml @@ -6,7 +6,30 @@ Recent content in 筆記 on MC部落 Hugo -- gohugo.io en-us - Wed, 29 Sep 2021 14:38:10 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 + + lego 自動更新letsencrypt 全域憑證 + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + Fri, 04 Nov 2022 10:06:36 +0800 + + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + <p>首先要確認 DNS 託管在 lego 有支援的DNS 廠商 +可以到 github 去看,支援的廠商很多!</p> + + + + [筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + Wed, 09 Mar 2022 16:29:17 +0800 + + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + <p>不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader</p> +<p>所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用</p> +<p>因為openwrt 玩很多了,所以這次想說來試試看 Armbian</p> +<p>一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal</p> +<p>就在某次亂搞之後,N1 他變磚了&hellip;開機完全沒有畫面,只好開始研究怎麼救磚了</p> + + Init Script in Openwrt to Start Leproxy/在openwrt 新增自動啟動leproxy的script https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/ diff --git a/public/categories/群暉/index.html b/public/categories/群暉/index.html index 67ed36f9..9afbd3dc 100644 --- a/public/categories/群暉/index.html +++ b/public/categories/群暉/index.html @@ -45,9 +45,9 @@ - + - + @@ -480,6 +480,6 @@ if (!doNotTrack) {
- + diff --git a/public/categories/雜念/index.html b/public/categories/雜念/index.html index 55758376..9efd786e 100644 --- a/public/categories/雜念/index.html +++ b/public/categories/雜念/index.html @@ -45,9 +45,9 @@ - + - + @@ -476,6 +476,6 @@ if (!doNotTrack) {
- + diff --git a/public/contact/index.html b/public/contact/index.html index 14832caf..f5c167f9 100644 --- a/public/contact/index.html +++ b/public/contact/index.html @@ -45,9 +45,9 @@ - + - + @@ -453,7 +453,7 @@ if (!doNotTrack) {
- + diff --git a/public/gallery/sammy93/index.html b/public/gallery/sammy93/index.html index c172cda8..a162a20d 100644 --- a/public/gallery/sammy93/index.html +++ b/public/gallery/sammy93/index.html @@ -45,9 +45,9 @@ - + - + @@ -594,7 +594,7 @@ title="pinterest icon">
- + diff --git a/public/index.html b/public/index.html index af6813c2..909e862e 100644 --- a/public/index.html +++ b/public/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 29 September + 09 March @@ -315,23 +315,18 @@ if (!doNotTrack) {
-

最近在逐步的把舊有的VPN Router 汰換掉,改用wireguard 來作 full mesh site-to-site VPN

-

不過這是另外的故事了…

-

在把wireguard VPN 都搞定之後,才發現原來 openwrt 的 uhttpd 要加上 letsencrypt 的免費憑證有點難搞

-

網路上大部分都介紹用 acme.sh ,我是有測試出來啦

-

但是跟網路上的方法不太一樣了,新增了滿多步驟的,覺得很麻煩

-

想到向來愛用的 leproxy ,既然是 golang 開發的,又是open source

-

就拿來compile 給openwrt router 用用看

-

想不到還真的可以, golang 真是棒!

-

不過也還是要順手改一些openwrt 東西才行

-

還是簡單作個筆記好了

+

不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader

+

所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用

+

因為openwrt 玩很多了,所以這次想說來試試看 Armbian

+

一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal

+

就在某次亂搞之後,N1 他變磚了…開機完全沒有畫面,只好開始研究怎麼救磚了

- +
@@ -349,12 +344,12 @@ if (!doNotTrack) { - +
- 26 August + 29 September @@ -376,16 +371,23 @@ if (!doNotTrack) {
-

自從用了 leproxy 之後,其實就很少在管ssl 憑證的問題,反正leproxy 都會自動處理好

-

不過LAN裡面的機器越來越多,每次看到警告說沒有加密的訊息就有點不爽,之前用了很多方式去申請全域憑證,申請倒是還好,沒太多問題。但是一碰到要更新,就都無法自動,因為都會要求去修改DNS 的 TXT 或者是 CNAME 記錄。

-

一般來說,如果是其他DNS 供應商,大部分都會提供API,那就還好。 BUT !! (對,然生就是離不開這個BUT …) 我們的域名是老闆在 iwantmyname 買的,一開始是給 webfaction 代管,後來webfaction 被godaddy 買走,就轉到 namecheap 去(我也不知道為什麼不在godaddy 就好)。

+

最近在逐步的把舊有的VPN Router 汰換掉,改用wireguard 來作 full mesh site-to-site VPN

+

不過這是另外的故事了…

+

在把wireguard VPN 都搞定之後,才發現原來 openwrt 的 uhttpd 要加上 letsencrypt 的免費憑證有點難搞

+

網路上大部分都介紹用 acme.sh ,我是有測試出來啦

+

但是跟網路上的方法不太一樣了,新增了滿多步驟的,覺得很麻煩

+

想到向來愛用的 leproxy ,既然是 golang 開發的,又是open source

+

就拿來compile 給openwrt router 用用看

+

想不到還真的可以, golang 真是棒!

+

不過也還是要順手改一些openwrt 東西才行

+

還是簡單作個筆記好了

- +
@@ -403,12 +405,12 @@ if (!doNotTrack) { - +
- 20 July + 26 August @@ -430,16 +432,16 @@ if (!doNotTrack) {
-

最近又接到之前處理過的需求,要讓使用者可以在外部上傳、編輯 yaml 檔案

-

之前是用 gohttpd 來做

-

可是不支援線上編輯 yaml 檔案

+

自從用了 leproxy 之後,其實就很少在管ssl 憑證的問題,反正leproxy 都會自動處理好

+

不過LAN裡面的機器越來越多,每次看到警告說沒有加密的訊息就有點不爽,之前用了很多方式去申請全域憑證,申請倒是還好,沒太多問題。但是一碰到要更新,就都無法自動,因為都會要求去修改DNS 的 TXT 或者是 CNAME 記錄。

+

一般來說,如果是其他DNS 供應商,大部分都會提供API,那就還好。 BUT !! (對,然生就是離不開這個BUT …) 我們的域名是老闆在 iwantmyname 買的,一開始是給 webfaction 代管,後來webfaction 被godaddy 買走,就轉到 namecheap 去(我也不知道為什麼不在godaddy 就好)。

- +
@@ -457,12 +459,12 @@ if (!doNotTrack) { - +
- 25 June + 20 July @@ -484,15 +486,16 @@ if (!doNotTrack) {
-

感覺最近應該會用到類似這樣的功能,趁著最近比較閒一點

-

就把系統弄起來玩玩看,順便建立ansible 的playbook

+

最近又接到之前處理過的需求,要讓使用者可以在外部上傳、編輯 yaml 檔案

+

之前是用 gohttpd 來做

+

可是不支援線上編輯 yaml 檔案

- +
@@ -510,12 +513,12 @@ if (!doNotTrack) { - +
- 18 November + 25 June @@ -537,15 +540,15 @@ if (!doNotTrack) {
-

最近又開始在亂搞postgresql ,一直想要玩玩看GPU運算的威力,大概一年多前,有測試了 ubuntu 18.04 + postgresql + pg_strom ,可是當時因為pg_strom 不支援當時手邊的顯示卡,只好作罷。

-

Breaks here

+

感覺最近應該會用到類似這樣的功能,趁著最近比較閒一點

+

就把系統弄起來玩玩看,順便建立ansible 的playbook

- +
@@ -838,7 +841,7 @@ if (!doNotTrack) {
- + diff --git a/public/index.xml b/public/index.xml index 12d7c349..2fed20e7 100644 --- a/public/index.xml +++ b/public/index.xml @@ -6,7 +6,30 @@ Recent content on MC部落 Hugo -- gohugo.io en-us - Wed, 29 Sep 2021 14:38:10 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 + + lego 自動更新letsencrypt 全域憑證 + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + Fri, 04 Nov 2022 10:06:36 +0800 + + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + <p>首先要確認 DNS 託管在 lego 有支援的DNS 廠商 +可以到 github 去看,支援的廠商很多!</p> + + + + [筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + Wed, 09 Mar 2022 16:29:17 +0800 + + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + <p>不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader</p> +<p>所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用</p> +<p>因為openwrt 玩很多了,所以這次想說來試試看 Armbian</p> +<p>一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal</p> +<p>就在某次亂搞之後,N1 他變磚了&hellip;開機完全沒有畫面,只好開始研究怎麼救磚了</p> + + Init Script in Openwrt to Start Leproxy/在openwrt 新增自動啟動leproxy的script https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/ diff --git a/public/lego-renew-certs-with-cloudflare/index.html b/public/lego-renew-certs-with-cloudflare/index.html new file mode 100644 index 00000000..10e45799 --- /dev/null +++ b/public/lego-renew-certs-with-cloudflare/index.html @@ -0,0 +1,623 @@ + + + + + + + + lego 自動更新letsencrypt 全域憑證 + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Skip to content + + +
+ + + + + + + +
+ +
+ + + + +
+

lego 自動更新letsencrypt 全域憑證

+
+
+
+
+

首先要確認 DNS 託管在 lego 有支援的DNS 廠商 +可以到 github 去看,支援的廠商很多!

+

我比較習慣cloudflare ,所以這邊講的是 cloudflare 的方式 +首先登入 cloudflare 管理界面 +接著點右上角倒三角,選擇 “My Profile” +

+

再來選擇左邊的 API Tokens , 然後點下面的Glocal API key 旁邊的 view 按鈕,來檢視你的 API KEY ,如果這邊沒有Global API Key , 那就新增一個 +

+

之前的做法都是說在中間的API Token 去新增一組key 然後要選擇一些zone/dns 的權限,經過測試,確認這樣做沒辦法運作,必須要用 Global API Key 才行!

+

取得API Key 之後,剩下的就很簡單了 +先去 https://github.com/go-acme/lego/releases 找到你對應的版本抓下來,我是習慣把檔案放在 /usr/local/bin/ 底下 +又或者是可以用 apt 安裝

+

安裝完成之後,指令如下

+

第一次取得憑證 +記得把 CLOUDFLARE_EMAIL 還有 CLOUDFLARE_API_KEY 改成你自己的

+
CLOUDFLARE_EMAIL=you@example.com CLOUDFLARE_API_KEY=abc123
+lego --email you@example.com --dns cloudflare --domains *.example.org run
+

就會在home dir 底下的 .lego 目錄中,發現你的憑證檔案了,而且是全域通用的唷!(wildcard ssl certs) +

+

日後要更新憑證,指令也差不多,只是把最後一個 run 改成 renew 就可以了!

+
CLOUDFLARE_EMAIL=you@example.com CLOUDFLARE_API_KEY=abc123
+lego --email you@example.com --dns cloudflare --domains *.example.org renew
+

是不是超級方便的啊!

+
+
+ + + + +
+ +
+ + Eric Chang + + + Written by: +
+
+ + +

塵世裡一個迷途小書僮

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+ + +comments powered by Disqus + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + diff --git a/public/page/10/index.html b/public/page/10/index.html index 3a4f3827..2e8be53c 100644 --- a/public/page/10/index.html +++ b/public/page/10/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 23 April + 17 May @@ -309,24 +309,23 @@ if (!doNotTrack) { / - 筆記 + linux
-

最近因為一直碰到硬碟故障的問題,算起來那一批同時購買的5X顆 seagate 2T硬碟,已經有一半以上故障返修了….

-

然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著

-

所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!

-

也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了

-

然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!

+

工作上常會需要用ssh登入遠端主機檢查LOG,有必要的時候,還要把log複製回本機來處理。

+

以前都是傻傻的用 scp 傳檔案

+

之前就記得有這個xclip/xsel 可以用,但是一直沒有弄清楚怎麼執行

+

早上研究了一下,順便做個筆記。

- +
@@ -344,7 +343,7 @@ if (!doNotTrack) { - +
@@ -371,17 +370,18 @@ if (!doNotTrack) {
-

今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案

-

居然不知為何自己產生了,在我記憶中沒有去執行過那個指令

-

翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)

-

所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份

+

最近因為一直碰到硬碟故障的問題,算起來那一批同時購買的5X顆 seagate 2T硬碟,已經有一半以上故障返修了….

+

然後又因為一直沒有添購新的硬碟,只能用這些快過保/已過保的撐著

+

所以最近不斷的在更換機器內的硬碟,而且還沒有熱插拔!

+

也導致原本負責處理盤點資產的同事困擾,因為跟手邊的紀錄已經對不起來了

+

然後就變成要對資產的時候,需要一台一台登入,然後去下不同的指令,取得想要的硬體資訊,超級麻煩的!

- +
@@ -399,12 +399,12 @@ if (!doNotTrack) { - +
- 01 April + 23 April @@ -426,16 +426,17 @@ if (!doNotTrack) {
-

今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試

-

想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate

-

可是一直出現device busy的錯誤訊息

+

今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案

+

居然不知為何自己產生了,在我記憶中沒有去執行過那個指令

+

翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)

+

所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份

- +
@@ -453,12 +454,12 @@ if (!doNotTrack) { - +
- 27 March + 01 April @@ -480,15 +481,16 @@ if (!doNotTrack) {
-

公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。

-

看起來不難搞,事實上…..

+

今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試

+

想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate

+

可是一直出現device busy的錯誤訊息

- +
@@ -506,12 +508,12 @@ if (!doNotTrack) { - +
- 20 March + 27 March @@ -525,19 +527,23 @@ if (!doNotTrack) { + / + + 筆記 + +
-

今天老闆出國,發slack說手機不能寄信,看了一下,似乎是因為用GMAIL的APP來收信

-

然後google 不知道跟人家改了什麼,結果不接受原本的認證了… WTF ….

-

然後,這問題應該很久了,結果現在才在講 ….

+

公司的一台老伺服器空間不足了,要執行指令都會中斷,所以想要擴充空間。

+

看起來不難搞,事實上…..

- +
@@ -840,7 +846,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/11/index.html b/public/page/11/index.html index 98ee9d16..a7787657 100644 --- a/public/page/11/index.html +++ b/public/page/11/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 11 March + 20 March @@ -307,25 +307,19 @@ if (!doNotTrack) { - / - - 筆記 - -
-

最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook

-

因為要不斷的修正,所以想到一直有在自己電腦上執行的timeshift這個軟體

-

可以很簡單快速的備份、恢復系統狀態

-

可是不知道為什麼,在ubuntu 18.04 上安裝就是會發生錯誤….

+

今天老闆出國,發slack說手機不能寄信,看了一下,似乎是因為用GMAIL的APP來收信

+

然後google 不知道跟人家改了什麼,結果不接受原本的認證了… WTF ….

+

然後,這問題應該很久了,結果現在才在講 ….

- +
@@ -343,12 +337,12 @@ if (!doNotTrack) { - +
- 16 January + 11 March @@ -370,15 +364,17 @@ if (!doNotTrack) {
-

買了一張 DELL 6/iR 低階的raid 卡

-

來測試把系統裝在硬體做的RAID上,結果沒想到居然不能開機…

+

最近要開始測試client安裝 ubuntu 18.04 的 ansible playbook

+

因為要不斷的修正,所以想到一直有在自己電腦上執行的timeshift這個軟體

+

可以很簡單快速的備份、恢復系統狀態

+

可是不知道為什麼,在ubuntu 18.04 上安裝就是會發生錯誤….

- +
@@ -396,7 +392,7 @@ if (!doNotTrack) { - +
@@ -423,16 +419,15 @@ if (!doNotTrack) {
-

最近在弄一台機器,想要把ubuntu 18.04 安裝在software raid上

-

因為新開的機器大部分都是在proxmox上,所以很少碰實體機器了

-

結果在安裝過程中,做raid碰到一些問題,來紀錄一下

+

買了一張 DELL 6/iR 低階的raid 卡

+

來測試把系統裝在硬體做的RAID上,結果沒想到居然不能開機…

- +
@@ -450,12 +445,12 @@ if (!doNotTrack) { - +
- 13 December + 16 January @@ -477,17 +472,16 @@ if (!doNotTrack) {
-

這兩天在弄兩台Freenas ,準備當作Proxmox 的Storage & Server Backup

-

因為伺服器的限制,只能接六個SATA,我接了六個2T的硬碟做raid10

-

然後把Freenas 安裝在隨身碟上

-

不過會一直出現Smartd failed to start 的錯誤訊息

+

最近在弄一台機器,想要把ubuntu 18.04 安裝在software raid上

+

因為新開的機器大部分都是在proxmox上,所以很少碰實體機器了

+

結果在安裝過程中,做raid碰到一些問題,來紀錄一下

- +
@@ -505,12 +499,12 @@ if (!doNotTrack) { - +
- 12 December + 13 December @@ -526,24 +520,23 @@ if (!doNotTrack) { / - 碎念 + 筆記
-

最近在做一台老機器的P2V

-

偏偏user說不能關機,所以我用dd + ssh 做線上移轉

-

這部份有空再來寫

-

只是因為原來的設定有用mdadm 做raid1

-

這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

+

這兩天在弄兩台Freenas ,準備當作Proxmox 的Storage & Server Backup

+

因為伺服器的限制,只能接六個SATA,我接了六個2T的硬碟做raid10

+

然後把Freenas 安裝在隨身碟上

+

不過會一直出現Smartd failed to start 的錯誤訊息

- +
@@ -846,7 +839,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/12/index.html b/public/page/12/index.html index fa472343..3d7d1762 100644 --- a/public/page/12/index.html +++ b/public/page/12/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 07 December + 12 December @@ -309,23 +309,24 @@ if (!doNotTrack) { / - 筆記 + 碎念
-

因為工作的關係,現在很多時間都花在VIM的操作上

-

所以之前花了滿多時間,調整出一個適合自己的VIM環境

-

原本的作法是把這個設定好的環境,丟到自己建立的gitea 上面

-

然後每到一台新的機器,就要去clone 下來

+

最近在做一台老機器的P2V

+

偏偏user說不能關機,所以我用dd + ssh 做線上移轉

+

這部份有空再來寫

+

只是因為原來的設定有用mdadm 做raid1

+

這部份導致移轉過去proxmox 後,會出現raid degrade 導致無法正常開機

- +
@@ -343,12 +344,12 @@ if (!doNotTrack) { - +
- 04 December + 07 December @@ -364,27 +365,23 @@ if (!doNotTrack) { / - 群暉 + 筆記
-

前幾天公司的一台 Synology DS 415+ 發生異常

-

注意到的時候,四顆硬碟燈號都不斷的在閃爍

-

但是已經無法登入系統

-

重開機之後更慘,四顆硬碟燈號全部橘燈恆亮

-

底下的電源藍燈不斷的在閃爍

-

雖然我一再表示不希望送修了

-

一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…

-

不過主管還是希望能夠先問群暉維修的費用多少

+

因為工作的關係,現在很多時間都花在VIM的操作上

+

所以之前花了滿多時間,調整出一個適合自己的VIM環境

+

原本的作法是把這個設定好的環境,丟到自己建立的gitea 上面

+

然後每到一台新的機器,就要去clone 下來

- +
@@ -402,12 +399,12 @@ if (!doNotTrack) { - +
- 30 November + 04 December @@ -423,28 +420,27 @@ if (!doNotTrack) { / - 筆記 + 群暉
-

想做一個 10G 的 LAB 環境出來已經很久了。

-

只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜

-

如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)

-

所以一直沒有付諸行動。

-

硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)

-

聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位

-

就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線

-

就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到

-

今天就花了點時間測試一下

+

前幾天公司的一台 Synology DS 415+ 發生異常

+

注意到的時候,四顆硬碟燈號都不斷的在閃爍

+

但是已經無法登入系統

+

重開機之後更慘,四顆硬碟燈號全部橘燈恆亮

+

底下的電源藍燈不斷的在閃爍

+

雖然我一再表示不希望送修了

+

一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…

+

不過主管還是希望能夠先問群暉維修的費用多少

- +
@@ -462,12 +458,12 @@ if (!doNotTrack) { - +
- 29 November + 30 November @@ -489,16 +485,22 @@ if (!doNotTrack) {
-

在上一篇 Ansible how to use ‘list’ in yaml file

-

有提到怎麼用 with_items / set_fact 來取得在yaml 檔案中的清單

-

不過就是有點醜

+

想做一個 10G 的 LAB 環境出來已經很久了。

+

只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜

+

如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)

+

所以一直沒有付諸行動。

+

硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)

+

聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位

+

就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線

+

就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到

+

今天就花了點時間測試一下

- +
@@ -516,12 +518,12 @@ if (!doNotTrack) { - +
- 27 November + 29 November @@ -543,54 +545,16 @@ if (!doNotTrack) {
-

這幾天在玩ansible 時,碰到一個問題

-

假如我有個yaml檔作為資料來源,檔名是 abc.yml

-

大概長這樣

-
    "teams": [
-        {
-            "chinese_name": "TEAM1",
-            "description": "TEAM1",
-            "gid": 10125,
-            "location": [
-                "hq"
-            ],
-            "name": "aa",
-            "users": [
-                "chen",
-                "chou",
-                "huani",
-                "yey",
-                "wa"
-            ]
-        },
-        {
-            "chinese_name": "TEAM2",
-            "description": "TEAM2",
-            "gid": 10126,
-            "location": [
-                "hq"
-            ],
-            "name": "bb",
-            "users": [
-                "chhiao",
-                "chgc",
-                "chy",
-                "hsi",
-                "li",
-                "li",
-                "chgchi"
-            ]
-        }
-		]
-		
-
+

在上一篇 Ansible how to use ‘list’ in yaml file

+

有提到怎麼用 with_items / set_fact 來取得在yaml 檔案中的清單

+

不過就是有點醜

- +
@@ -891,7 +855,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/13/index.html b/public/page/13/index.html index f176affc..5cf49b4c 100644 --- a/public/page/13/index.html +++ b/public/page/13/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 15 November + 27 November @@ -315,17 +315,54 @@ if (!doNotTrack) {
-

最近在測試metabase,記得幾個月前就有測試過

-

但是當時的界面和現在的樣子差很多,看樣子改版還滿勤勞的

-

所以這次改用docker來建立,根本五分鐘不到就建好了(挖鼻孔)

-

不過呢,很討厭的是,一進去就發現語系採用的是簡體中文

+

這幾天在玩ansible 時,碰到一個問題

+

假如我有個yaml檔作為資料來源,檔名是 abc.yml

+

大概長這樣

+
    "teams": [
+        {
+            "chinese_name": "TEAM1",
+            "description": "TEAM1",
+            "gid": 10125,
+            "location": [
+                "hq"
+            ],
+            "name": "aa",
+            "users": [
+                "chen",
+                "chou",
+                "huani",
+                "yey",
+                "wa"
+            ]
+        },
+        {
+            "chinese_name": "TEAM2",
+            "description": "TEAM2",
+            "gid": 10126,
+            "location": [
+                "hq"
+            ],
+            "name": "bb",
+            "users": [
+                "chhiao",
+                "chgc",
+                "chy",
+                "hsi",
+                "li",
+                "li",
+                "chgchi"
+            ]
+        }
+		]
+		
+
- +
@@ -343,12 +380,12 @@ if (!doNotTrack) { - +
- 12 November + 15 November @@ -370,17 +407,17 @@ if (!doNotTrack) {
-

因為工作上的需求,有個資料庫需要開放給不同team的人去存取

-

雖然都是在同一台機器上的同一個資料庫

-

但是希望能夠不同team的人用不同的資料庫使用者

-

這樣萬一出事,會比較好抓兇手??

+

最近在測試metabase,記得幾個月前就有測試過

+

但是當時的界面和現在的樣子差很多,看樣子改版還滿勤勞的

+

所以這次改用docker來建立,根本五分鐘不到就建好了(挖鼻孔)

+

不過呢,很討厭的是,一進去就發現語系採用的是簡體中文

- +
@@ -398,12 +435,12 @@ if (!doNotTrack) { - +
- 08 November + 12 November @@ -425,20 +462,17 @@ if (!doNotTrack) {
-

這是發生在一個夜黑風高的寂寥深夜….. ( What The FXXX … )

-

來到這個環境之後,有一個很詭異的狀況一直困擾著我

-

在每個分公司,都會有一台伺服器作為KVM Host

-

上面跑兩台VM,一台作為ansible controller (目前沒作用)

-

另一台作為這邊所謂的 “Build Server”

-

用途包含了DHCP Server / Proxy Server (squid3) / APT Proxy (squid-deb-proxy)

-

問題就發生在這台 Build Server 上…

+

因為工作上的需求,有個資料庫需要開放給不同team的人去存取

+

雖然都是在同一台機器上的同一個資料庫

+

但是希望能夠不同team的人用不同的資料庫使用者

+

這樣萬一出事,會比較好抓兇手??

- +
@@ -456,12 +490,12 @@ if (!doNotTrack) { - +
- 06 November + 08 November @@ -483,19 +517,20 @@ if (!doNotTrack) {
-

最近在重新規劃前人留下的backup爛攤子 -各個伺服器統一備份到一台backup storage -想說如果每天能夠看到backup storage的磁碟用量的話 -就可以抓出備份空間成長速度、推估需要多大的磁碟空間 -找了一些工具,結果發現 durep 這個 ubuntu 內建的工具 -基本上可以滿足我的需求

+

這是發生在一個夜黑風高的寂寥深夜….. ( What The FXXX … )

+

來到這個環境之後,有一個很詭異的狀況一直困擾著我

+

在每個分公司,都會有一台伺服器作為KVM Host

+

上面跑兩台VM,一台作為ansible controller (目前沒作用)

+

另一台作為這邊所謂的 “Build Server”

+

用途包含了DHCP Server / Proxy Server (squid3) / APT Proxy (squid-deb-proxy)

+

問題就發生在這台 Build Server 上…

- +
@@ -513,7 +548,7 @@ if (!doNotTrack) { - +
@@ -540,22 +575,19 @@ if (!doNotTrack) {
-

Bookstack 是一套非常好用的線上"筆記"系統

-

他用圖書館/書本的概念,讓使用者可以建立自己的"圖書館"

-

同時在圖書館內建立不同的"書籍"

-

而且支援 Markdown 語法

-

其他的方式像是在nextcloud上編輯 md檔案(字體太小)

-

或者是boostnote(只能在本機)

-

都或多或少有點小缺點

-

Bookstack則是沒有這些問題,不過就是系統「大」了點…

-

不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

- - +

最近在重新規劃前人留下的backup爛攤子 +各個伺服器統一備份到一台backup storage +想說如果每天能夠看到backup storage的磁碟用量的話 +就可以抓出備份空間成長速度、推估需要多大的磁碟空間 +找了一些工具,結果發現 durep 這個 ubuntu 內建的工具 +基本上可以滿足我的需求

+ +
@@ -854,7 +886,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/14/index.html b/public/page/14/index.html index 6775e702..e668113f 100644 --- a/public/page/14/index.html +++ b/public/page/14/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,6 +288,66 @@ if (!doNotTrack) { + + + +
+
+ 06 November + + + + / + + + + + + + + + + / + + 筆記 + + +
+ +
+
+

Bookstack 是一套非常好用的線上"筆記"系統

+

他用圖書館/書本的概念,讓使用者可以建立自己的"圖書館"

+

同時在圖書館內建立不同的"書籍"

+

而且支援 Markdown 語法

+

其他的方式像是在nextcloud上編輯 md檔案(字體太小)

+

或者是boostnote(只能在本機)

+

都或多或少有點小缺點

+

Bookstack則是沒有這些問題,不過就是系統「大」了點…

+

不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)

+ + +
+
+
+
+ + + + + + + + +
+ + + + @@ -625,7 +685,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/2/index.html b/public/page/2/index.html index 76d0837d..637188aa 100644 --- a/public/page/2/index.html +++ b/public/page/2/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 02 September + 18 November @@ -315,19 +315,15 @@ if (!doNotTrack) {
-

之前用caddy 作為反向代理,其中一個優勢就是caddy 會自動處理Letsencrypt 憑證的問題

-

也不用煩惱怎麼去更新一堆有的沒的

-

不過,實際應用上,還是偶爾會拿這些憑證檔案來用的狀況

-

雖然可以從caddy 上面取得這些檔案

-

但是基本上這些檔案都是綁定一個特定的hostname

-

可是我想要有一個憑證,可以給同網域底下的機器用 ( Wildcard certificates )

+

最近又開始在亂搞postgresql ,一直想要玩玩看GPU運算的威力,大概一年多前,有測試了 ubuntu 18.04 + postgresql + pg_strom ,可是當時因為pg_strom 不支援當時手邊的顯示卡,只好作罷。

+

Breaks here

- +
@@ -345,12 +341,12 @@ if (!doNotTrack) { - +
- 13 August + 02 September @@ -372,19 +368,19 @@ if (!doNotTrack) {
-

手機上的廣告越來越討厭了

-

但是用手機看頁面、影片的機會越來越高

-

所以一直想看看有沒有什麼方式可以解決這個問題

-

不只可以用在safari 上,連APP 裡面的廣告最好都能夠擋掉

-

在github上面看到有個專案是 wireguard + pihole

-

滿有趣的,就來研究一下

+

之前用caddy 作為反向代理,其中一個優勢就是caddy 會自動處理Letsencrypt 憑證的問題

+

也不用煩惱怎麼去更新一堆有的沒的

+

不過,實際應用上,還是偶爾會拿這些憑證檔案來用的狀況

+

雖然可以從caddy 上面取得這些檔案

+

但是基本上這些檔案都是綁定一個特定的hostname

+

可是我想要有一個憑證,可以給同網域底下的機器用 ( Wildcard certificates )

- +
@@ -402,12 +398,12 @@ if (!doNotTrack) { - +
- 15 July + 13 August @@ -429,24 +425,19 @@ if (!doNotTrack) {
-

最近在玩ansible + openwrt + wireguard

-

ansible 腳本寫好之後,可以把config 佈署到 openwrt 上

-

當然前提是最好用同樣的機器,不同的機器在config 上會有一些差異

-

但是這些差異常常就會造成無法連線、無法使用的狀況

-

BTW 我是用 ubiquiti 的 edgerouter X 來做

-

都弄好之後,就想說來跑個iperf3 測試一下連線速度

-

也好和之前做的 IPSEC 比較一下

-

結果很奇怪的是,明明一樣的機器、一樣用ansible 跑出來的config

-

但是有一台edgerouter X 的VPN 連接速度就是特別慢

-

而且速度都剛好卡在 99.X Mb 左右

-

就讓我很納悶了…

+

手機上的廣告越來越討厭了

+

但是用手機看頁面、影片的機會越來越高

+

所以一直想看看有沒有什麼方式可以解決這個問題

+

不只可以用在safari 上,連APP 裡面的廣告最好都能夠擋掉

+

在github上面看到有個專案是 wireguard + pihole

+

滿有趣的,就來研究一下

- +
@@ -464,12 +455,12 @@ if (!doNotTrack) { - +
- 10 July + 15 July @@ -491,21 +482,24 @@ if (!doNotTrack) {
-

上禮拜某天在開會的時候,LINE不斷傳來訊息

-

不過因為我向來開會都很認真(驕傲,所以都沒看,接著就變成來電了

-

看來大概有啥事發生

-

不過畢竟不是正職的工作,就先放著吧

-

後來變成連學長都直接打來告訴我,某間公司的伺服器出事了,客戶找不到我

-

叫我趕快連進去看

-

是說,啊我又沒跟人家簽維護,趕什麼趕…

-

總之,開完會後就了解一下狀況

+

最近在玩ansible + openwrt + wireguard

+

ansible 腳本寫好之後,可以把config 佈署到 openwrt 上

+

當然前提是最好用同樣的機器,不同的機器在config 上會有一些差異

+

但是這些差異常常就會造成無法連線、無法使用的狀況

+

BTW 我是用 ubiquiti 的 edgerouter X 來做

+

都弄好之後,就想說來跑個iperf3 測試一下連線速度

+

也好和之前做的 IPSEC 比較一下

+

結果很奇怪的是,明明一樣的機器、一樣用ansible 跑出來的config

+

但是有一台edgerouter X 的VPN 連接速度就是特別慢

+

而且速度都剛好卡在 99.X Mb 左右

+

就讓我很納悶了…

- +
@@ -523,12 +517,12 @@ if (!doNotTrack) { - +
- 22 June + 10 July @@ -550,18 +544,21 @@ if (!doNotTrack) {
-

工作用的電腦,昨天終於難得的reboot了(uptime 看了一下,大概是三百多天)

-

結果重開機之後,發現原本在打tunnel 連 ptt 的 wireguard VPN 掛掉了

-

手動下指令也啟動不了

-

查了一下發現是 ubuntu 18.04 kernel 4.15.0-106 的包

-

看來就連kernel 最好都不要自動升級…

+

上禮拜某天在開會的時候,LINE不斷傳來訊息

+

不過因為我向來開會都很認真(驕傲,所以都沒看,接著就變成來電了

+

看來大概有啥事發生

+

不過畢竟不是正職的工作,就先放著吧

+

後來變成連學長都直接打來告訴我,某間公司的伺服器出事了,客戶找不到我

+

叫我趕快連進去看

+

是說,啊我又沒跟人家簽維護,趕什麼趕…

+

總之,開完會後就了解一下狀況

- +
@@ -856,7 +853,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/3/index.html b/public/page/3/index.html index 10451b59..e6cfb049 100644 --- a/public/page/3/index.html +++ b/public/page/3/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 08 April + 22 June @@ -315,16 +315,18 @@ if (!doNotTrack) {
-

ubuntu 18.04 預設移掉了 /etc/rc.local 的功能

-

變成要用 systemd 的方式來運作,可是有點難用…

-

紀錄一下步驟,再來研究怎麼整合到 preseed 裡面

+

工作用的電腦,昨天終於難得的reboot了(uptime 看了一下,大概是三百多天)

+

結果重開機之後,發現原本在打tunnel 連 ptt 的 wireguard VPN 掛掉了

+

手動下指令也啟動不了

+

查了一下發現是 ubuntu 18.04 kernel 4.15.0-106 的包

+

看來就連kernel 最好都不要自動升級…

- +
@@ -342,12 +344,12 @@ if (!doNotTrack) { - +
- 06 April + 08 April @@ -369,17 +371,16 @@ if (!doNotTrack) {
-

這是之前做過的task,client透過pxe開機後,會自動安裝ubuntu 14.04

-

在安裝完成後,會發出郵件通知管理者已經安裝完成

-

可是某次ansible 更新之後,反而沒辦法安裝完成

-

這次順手修改一下,同時更新了ansible 的template

+

ubuntu 18.04 預設移掉了 /etc/rc.local 的功能

+

變成要用 systemd 的方式來運作,可是有點難用…

+

紀錄一下步驟,再來研究怎麼整合到 preseed 裡面

- +
@@ -397,12 +398,12 @@ if (!doNotTrack) { - +
- 04 March + 06 April @@ -424,19 +425,17 @@ if (!doNotTrack) {
-

ubuntu 18.04 的 DNS 設定很煩

-

系統預設會用NetworkManager 去管理

-

然後NetworkManager 又很「靈活」的許多種修改 /etc/resolv.conf 的方式

-

之前都是很粗暴的停用 NetworkManager

-

但是用筆電的user 又需要用 NetworkManager 來管理無線網路

-

今天找了一下文件,讓NetworkManager 可以執行,卻不會去異動 /etc/resolv.conf

+

這是之前做過的task,client透過pxe開機後,會自動安裝ubuntu 14.04

+

在安裝完成後,會發出郵件通知管理者已經安裝完成

+

可是某次ansible 更新之後,反而沒辦法安裝完成

+

這次順手修改一下,同時更新了ansible 的template

- +
@@ -454,12 +453,12 @@ if (!doNotTrack) { - +
- 19 February + 04 March @@ -481,19 +480,19 @@ if (!doNotTrack) {
-

早上忘了要幹什麼,去看到手上的自然人憑證到期日是今年的 4/17

-

想說快到期了,看看能不能線上申請展延

-

結果辦公室沒有Linux 可以用的讀卡機

-

OOXX 咧,我們可是號稱全Linux 環境捏!

-

結果居然沒有對應的硬體!?

-

於是馬上敗了一台據說有支援 Linux 的 IT 850UM 讀卡機!

+

ubuntu 18.04 的 DNS 設定很煩

+

系統預設會用NetworkManager 去管理

+

然後NetworkManager 又很「靈活」的許多種修改 /etc/resolv.conf 的方式

+

之前都是很粗暴的停用 NetworkManager

+

但是用筆電的user 又需要用 NetworkManager 來管理無線網路

+

今天找了一下文件,讓NetworkManager 可以執行,卻不會去異動 /etc/resolv.conf

- +
@@ -511,12 +510,12 @@ if (!doNotTrack) { - +
- 17 January + 19 February @@ -538,17 +537,19 @@ if (!doNotTrack) {
-

前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+

-

詳情請看 https://h.cowbay.org/post/first-try-synology-ha/

-

今天趁尾牙前夕,手邊沒啥要緊事

-

就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境

+

早上忘了要幹什麼,去看到手上的自然人憑證到期日是今年的 4/17

+

想說快到期了,看看能不能線上申請展延

+

結果辦公室沒有Linux 可以用的讀卡機

+

OOXX 咧,我們可是號稱全Linux 環境捏!

+

結果居然沒有對應的硬體!?

+

於是馬上敗了一台據說有支援 Linux 的 IT 850UM 讀卡機!

- +
@@ -845,7 +846,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/4/index.html b/public/page/4/index.html index 74460e42..82d4f084 100644 --- a/public/page/4/index.html +++ b/public/page/4/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 10 January + 17 January @@ -315,19 +315,17 @@ if (!doNotTrack) {
-

上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了

-

原因應該就是之前的 intel c2000 series cpu 的 bug

-

只是不知道為什麼這台兩三年來都沒有關機的NAS

-

比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)

-

趁著這次機會,看看網路上說的換電阻大法有沒有用!

-

如果有用,就拿這兩台來玩玩 synology high availability !

+

前幾天修復了因為intel cpu bug 導致無法使用的 synology DS415+

+

詳情請看 https://h.cowbay.org/post/first-try-synology-ha/

+

今天趁尾牙前夕,手邊沒啥要緊事

+

就來玩玩看promox 加上 synology high availability 再加上 NFS share 的環境

- +
@@ -345,12 +343,12 @@ if (!doNotTrack) { - +
- 07 January + 10 January @@ -372,17 +370,19 @@ if (!doNotTrack) {
-

昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench

-

分數大概如何,想要跟他的筆電做個比較

-

之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本

-

對於pgbench 跑分會有多大的影響

+

上禮拜,原本擔任 proxmox cluster 的主要 storage 的 ds415+ 掛點了

+

原因應該就是之前的 intel c2000 series cpu 的 bug

+

只是不知道為什麼這台兩三年來都沒有關機的NAS

+

比其他三台多撐了那麼久 (已經有兩台送修回來,一台也是同樣症狀,被放在一邊)

+

趁著這次機會,看看網路上說的換電阻大法有沒有用!

+

如果有用,就拿這兩台來玩玩 synology high availability !

- +
@@ -400,12 +400,12 @@ if (!doNotTrack) { - +
- 03 January + 07 January @@ -427,16 +427,17 @@ if (!doNotTrack) {
-

2020/01/02 , 2020年上工的第一天,群暉的 DS415+ NAS 掛了!

-

因為群暉的文件在最關鍵的一步寫得亂七八糟!

-

所以在這邊紀錄一下我操作的步驟!

+

昨天老闆在slack 上面問說現在的幾台 DB Server 有沒有跑過 pgbench

+

分數大概如何,想要跟他的筆電做個比較

+

之前有跑過幾次,這次就順便測試一下不同的硬體配置、以及不同的軟體版本

+

對於pgbench 跑分會有多大的影響

- +
@@ -454,7 +455,7 @@ if (!doNotTrack) { - +
@@ -475,23 +476,22 @@ if (!doNotTrack) { / - 雜念 + 筆記
-

2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了

-

開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況

-

終於宣告不治

-

問題很明顯的就是Intel C2000 系列 CPU 的瑕疵

+

2020/01/02 , 2020年上工的第一天,群暉的 DS415+ NAS 掛了!

+

因為群暉的文件在最關鍵的一步寫得亂七八糟!

+

所以在這邊紀錄一下我操作的步驟!

- +
@@ -509,12 +509,12 @@ if (!doNotTrack) { - +
- 27 December + 03 January @@ -530,23 +530,23 @@ if (!doNotTrack) { / - 筆記 + 雜念
-

今天在寫一支客製化 firefox 的playbook

-

因為firefox 會給每個user 建立一個由亂數字串組成的default profile

-

所以每個user的 default profile 都不同

-

也因此在用register處理的時候,碰到了一些問題

+

2020/01/02 2020 上工的第一天,公司碩果僅存的唯一一台 Synology DS415+ 也終於掛了

+

開機沒多久就連不上,反覆幾次之後,出現了開機時所有燈號都狂閃的狀況

+

終於宣告不治

+

問題很明顯的就是Intel C2000 系列 CPU 的瑕疵

- +
@@ -845,7 +845,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/5/index.html b/public/page/5/index.html index 809c6db3..5f10a2dc 100644 --- a/public/page/5/index.html +++ b/public/page/5/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 24 December + 27 December @@ -315,18 +315,17 @@ if (!doNotTrack) {
-

正確來說,我不曉得到底怎麼「稱呼」這個 forwardx11 / forwardagent

-

總之就是在寫一隻ansible playbook

-

目的是用來安裝、設定 firefox

-

包含安裝 firefox addon

-

但是一開始在執行的時候,碰到了一些錯誤

+

今天在寫一支客製化 firefox 的playbook

+

因為firefox 會給每個user 建立一個由亂數字串組成的default profile

+

所以每個user的 default profile 都不同

+

也因此在用register處理的時候,碰到了一些問題

- +
@@ -344,12 +343,12 @@ if (!doNotTrack) { - +
- 20 December + 24 December @@ -371,19 +370,18 @@ if (!doNotTrack) {
-

老闆提到想要把新系統的 postgresql 資料庫都撈到記憶體裡面

-

但是否決了我提出的ramdisk 作法(因為當機的話,資料就沒了)

-

在找資料的時候,發現了這個postgresql 的 pg_prewarm extension

-

好像有點意思?就來測試看看吧!

-

只是目前還不知道該怎麼解讀測試的數據就是了…

-

幹!林北真的不是 DBA 啦 =.=

+

正確來說,我不曉得到底怎麼「稱呼」這個 forwardx11 / forwardagent

+

總之就是在寫一隻ansible playbook

+

目的是用來安裝、設定 firefox

+

包含安裝 firefox addon

+

但是一開始在執行的時候,碰到了一些錯誤

- +
@@ -401,12 +399,12 @@ if (!doNotTrack) { - +
- 18 December + 20 December @@ -428,16 +426,19 @@ if (!doNotTrack) {
-

剛剛在跑一個修改過的playbook,卻發現一個詭異的狀況

-

在用template產生檔案之前,爲了避免錯誤,所以我先用 file module 去建立目錄

-

怪就怪在,建立目錄的task沒錯,但是要產生檔案時,卻出現了目的目錄不存在的錯誤

+

老闆提到想要把新系統的 postgresql 資料庫都撈到記憶體裡面

+

但是否決了我提出的ramdisk 作法(因為當機的話,資料就沒了)

+

在找資料的時候,發現了這個postgresql 的 pg_prewarm extension

+

好像有點意思?就來測試看看吧!

+

只是目前還不知道該怎麼解讀測試的數據就是了…

+

幹!林北真的不是 DBA 啦 =.=

- +
@@ -455,12 +456,12 @@ if (!doNotTrack) { - +
- 16 December + 18 December @@ -482,17 +483,16 @@ if (!doNotTrack) {
-

這幾天在ansible 寫了一份新的playbook給developer 用

-

然後user反映說,希望能在ubuntu 18.04 內建的dock 裏面新增一個gnome-terminal的icon

-

我才發現原來之前的寫法不能用在 ubuntu 18.04 上

-

只好又弄了一份出來

+

剛剛在跑一個修改過的playbook,卻發現一個詭異的狀況

+

在用template產生檔案之前,爲了避免錯誤,所以我先用 file module 去建立目錄

+

怪就怪在,建立目錄的task沒錯,但是要產生檔案時,卻出現了目的目錄不存在的錯誤

- +
@@ -510,12 +510,12 @@ if (!doNotTrack) { - +
- 31 October + 16 December @@ -537,21 +537,17 @@ if (!doNotTrack) {
-

最近在準備升級client 的作業系統,從 ubuntu 14.04 準備升級到 18.04 或明年的 20.04

-

因為公司政策的關係,所以現在要連接internet ,需要申請

-

然後 user 再去系統的proxy 設定新增一個 PAC 檔

-

但是這個動作其實是去叫NetworkManager 這個服務

-

可是在18.04 上,我會把這個服務關掉,因為他會干擾我的DNS設定

-

所以想試試看有沒有辦法不使用 NetworkManager 服務

-

又能夠在 user level 修改 proxy 參數

-

就想到了用 dconf 來做

- - +

這幾天在ansible 寫了一份新的playbook給developer 用

+

然後user反映說,希望能在ubuntu 18.04 內建的dock 裏面新增一個gnome-terminal的icon

+

我才發現原來之前的寫法不能用在 ubuntu 18.04 上

+

只好又弄了一份出來

+ +
@@ -852,7 +848,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/6/index.html b/public/page/6/index.html index 665334b0..da31aed6 100644 --- a/public/page/6/index.html +++ b/public/page/6/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 14 October + 31 October @@ -315,17 +315,21 @@ if (!doNotTrack) {
-

最近上班閒得發慌,沒事就上 github 找看看有沒有什麼好玩的專案

-

就不小心發現了這個 streisand

-

https://github.com/StreisandEffect/streisand

-

玩了一下,發現這根本就是終極的VPN Server solution ..

- - +

最近在準備升級client 的作業系統,從 ubuntu 14.04 準備升級到 18.04 或明年的 20.04

+

因為公司政策的關係,所以現在要連接internet ,需要申請

+

然後 user 再去系統的proxy 設定新增一個 PAC 檔

+

但是這個動作其實是去叫NetworkManager 這個服務

+

可是在18.04 上,我會把這個服務關掉,因為他會干擾我的DNS設定

+

所以想試試看有沒有辦法不使用 NetworkManager 服務

+

又能夠在 user level 修改 proxy 參數

+

就想到了用 dconf 來做

+ +
@@ -343,12 +347,12 @@ if (!doNotTrack) { - +
- 04 October + 14 October @@ -364,21 +368,23 @@ if (!doNotTrack) { / - + 筆記
@@ -396,12 +402,12 @@ if (!doNotTrack) { - +
- 20 September + 04 October @@ -417,25 +423,21 @@ if (!doNotTrack) { / - 筆記 +
-

最近都在弄postgresql

-

備份、還原測試得差不多了,就等著看到時候要用什麼方式

-

前幾天看到 pg_auto_failover 這個postgresql 的extension

-

https://github.com/citusdata/pg_auto_failover

-

感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA

-

不過,反正當作練功嘛,多測試一套也不錯!

+

這兩天在找關於在 ubuntu 中做搜尋的軟體

+

意外找到一個非常好用的工具 ulauncher

- +
@@ -453,12 +455,12 @@ if (!doNotTrack) { - +
- 10 September + 20 September @@ -480,16 +482,19 @@ if (!doNotTrack) {
-

前幾天在淘寶上買了個 SSK 的USB 3.1 Gen2 (type-c) NVME SSD 外接盒 -手邊也剛好有一條多的intel 600p nvme ssd 就順手來做個比較 -目標是看看有沒有可能直接用外接的SSD來跑postgresql

+

最近都在弄postgresql

+

備份、還原測試得差不多了,就等著看到時候要用什麼方式

+

前幾天看到 pg_auto_failover 這個postgresql 的extension

+

https://github.com/citusdata/pg_auto_failover

+

感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA

+

不過,反正當作練功嘛,多測試一套也不錯!

- +
@@ -507,12 +512,12 @@ if (!doNotTrack) { - +
- 06 September + 10 September @@ -534,16 +539,16 @@ if (!doNotTrack) {
-

前面測試了用pgbarman / pgbackrest 來備份 postgresql

-

這次改從system file level 來下手

-

採用zfs 的快照來備份、還原postgresql 資料庫

+

前幾天在淘寶上買了個 SSK 的USB 3.1 Gen2 (type-c) NVME SSD 外接盒 +手邊也剛好有一條多的intel 600p nvme ssd 就順手來做個比較 +目標是看看有沒有可能直接用外接的SSD來跑postgresql

- +
@@ -846,7 +851,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/7/index.html b/public/page/7/index.html index ff2901f8..74fe71c5 100644 --- a/public/page/7/index.html +++ b/public/page/7/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 05 September + 06 September @@ -315,14 +315,16 @@ if (!doNotTrack) {
@@ -340,12 +342,12 @@ if (!doNotTrack) { - +
- 23 August + 05 September @@ -367,14 +369,14 @@ if (!doNotTrack) {
@@ -392,7 +394,7 @@ if (!doNotTrack) { - +
@@ -419,17 +421,14 @@ if (!doNotTrack) {
@@ -447,12 +446,12 @@ if (!doNotTrack) { - +
- 20 August + 23 August @@ -474,17 +473,17 @@ if (!doNotTrack) {
-

因為老闆說要試試看用GPU 來跑postgresql 威力

-

手邊剛好有一張 geforce gt 720

-

一開始沒想太多,看到有這張卡的驅動程式,然後CUDA也有支援

-

就直接從桌機拔下來,接去LAB Server ,然後就開始一連串的難關了…

+

很久以前就有看到這個用來備份postgresql 的 pgbarman

+

https://www.pgbarman.org/

+

前幾天老闆在slack 上面又提到,所以這次就花了點時間來玩玩看

+

不過呢,雖然有弄起來,但是還真不知道有些問題是怎麼解決的…

- +
@@ -502,12 +501,12 @@ if (!doNotTrack) { - +
- 16 August + 20 August @@ -529,20 +528,17 @@ if (!doNotTrack) {
-

最近一直在玩 wireguard ,先前把各個分公司和總部的VPN 改用 wireguard 建立

-

想說再打個VPN tunnel 來當跳板連 ptt 好了

-

因為wireguard 建立很簡單,而且又可以指定想要繞出去的路由,不會影響原本的網路環境

-

本來是在vultr 的VPS上面建立這個tunnel

-

但是那台VPS連去ptt 很頓,卡卡的

-

所以改用google cloud platform 的free tier 來做

-

反正只是拿來當跳板,不會有什麼流量、運算產生,可以一直保持免費的狀態

- - +

因為老闆說要試試看用GPU 來跑postgresql 威力

+

手邊剛好有一張 geforce gt 720

+

一開始沒想太多,看到有這張卡的驅動程式,然後CUDA也有支援

+

就直接從桌機拔下來,接去LAB Server ,然後就開始一連串的難關了…

+ +
@@ -845,7 +841,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/8/index.html b/public/page/8/index.html index 3df64f10..efe52de5 100644 --- a/public/page/8/index.html +++ b/public/page/8/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 13 August + 16 August @@ -315,19 +315,20 @@ if (!doNotTrack) {
-

因為實在受夠了現在用的 openwrt + strongswan 建立 IPSec VPN

-

雖然說其實沒有什麼不好,但是畢竟不是我建立的,而當初的文件也都不見了

-

完全沒辦法了解當時設計的邏輯,造成後續debug 困難

-

可以想像一下,一台VPN router ping 不到remote、ping不到internet、甚至ping不到自己 是要怎麼debug !?(翻桌

-

之前買了兩台edgerouter X 拿來玩了一下 wireguard,感覺還不錯,不過只有測試到點對點

-

這次試試看躲在gateway後面,看看能不能建立多點的VPN環境

- - +

最近一直在玩 wireguard ,先前把各個分公司和總部的VPN 改用 wireguard 建立

+

想說再打個VPN tunnel 來當跳板連 ptt 好了

+

因為wireguard 建立很簡單,而且又可以指定想要繞出去的路由,不會影響原本的網路環境

+

本來是在vultr 的VPS上面建立這個tunnel

+

但是那台VPS連去ptt 很頓,卡卡的

+

所以改用google cloud platform 的free tier 來做

+

反正只是拿來當跳板,不會有什麼流量、運算產生,可以一直保持免費的狀態

+ +
@@ -345,12 +346,12 @@ if (!doNotTrack) { - +
- 06 August + 13 August @@ -372,23 +373,19 @@ if (!doNotTrack) {
-

之前總部和分公司之間 是用buffalo 的小AP 灌 openwrt

-

然後用strongswan 來打 IPSEC site to site VPN

-

config 看起來不是很難 (只是看起來)

-

但是實際上已經找不到當初的文件

-

所以要維護很困難(光那些RSA KEY 就不知道為何、如何產生)

-

後來採購了兩台edgerouter X 做測試

-

也用openvpn 成功的建立了 site to site VPN

-

本來想說 openvpn 已經夠簡單了

-

今天看到文章說用wireguard 可以更簡單

-

於是研究了一下,發現還真的很簡單!

+

因為實在受夠了現在用的 openwrt + strongswan 建立 IPSec VPN

+

雖然說其實沒有什麼不好,但是畢竟不是我建立的,而當初的文件也都不見了

+

完全沒辦法了解當時設計的邏輯,造成後續debug 困難

+

可以想像一下,一台VPN router ping 不到remote、ping不到internet、甚至ping不到自己 是要怎麼debug !?(翻桌

+

之前買了兩台edgerouter X 拿來玩了一下 wireguard,感覺還不錯,不過只有測試到點對點

+

這次試試看躲在gateway後面,看看能不能建立多點的VPN環境

- +
@@ -406,12 +403,12 @@ if (!doNotTrack) { - +
- 05 August + 06 August @@ -427,25 +424,29 @@ if (!doNotTrack) { / - ansible + 筆記
-

之前為了能夠在執行完 ansible playbook 後,能有個log 可以看

-

所以在每次執行的時候,都要加入 tee 的指令

-

像是

-
ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook  /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
-

一直都是放在crontab 裡面執行,也就沒有去管他

-

反正也沒有人關心結果怎樣 (攤手

+

之前總部和分公司之間 是用buffalo 的小AP 灌 openwrt

+

然後用strongswan 來打 IPSEC site to site VPN

+

config 看起來不是很難 (只是看起來)

+

但是實際上已經找不到當初的文件

+

所以要維護很困難(光那些RSA KEY 就不知道為何、如何產生)

+

後來採購了兩台edgerouter X 做測試

+

也用openvpn 成功的建立了 site to site VPN

+

本來想說 openvpn 已經夠簡單了

+

今天看到文章說用wireguard 可以更簡單

+

於是研究了一下,發現還真的很簡單!

- +
@@ -463,12 +464,12 @@ if (!doNotTrack) { - +
- 31 July + 05 August @@ -484,27 +485,25 @@ if (!doNotTrack) { / - 筆記 + ansible
-

最近有個任務,需要大量安裝client

-

想用PXE來處理,只要user開機按F12(acer 桌機) 選擇PXE Boot

-

然後選擇OS版本,就可以自動進行安裝

-

安裝完成後,會自動重新開機,接著就用ansible來做user環境設定

-

PXE的部份本來是沒有什麼問題,自動安裝系統的部份都做好了

-

可是因為這次的量比較多,想說讓每一台在完成PXE安裝後的第一次重開機

-

就送出一封郵件來通知我,說已經完成安裝,可以執行ansible 了

-

看似很簡單的一件事情,卻搞了我兩天….

+

之前為了能夠在執行完 ansible playbook 後,能有個log 可以看

+

所以在每次執行的時候,都要加入 tee 的指令

+

像是

+
ANSIBLE_CONFIG=/home/D/ansiblecontrol/ansible.cfg /usr/local/bin/ansible-playbook  /home/D/ansiblecontrol/playbook.user_client.yml --vault-password-file=/home/D/ansiblecontrol/vault.passwd -i /home/D/ansiblecontrol/inventory/production -f1 --limit tyuserclients |tee /tmp/tyuserclients.log
+

一直都是放在crontab 裡面執行,也就沒有去管他

+

反正也沒有人關心結果怎樣 (攤手

- +
@@ -522,12 +521,12 @@ if (!doNotTrack) { - +
- 23 July + 31 July @@ -543,23 +542,27 @@ if (!doNotTrack) { / - ansible + 筆記
-

因為工作上的需要,要修改client端的 /etc/environment 檔案

-

在有權限使用proxy 服務的user的環境中,加入proxy 的設定

-

原本的清單中,有host/user/ip 這幾個值可以拿來判斷

-

proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment

+

最近有個任務,需要大量安裝client

+

想用PXE來處理,只要user開機按F12(acer 桌機) 選擇PXE Boot

+

然後選擇OS版本,就可以自動進行安裝

+

安裝完成後,會自動重新開機,接著就用ansible來做user環境設定

+

PXE的部份本來是沒有什麼問題,自動安裝系統的部份都做好了

+

可是因為這次的量比較多,想說讓每一台在完成PXE安裝後的第一次重開機

+

就送出一封郵件來通知我,說已經完成安裝,可以執行ansible 了

+

看似很簡單的一件事情,卻搞了我兩天….

- +
@@ -862,7 +865,7 @@ if (!doNotTrack) {
- + diff --git a/public/page/9/index.html b/public/page/9/index.html index 73944c8a..101b4fa1 100644 --- a/public/page/9/index.html +++ b/public/page/9/index.html @@ -21,9 +21,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-09-29 14:38:10 \u002b0800 CST", - "dateModified" : "2021-09-29 14:38:10 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -46,9 +46,9 @@ - + - + @@ -288,12 +288,12 @@ if (!doNotTrack) { - +
- 01 July + 23 July @@ -309,22 +309,23 @@ if (!doNotTrack) { / - Ansible + ansible
-

在ansible中,關於如何引用自定義的變數,一直讓我很頭疼

-

尤其是有牽涉到從外部導入yaml檔案時,更是常常讓我不知道到底該怎麼抓出想要的變數

-

這次還是用selectattr 來處理,希望下次能夠記得…

+

因為工作上的需要,要修改client端的 /etc/environment 檔案

+

在有權限使用proxy 服務的user的環境中,加入proxy 的設定

+

原本的清單中,有host/user/ip 這幾個值可以拿來判斷

+

proxy server 那邊是採用ip 來控制,所以這邊也跟著用 ip 來判斷要不要修改 /etc/environment

- +
@@ -342,12 +343,12 @@ if (!doNotTrack) { - +
- 20 June + 01 July @@ -363,24 +364,22 @@ if (!doNotTrack) { / - 筆記 + Ansible
-

之前在LAN/windows環境下,一直都是用ultravnc/winvnc/tigervnc之類的VNC軟體

-

但是如果要過 internet ,就會碰到各種開port的問題

-

在這種環境下,就有了當時 teamviewer 的橫空出世

-

解決了開PORT的問題,讓被控端(通常是資訊技術相對弱勢,需要接受幫助的一方)不需要懂太多

-

只要下載teamviewer被控端,開啟後報ID 給協助者就好了

+

在ansible中,關於如何引用自定義的變數,一直讓我很頭疼

+

尤其是有牽涉到從外部導入yaml檔案時,更是常常讓我不知道到底該怎麼抓出想要的變數

+

這次還是用selectattr 來處理,希望下次能夠記得…

- +
@@ -398,12 +397,12 @@ if (!doNotTrack) { - +
- 17 June + 20 June @@ -419,25 +418,24 @@ if (!doNotTrack) { / - Proxmox + 筆記
-

前幾天接的一個case

-

因為費用的關係,所以沒有考慮用傳統定義上的伺服器(DELL R640)

-

改採用比較高階一點的洋垃圾,規格大概是 Intel E5-2680V2 x2 + 64G RAM + 128G SSD x2 (OS) + 960G SSD x4 (raid 10 , zfs)

-

storage 選擇QNAP NAS TS-932X + 960G SSD x 4 (raid 10 , NFS) + QNAP 10G Switch QSW-1280C-8C

-

既然storage這邊選用了10G的機種,伺服器上當然也要增加10G網卡

-

一樣,成本考量,就不用INTEL 了,買了這張 ASUS 10G 網卡

+

之前在LAN/windows環境下,一直都是用ultravnc/winvnc/tigervnc之類的VNC軟體

+

但是如果要過 internet ,就會碰到各種開port的問題

+

在這種環境下,就有了當時 teamviewer 的橫空出世

+

解決了開PORT的問題,讓被控端(通常是資訊技術相對弱勢,需要接受幫助的一方)不需要懂太多

+

只要下載teamviewer被控端,開啟後報ID 給協助者就好了

- +
@@ -455,12 +453,12 @@ if (!doNotTrack) { - +
- 21 May + 17 June @@ -476,21 +474,25 @@ if (!doNotTrack) { / - 筆記 + Proxmox
-

最近一直在玩一些docker,不過老是會碰到歪果扔寫的東西,時區都不一致

-

有的用 UTC,有的用localtime,就是沒碰到用 Asia/Taipei 的….

+

前幾天接的一個case

+

因為費用的關係,所以沒有考慮用傳統定義上的伺服器(DELL R640)

+

改採用比較高階一點的洋垃圾,規格大概是 Intel E5-2680V2 x2 + 64G RAM + 128G SSD x2 (OS) + 960G SSD x4 (raid 10 , zfs)

+

storage 選擇QNAP NAS TS-932X + 960G SSD x 4 (raid 10 , NFS) + QNAP 10G Switch QSW-1280C-8C

+

既然storage這邊選用了10G的機種,伺服器上當然也要增加10G網卡

+

一樣,成本考量,就不用INTEL 了,買了這張 ASUS 10G 網卡

- +
@@ -508,12 +510,12 @@ if (!doNotTrack) { - +
- 17 May + 21 May @@ -529,23 +531,21 @@ if (!doNotTrack) { / - linux + 筆記
-

工作上常會需要用ssh登入遠端主機檢查LOG,有必要的時候,還要把log複製回本機來處理。

-

以前都是傻傻的用 scp 傳檔案

-

之前就記得有這個xclip/xsel 可以用,但是一直沒有弄清楚怎麼執行

-

早上研究了一下,順便做個筆記。

+

最近一直在玩一些docker,不過老是會碰到歪果扔寫的東西,時區都不一致

+

有的用 UTC,有的用localtime,就是沒碰到用 Asia/Taipei 的….

- +
@@ -848,7 +848,7 @@ if (!doNotTrack) {
- + diff --git a/public/post/10g-lab-using-proxmox-and-mellanox/index.html b/public/post/10g-lab-using-proxmox-and-mellanox/index.html index ad456740..fe8d0968 100644 --- a/public/post/10g-lab-using-proxmox-and-mellanox/index.html +++ b/public/post/10g-lab-using-proxmox-and-mellanox/index.html @@ -45,9 +45,9 @@ - + - + @@ -723,7 +723,7 @@ title="pinterest icon">
- + diff --git a/public/post/accidentally-typed-an-extra-space-in-ansible-playbook/index.html b/public/post/accidentally-typed-an-extra-space-in-ansible-playbook/index.html index 3cac50b8..79c09960 100644 --- a/public/post/accidentally-typed-an-extra-space-in-ansible-playbook/index.html +++ b/public/post/accidentally-typed-an-extra-space-in-ansible-playbook/index.html @@ -45,9 +45,9 @@ - + - + @@ -661,7 +661,7 @@ title="pinterest icon">
- + diff --git a/public/post/add-system-wide-favorite-apps-in-dconf/index.html b/public/post/add-system-wide-favorite-apps-in-dconf/index.html index 6c0ae23a..1ab2c2fb 100644 --- a/public/post/add-system-wide-favorite-apps-in-dconf/index.html +++ b/public/post/add-system-wide-favorite-apps-in-dconf/index.html @@ -45,9 +45,9 @@ - + - + @@ -629,7 +629,7 @@ title="pinterest icon">
- + diff --git a/public/post/another-way-to-keep-ansible-log/index.html b/public/post/another-way-to-keep-ansible-log/index.html index 8ddd5681..2e3a45ee 100644 --- a/public/post/another-way-to-keep-ansible-log/index.html +++ b/public/post/another-way-to-keep-ansible-log/index.html @@ -45,9 +45,9 @@ - + - + @@ -602,7 +602,7 @@ title="pinterest icon">
- + diff --git a/public/post/ansible-get-value-from-loop-register/index.html b/public/post/ansible-get-value-from-loop-register/index.html index 3d673323..21213730 100644 --- a/public/post/ansible-get-value-from-loop-register/index.html +++ b/public/post/ansible-get-value-from-loop-register/index.html @@ -45,9 +45,9 @@ - + - + @@ -688,7 +688,7 @@ title="pinterest icon">
- + diff --git a/public/post/ansible-run-task-depends-on-ipaddr/index.html b/public/post/ansible-run-task-depends-on-ipaddr/index.html index d82e42a2..e00b7195 100644 --- a/public/post/ansible-run-task-depends-on-ipaddr/index.html +++ b/public/post/ansible-run-task-depends-on-ipaddr/index.html @@ -45,9 +45,9 @@ - + - + @@ -665,7 +665,7 @@ title="pinterest icon">
- + diff --git a/public/post/ansible-selectattr-filter/index.html b/public/post/ansible-selectattr-filter/index.html index 63afd2bb..a62f00a4 100644 --- a/public/post/ansible-selectattr-filter/index.html +++ b/public/post/ansible-selectattr-filter/index.html @@ -45,9 +45,9 @@ - + - + @@ -607,7 +607,7 @@ title="pinterest icon">
- + diff --git a/public/post/ansible-selectattr-from-list-in-dictionary/index.html b/public/post/ansible-selectattr-from-list-in-dictionary/index.html index e7d913d8..3d6f9152 100644 --- a/public/post/ansible-selectattr-from-list-in-dictionary/index.html +++ b/public/post/ansible-selectattr-from-list-in-dictionary/index.html @@ -45,9 +45,9 @@ - + - + @@ -658,7 +658,7 @@ title="pinterest icon">
- + diff --git a/public/post/ansible-selectattr/index.html b/public/post/ansible-selectattr/index.html index 8f7fd6dc..5f732f19 100644 --- a/public/post/ansible-selectattr/index.html +++ b/public/post/ansible-selectattr/index.html @@ -45,9 +45,9 @@ - + - + @@ -693,7 +693,7 @@ title="pinterest icon">
- + diff --git a/public/post/ansible-ssh-forwardagent/index.html b/public/post/ansible-ssh-forwardagent/index.html index 4e6908ad..5e26df30 100644 --- a/public/post/ansible-ssh-forwardagent/index.html +++ b/public/post/ansible-ssh-forwardagent/index.html @@ -45,9 +45,9 @@ - + - + @@ -728,7 +728,7 @@ title="pinterest icon">
- + diff --git a/public/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/index.html b/public/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/index.html index f5db4c63..880b2d27 100644 --- a/public/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/index.html +++ b/public/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/index.html @@ -45,9 +45,9 @@ - + - + @@ -799,7 +799,7 @@ title="pinterest icon">
- + diff --git a/public/post/awesome-all-in-one-vpn-server-streisand/index.html b/public/post/awesome-all-in-one-vpn-server-streisand/index.html index 717f1dbf..ad35565c 100644 --- a/public/post/awesome-all-in-one-vpn-server-streisand/index.html +++ b/public/post/awesome-all-in-one-vpn-server-streisand/index.html @@ -45,9 +45,9 @@ - + - + @@ -617,7 +617,7 @@ title="pinterest icon">
- + diff --git a/public/post/backup-restore-postgresql-with-pgbackrest/index.html b/public/post/backup-restore-postgresql-with-pgbackrest/index.html index b4e72c97..1528e421 100644 --- a/public/post/backup-restore-postgresql-with-pgbackrest/index.html +++ b/public/post/backup-restore-postgresql-with-pgbackrest/index.html @@ -45,9 +45,9 @@ - + - + @@ -790,7 +790,7 @@ title="pinterest icon">
- + diff --git a/public/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/index.html b/public/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/index.html index d570cd28..9abe066c 100644 --- a/public/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/index.html +++ b/public/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/index.html @@ -45,9 +45,9 @@ - + - + @@ -929,7 +929,7 @@ title="pinterest icon">
- + diff --git a/public/post/bookstack-docker/index.html b/public/post/bookstack-docker/index.html index 44d165f3..b2425346 100644 --- a/public/post/bookstack-docker/index.html +++ b/public/post/bookstack-docker/index.html @@ -45,9 +45,9 @@ - + - + @@ -653,7 +653,7 @@ title="pinterest icon">
- + diff --git a/public/post/change-preferred-language-in-firefox/index.html b/public/post/change-preferred-language-in-firefox/index.html index 1a1f2e12..3b5dfe93 100644 --- a/public/post/change-preferred-language-in-firefox/index.html +++ b/public/post/change-preferred-language-in-firefox/index.html @@ -45,9 +45,9 @@ - + - + @@ -626,7 +626,7 @@ title="pinterest icon">
- + diff --git a/public/post/change-timezone-in-docker/index.html b/public/post/change-timezone-in-docker/index.html index dbcb61ca..073577e0 100644 --- a/public/post/change-timezone-in-docker/index.html +++ b/public/post/change-timezone-in-docker/index.html @@ -45,9 +45,9 @@ - + - + @@ -681,7 +681,7 @@ title="pinterest icon">
- + diff --git a/public/post/check-port-speed-in-openwrt/index.html b/public/post/check-port-speed-in-openwrt/index.html index 0877fc82..d0118aa3 100644 --- a/public/post/check-port-speed-in-openwrt/index.html +++ b/public/post/check-port-speed-in-openwrt/index.html @@ -45,9 +45,9 @@ - + - + @@ -1030,7 +1030,7 @@ title="pinterest icon">
- + diff --git a/public/post/cloudcmd-web-file-manager/index.html b/public/post/cloudcmd-web-file-manager/index.html index b076009b..38dada00 100644 --- a/public/post/cloudcmd-web-file-manager/index.html +++ b/public/post/cloudcmd-web-file-manager/index.html @@ -45,9 +45,9 @@ - + - + @@ -619,7 +619,7 @@ title="pinterest icon">
- + diff --git a/public/post/command_to_test_main_ssl/index.html b/public/post/command_to_test_main_ssl/index.html index 80f2f8c6..2eb7860d 100644 --- a/public/post/command_to_test_main_ssl/index.html +++ b/public/post/command_to_test_main_ssl/index.html @@ -45,9 +45,9 @@ - + - + @@ -778,7 +778,7 @@ title="pinterest icon">
- + diff --git a/public/post/config-networkmanager-in-ubuntu-to-stop-modify-resolvconf/index.html b/public/post/config-networkmanager-in-ubuntu-to-stop-modify-resolvconf/index.html index 5f090a81..64422f3a 100644 --- a/public/post/config-networkmanager-in-ubuntu-to-stop-modify-resolvconf/index.html +++ b/public/post/config-networkmanager-in-ubuntu-to-stop-modify-resolvconf/index.html @@ -45,9 +45,9 @@ - + - + @@ -626,7 +626,7 @@ title="pinterest icon">
- + diff --git a/public/post/copy_role_in_pgsql/index.html b/public/post/copy_role_in_pgsql/index.html index bf9edf70..f95e7bd4 100644 --- a/public/post/copy_role_in_pgsql/index.html +++ b/public/post/copy_role_in_pgsql/index.html @@ -45,9 +45,9 @@ - + - + @@ -604,7 +604,7 @@ title="pinterest icon">
- + diff --git a/public/post/create-portable-vim-environment/index.html b/public/post/create-portable-vim-environment/index.html index 1ac5568c..467f45da 100644 --- a/public/post/create-portable-vim-environment/index.html +++ b/public/post/create-portable-vim-environment/index.html @@ -45,9 +45,9 @@ - + - + @@ -609,7 +609,7 @@ title="pinterest icon">
- + diff --git a/public/post/debian-buster-server-been-hacked/index.html b/public/post/debian-buster-server-been-hacked/index.html index 7e9ac5c1..d461f961 100644 --- a/public/post/debian-buster-server-been-hacked/index.html +++ b/public/post/debian-buster-server-been-hacked/index.html @@ -45,9 +45,9 @@ - + - + @@ -704,7 +704,7 @@ title="pinterest icon">
- + diff --git a/public/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/index.html b/public/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/index.html index ad802183..e42bada5 100644 --- a/public/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/index.html +++ b/public/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/index.html @@ -45,9 +45,9 @@ - + - + @@ -655,7 +655,7 @@ title="pinterest icon">
- + diff --git a/public/post/enable-synology-public-ssh/index.html b/public/post/enable-synology-public-ssh/index.html index 0e193428..a2278fe3 100644 --- a/public/post/enable-synology-public-ssh/index.html +++ b/public/post/enable-synology-public-ssh/index.html @@ -45,9 +45,9 @@ - + - + @@ -652,7 +652,7 @@ title="pinterest icon">
- + diff --git a/public/post/first-try-synology-ha/index.html b/public/post/first-try-synology-ha/index.html index da184dbc..83375586 100644 --- a/public/post/first-try-synology-ha/index.html +++ b/public/post/first-try-synology-ha/index.html @@ -45,9 +45,9 @@ - + - + @@ -634,7 +634,7 @@ title="pinterest icon">
- + diff --git a/public/post/fix-zpool-device-busy-using-dmsetup/index.html b/public/post/fix-zpool-device-busy-using-dmsetup/index.html index 987e9fe5..9a20b716 100644 --- a/public/post/fix-zpool-device-busy-using-dmsetup/index.html +++ b/public/post/fix-zpool-device-busy-using-dmsetup/index.html @@ -45,9 +45,9 @@ - + - + @@ -633,7 +633,7 @@ title="pinterest icon">
- + diff --git a/public/post/how-to-save-bricked-n1-router/index.html b/public/post/how-to-save-bricked-n1-router/index.html new file mode 100644 index 00000000..c25221a7 --- /dev/null +++ b/public/post/how-to-save-bricked-n1-router/index.html @@ -0,0 +1,646 @@ + + + + + + + + [筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Skip to content + + +
+ + + + + + + +
+ +
+ + + + +
+

[筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router

+
+
+
+
+

不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader

+

所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用

+

因為openwrt 玩很多了,所以這次想說來試試看 Armbian

+

一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal

+

就在某次亂搞之後,N1 他變磚了…開機完全沒有畫面,只好開始研究怎麼救磚了

+

N1 救磚的方法

+

筆記日期: 2022-03-04 17:15

+

這個是已經確認 N1 變磚了,開機沒有boot loader 的狀況

+

這方法不需要拆機,需要用到的檔案和線材如下

+
    +
  1. 雙公頭 USB $40-50 , shopee 買的
  2. +
  3. 02_Amlogic_USB_Burning_Tool.tgz 點我下載
  4. +
  5. 03_aml_upgrade_package.tgz 點我下載
  6. +
  7. 04_balenaEtcher-Setup-1.7.7.exe 點我下載
  8. +
  9. 05_platform-tools_r33.0.0-windows.zip 點我下載
  10. +
  11. 06_T1_1.3T47_mod_by_webpad_v3_20180419_2.tgz 點我下載
  12. +
  13. 一台Windows 筆電/桌機
  14. +
+

簡單描述一下我還記得的步驟,就不上圖了,反正重要的是這些檔案,操作過程其實容易的

+

先把 02/03/06 的檔案傳到筆電上,該解壓縮的,該安裝的都做一做 +(在這邊至少要確定驅動程式有安裝成功,叫什麼WorldCup 有的沒的)

+

02 的檔案解壓縮完會有一個license 的目錄,這個目錄要複製到 USB Burning Tool 的安裝目錄底下 +一般來說應該就是

+
c:\program files(x86)\Amlogic\USB_BURNING_TOOL
+

確認複製好、解壓縮也完成了,這時候拿出 N1 、雙公頭USB、電源線並且執行 USB Burning Tool

+

進入USB Burning Tool 畫面,點一下 File –> Import image

+

選擇06 解壓縮的 06_T1_1.3T47_mod_by_webpad_v3_20180419_2.img

+

因為我的N1 是連 Bootloader 都掛了,所以右邊有四個選項要勾選

+
    +
  1. Erase flash
  2. +
  3. Erase bootloader
  4. +
  5. Overwrite key
  6. +
  7. Secure Boot Key (跟圖片上的不會一樣)
  8. +
+

還是補個圖好了,借別人的來用

+

+

確認好之後,還先不要按開始,準備好 N1,電源接上插座,但先不要接到N1,USB 一頭接在電腦上,另一頭也是一樣先不要接到 N1

+

接下來點一下USB Burning tool 的開始,然後快速的先插入電源接頭到 N1 ,然後接著插入 USB 接頭

+

正常的話,這邊就會聽到聲音,然後 USB Burning Tool 就會開始燒錄,如果沒有看到開始燒錄的話,就多試幾次看看,

+

我一開始就弄錯 USB 和電源的插入順序,一直沒成功

+

在燒錄到21% 的時候,會跳出錯誤訊息,不用擔心,意料之中,

+

這時候按下停止,然後一樣到 File –> import image,這次選擇 03 解壓縮後的檔案aml_upgrade_package,

+

右邊的選項也不用動,密鑰的部分會自動消失,然後保留上面兩個Erase flash/bootloader ,再點一次開始按鈕

+

基本上這次就可以順利成功燒錄了,如果只是要救磚,到這邊就已經 OK

+

這時候的機子韌體版本是 V2.19 ,如果想要可以繼續刷其他的韌體

+

刷 Armbian 22.10 focal kernel 5.9

+

這部分已經成功了,只是還沒整理筆記(其實也沒很複雜啦)

+

等到有心情想寫的時候再來補

+
+
+ + + + +
+ +
+ + Eric Chang + + + Written by: +
+
+ + +

塵世裡一個迷途小書僮

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ +
+
+ + +comments powered by Disqus + + + + + + +
+
+ + + + + +
+ + + +
+ + + + + + diff --git a/public/post/incredibly-slow-mdadm-rebuild/index.html b/public/post/incredibly-slow-mdadm-rebuild/index.html index 3bb80823..a36dbcba 100644 --- a/public/post/incredibly-slow-mdadm-rebuild/index.html +++ b/public/post/incredibly-slow-mdadm-rebuild/index.html @@ -45,9 +45,9 @@ - + - + @@ -651,7 +651,7 @@ title="pinterest icon">
- + diff --git a/public/post/index.xml b/public/post/index.xml index bc10a5ef..4f5de1d9 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -6,7 +6,20 @@ Recent content in Posts on MC部落 Hugo -- gohugo.io en-us - Wed, 29 Sep 2021 14:38:10 +0800 + Wed, 09 Mar 2022 16:29:17 +0800 + + [筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + Wed, 09 Mar 2022 16:29:17 +0800 + + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + <p>不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader</p> +<p>所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用</p> +<p>因為openwrt 玩很多了,所以這次想說來試試看 Armbian</p> +<p>一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal</p> +<p>就在某次亂搞之後,N1 他變磚了&hellip;開機完全沒有畫面,只好開始研究怎麼救磚了</p> + + Init Script in Openwrt to Start Leproxy/在openwrt 新增自動啟動leproxy的script https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/ diff --git a/public/post/init-script-in-openwrt-to-start-leproxy/index.html b/public/post/init-script-in-openwrt-to-start-leproxy/index.html index 1ee79e53..01730d9a 100644 --- a/public/post/init-script-in-openwrt-to-start-leproxy/index.html +++ b/public/post/init-script-in-openwrt-to-start-leproxy/index.html @@ -45,9 +45,9 @@ - + - + @@ -684,7 +684,7 @@ title="pinterest icon">
- + diff --git a/public/post/install-asus-10g-nic-in-proxmox/index.html b/public/post/install-asus-10g-nic-in-proxmox/index.html index 88c41107..e294c2a4 100644 --- a/public/post/install-asus-10g-nic-in-proxmox/index.html +++ b/public/post/install-asus-10g-nic-in-proxmox/index.html @@ -45,9 +45,9 @@ - + - + @@ -675,7 +675,7 @@ title="pinterest icon">
- + diff --git a/public/post/install-it500u-card-reader-in-ubuntu-1804/index.html b/public/post/install-it500u-card-reader-in-ubuntu-1804/index.html index fc11ff99..96d84db9 100644 --- a/public/post/install-it500u-card-reader-in-ubuntu-1804/index.html +++ b/public/post/install-it500u-card-reader-in-ubuntu-1804/index.html @@ -45,9 +45,9 @@ - + - + @@ -654,7 +654,7 @@ title="pinterest icon">
- + diff --git a/public/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/index.html b/public/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/index.html index 493a9655..2a787385 100644 --- a/public/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/index.html +++ b/public/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/index.html @@ -45,9 +45,9 @@ - + - + @@ -758,7 +758,7 @@ title="pinterest icon">
- + diff --git a/public/post/install-postgresql-pg_strom-nvidia_driver-cuda-in-ubuntu-20.04/index.html b/public/post/install-postgresql-pg_strom-nvidia_driver-cuda-in-ubuntu-20.04/index.html index 34d91795..c84dd51d 100644 --- a/public/post/install-postgresql-pg_strom-nvidia_driver-cuda-in-ubuntu-20.04/index.html +++ b/public/post/install-postgresql-pg_strom-nvidia_driver-cuda-in-ubuntu-20.04/index.html @@ -45,9 +45,9 @@ - + - + @@ -665,7 +665,7 @@ title="pinterest icon">
- + diff --git a/public/post/install-timeshift-on-ubuntu1804/index.html b/public/post/install-timeshift-on-ubuntu1804/index.html index 532d8da6..2b4eb6c0 100644 --- a/public/post/install-timeshift-on-ubuntu1804/index.html +++ b/public/post/install-timeshift-on-ubuntu1804/index.html @@ -45,9 +45,9 @@ - + - + @@ -1136,7 +1136,7 @@ title="pinterest icon">
- + diff --git a/public/post/install-ubuntu1804-on-dell-6ir-raid-controller/index.html b/public/post/install-ubuntu1804-on-dell-6ir-raid-controller/index.html index 90b94c71..237c72f8 100644 --- a/public/post/install-ubuntu1804-on-dell-6ir-raid-controller/index.html +++ b/public/post/install-ubuntu1804-on-dell-6ir-raid-controller/index.html @@ -45,9 +45,9 @@ - + - + @@ -616,7 +616,7 @@ title="pinterest icon">
- + diff --git a/public/post/inx-collect-detail-hardware-info/index.html b/public/post/inx-collect-detail-hardware-info/index.html index a22275c3..67814298 100644 --- a/public/post/inx-collect-detail-hardware-info/index.html +++ b/public/post/inx-collect-detail-hardware-info/index.html @@ -45,9 +45,9 @@ - + - + @@ -690,7 +690,7 @@ title="pinterest icon">
- + diff --git a/public/post/log-all-bash-commands/index.html b/public/post/log-all-bash-commands/index.html index 6b8a3dc0..e42c90e9 100644 --- a/public/post/log-all-bash-commands/index.html +++ b/public/post/log-all-bash-commands/index.html @@ -45,9 +45,9 @@ - + - + @@ -636,7 +636,7 @@ title="pinterest icon">
- + diff --git a/public/post/multiple-site-to-site-vpn-using-wireguard/index.html b/public/post/multiple-site-to-site-vpn-using-wireguard/index.html index a3cdeb8d..635230ce 100644 --- a/public/post/multiple-site-to-site-vpn-using-wireguard/index.html +++ b/public/post/multiple-site-to-site-vpn-using-wireguard/index.html @@ -45,9 +45,9 @@ - + - + @@ -801,7 +801,7 @@ title="pinterest icon">
- + diff --git a/public/post/nice-du-report-tool-durep/index.html b/public/post/nice-du-report-tool-durep/index.html index 26e6e1f7..19f2c78f 100644 --- a/public/post/nice-du-report-tool-durep/index.html +++ b/public/post/nice-du-report-tool-durep/index.html @@ -45,9 +45,9 @@ - + - + @@ -641,7 +641,7 @@ title="pinterest icon">
- + diff --git a/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html b/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html index fb3731ae..6577a410 100644 --- a/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html +++ b/public/post/pg_auto_failover_in_ubuntu_1804_psql_11/index.html @@ -45,9 +45,9 @@ - + - + @@ -1356,7 +1356,7 @@ title="pinterest icon">
- + diff --git a/public/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/index.html b/public/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/index.html index 39fc560d..84b4630c 100644 --- a/public/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/index.html +++ b/public/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/index.html @@ -45,9 +45,9 @@ - + - + @@ -696,7 +696,7 @@ title="pinterest icon">
- + diff --git a/public/post/pgbarman-in-ubuntu-1804-postgresql-10/index.html b/public/post/pgbarman-in-ubuntu-1804-postgresql-10/index.html index c2123468..907f0232 100644 --- a/public/post/pgbarman-in-ubuntu-1804-postgresql-10/index.html +++ b/public/post/pgbarman-in-ubuntu-1804-postgresql-10/index.html @@ -45,9 +45,9 @@ - + - + @@ -822,7 +822,7 @@ title="pinterest icon">
- + diff --git a/public/post/postgresql-backup-restore-using-zfs-snapshot/index.html b/public/post/postgresql-backup-restore-using-zfs-snapshot/index.html index 9e0e04ff..1dd8e8cf 100644 --- a/public/post/postgresql-backup-restore-using-zfs-snapshot/index.html +++ b/public/post/postgresql-backup-restore-using-zfs-snapshot/index.html @@ -45,9 +45,9 @@ - + - + @@ -908,7 +908,7 @@ title="pinterest icon">
- + diff --git a/public/post/postgresql-pgbench-benchmark/index.html b/public/post/postgresql-pgbench-benchmark/index.html index c3de686e..9cace593 100644 --- a/public/post/postgresql-pgbench-benchmark/index.html +++ b/public/post/postgresql-pgbench-benchmark/index.html @@ -45,9 +45,9 @@ - + - + @@ -666,7 +666,7 @@ title="pinterest icon">
- + diff --git a/public/post/proxmox-with-synology-high-availability/index.html b/public/post/proxmox-with-synology-high-availability/index.html index 0fa3a485..3e6f28d6 100644 --- a/public/post/proxmox-with-synology-high-availability/index.html +++ b/public/post/proxmox-with-synology-high-availability/index.html @@ -45,9 +45,9 @@ - + - + @@ -625,7 +625,7 @@ title="pinterest icon">
- + diff --git a/public/post/recommended-ulauncher-in-ubuntu-1804/index.html b/public/post/recommended-ulauncher-in-ubuntu-1804/index.html index 3937f2ee..f5fba0f5 100644 --- a/public/post/recommended-ulauncher-in-ubuntu-1804/index.html +++ b/public/post/recommended-ulauncher-in-ubuntu-1804/index.html @@ -45,9 +45,9 @@ - + - + @@ -638,7 +638,7 @@ title="pinterest icon">
- + diff --git a/public/post/remote-management-system-meshcentral/index.html b/public/post/remote-management-system-meshcentral/index.html index 46d446aa..eede7419 100644 --- a/public/post/remote-management-system-meshcentral/index.html +++ b/public/post/remote-management-system-meshcentral/index.html @@ -45,9 +45,9 @@ - + - + @@ -659,7 +659,7 @@ title="pinterest icon">
- + diff --git a/public/post/rescue-synology-nas-with-ubuntu-livecd/index.html b/public/post/rescue-synology-nas-with-ubuntu-livecd/index.html index 4b7f77eb..1e26c81b 100644 --- a/public/post/rescue-synology-nas-with-ubuntu-livecd/index.html +++ b/public/post/rescue-synology-nas-with-ubuntu-livecd/index.html @@ -45,9 +45,9 @@ - + - + @@ -706,7 +706,7 @@ title="pinterest icon">
- + diff --git a/public/post/send-mail-to-notify-after-pxe-install/index.html b/public/post/send-mail-to-notify-after-pxe-install/index.html index 209151be..3efb6157 100644 --- a/public/post/send-mail-to-notify-after-pxe-install/index.html +++ b/public/post/send-mail-to-notify-after-pxe-install/index.html @@ -45,9 +45,9 @@ - + - + @@ -639,7 +639,7 @@ title="pinterest icon">
- + diff --git a/public/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/index.html b/public/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/index.html index 0a646ec0..667ee76a 100644 --- a/public/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/index.html +++ b/public/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/index.html @@ -45,9 +45,9 @@ - + - + @@ -737,7 +737,7 @@ title="pinterest icon">
- + diff --git a/public/post/smartd-failed-to-start-in-freenas/index.html b/public/post/smartd-failed-to-start-in-freenas/index.html index 78b09278..eb65d800 100644 --- a/public/post/smartd-failed-to-start-in-freenas/index.html +++ b/public/post/smartd-failed-to-start-in-freenas/index.html @@ -45,9 +45,9 @@ - + - + @@ -602,7 +602,7 @@ title="pinterest icon">
- + diff --git a/public/post/synology-ds415-repair-cost/index.html b/public/post/synology-ds415-repair-cost/index.html index 9602d795..9b18c092 100644 --- a/public/post/synology-ds415-repair-cost/index.html +++ b/public/post/synology-ds415-repair-cost/index.html @@ -45,9 +45,9 @@ - + - + @@ -635,7 +635,7 @@ title="pinterest icon">
- + diff --git a/public/post/test-pg_prewarm/index.html b/public/post/test-pg_prewarm/index.html index 1d4d0ac6..6bb61fdd 100644 --- a/public/post/test-pg_prewarm/index.html +++ b/public/post/test-pg_prewarm/index.html @@ -45,9 +45,9 @@ - + - + @@ -896,7 +896,7 @@ title="pinterest icon">
- + diff --git a/public/post/transfer-cent62-using-rsync/index.html b/public/post/transfer-cent62-using-rsync/index.html index 7ab78f66..1f4b5671 100644 --- a/public/post/transfer-cent62-using-rsync/index.html +++ b/public/post/transfer-cent62-using-rsync/index.html @@ -45,9 +45,9 @@ - + - + @@ -808,7 +808,7 @@ title="pinterest icon">
- + diff --git a/public/post/transfer-file-content-using-xclip-in-terminal/index.html b/public/post/transfer-file-content-using-xclip-in-terminal/index.html index 453dfd9c..a441e311 100644 --- a/public/post/transfer-file-content-using-xclip-in-terminal/index.html +++ b/public/post/transfer-file-content-using-xclip-in-terminal/index.html @@ -45,9 +45,9 @@ - + - + @@ -646,7 +646,7 @@ title="pinterest icon">
- + diff --git a/public/post/ubuntu-1404-preseed/index.html b/public/post/ubuntu-1404-preseed/index.html index 0f9401b1..5185ac29 100644 --- a/public/post/ubuntu-1404-preseed/index.html +++ b/public/post/ubuntu-1404-preseed/index.html @@ -45,9 +45,9 @@ - + - + @@ -738,7 +738,7 @@ title="pinterest icon">
- + diff --git a/public/post/ubuntu-1804-install-root-on-raid/index.html b/public/post/ubuntu-1804-install-root-on-raid/index.html index f4585535..8b09be55 100644 --- a/public/post/ubuntu-1804-install-root-on-raid/index.html +++ b/public/post/ubuntu-1804-install-root-on-raid/index.html @@ -45,9 +45,9 @@ - + - + @@ -660,7 +660,7 @@ title="pinterest icon">
- + diff --git a/public/post/ubuntu-1804-preseeds/index.html b/public/post/ubuntu-1804-preseeds/index.html index 86e43b71..90903333 100644 --- a/public/post/ubuntu-1804-preseeds/index.html +++ b/public/post/ubuntu-1804-preseeds/index.html @@ -45,9 +45,9 @@ - + - + @@ -804,7 +804,7 @@ title="pinterest icon">
- + diff --git a/public/post/ubuntu-dconf-proxy-settings/index.html b/public/post/ubuntu-dconf-proxy-settings/index.html index 8850d33b..21582e8c 100644 --- a/public/post/ubuntu-dconf-proxy-settings/index.html +++ b/public/post/ubuntu-dconf-proxy-settings/index.html @@ -45,9 +45,9 @@ - + - + @@ -621,7 +621,7 @@ title="pinterest icon">
- + diff --git a/public/post/ubuntu-kernel-4-15-0-106-unable-to-start-wireguard-interface/index.html b/public/post/ubuntu-kernel-4-15-0-106-unable-to-start-wireguard-interface/index.html index 56342aa4..bcbbcc36 100644 --- a/public/post/ubuntu-kernel-4-15-0-106-unable-to-start-wireguard-interface/index.html +++ b/public/post/ubuntu-kernel-4-15-0-106-unable-to-start-wireguard-interface/index.html @@ -45,9 +45,9 @@ - + - + @@ -732,7 +732,7 @@ title="pinterest icon">
- + diff --git a/public/post/ubuntu-letsencrypt-cloudflare-wildcard/index.html b/public/post/ubuntu-letsencrypt-cloudflare-wildcard/index.html index 89e96d9e..fb3d0dd6 100644 --- a/public/post/ubuntu-letsencrypt-cloudflare-wildcard/index.html +++ b/public/post/ubuntu-letsencrypt-cloudflare-wildcard/index.html @@ -45,9 +45,9 @@ - + - + @@ -691,7 +691,7 @@ title="pinterest icon">
- + diff --git a/public/post/various-self-hosted-file-sharing-system-test/index.html b/public/post/various-self-hosted-file-sharing-system-test/index.html index b3021233..0bf654a2 100644 --- a/public/post/various-self-hosted-file-sharing-system-test/index.html +++ b/public/post/various-self-hosted-file-sharing-system-test/index.html @@ -45,9 +45,9 @@ - + - + @@ -676,7 +676,7 @@ title="pinterest icon">
- + diff --git a/public/post/weird-client-server-connection/index.html b/public/post/weird-client-server-connection/index.html index 8317ee4d..58506b2d 100644 --- a/public/post/weird-client-server-connection/index.html +++ b/public/post/weird-client-server-connection/index.html @@ -45,9 +45,9 @@ - + - + @@ -650,7 +650,7 @@ title="pinterest icon">
- + diff --git a/public/post/what-a-piss-in-synology-document/index.html b/public/post/what-a-piss-in-synology-document/index.html index a9aff0f6..ebb373b5 100644 --- a/public/post/what-a-piss-in-synology-document/index.html +++ b/public/post/what-a-piss-in-synology-document/index.html @@ -45,9 +45,9 @@ - + - + @@ -647,7 +647,7 @@ title="pinterest icon">
- + diff --git a/public/post/wireguard-pihole-in-ubuntu-20.04/index.html b/public/post/wireguard-pihole-in-ubuntu-20.04/index.html index 7a42f6f5..26107b05 100644 --- a/public/post/wireguard-pihole-in-ubuntu-20.04/index.html +++ b/public/post/wireguard-pihole-in-ubuntu-20.04/index.html @@ -45,9 +45,9 @@ - + - + @@ -793,7 +793,7 @@ title="pinterest icon">
- + diff --git a/public/sitemap.xml b/public/sitemap.xml index db5c2229..19562b8c 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,24 +3,45 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://h.cowbay.org/categories/ - 2021-09-29T14:38:10+08:00 + 2022-11-04T10:06:36+08:00 - https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/ - 2021-09-29T14:38:10+08:00 + https://h.cowbay.org/tags/lego/ + 2022-11-04T10:06:36+08:00 + + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + 2022-11-04T10:06:36+08:00 + + https://h.cowbay.org/tags/letsencrypt/ + 2022-11-04T10:06:36+08:00 https://h.cowbay.org/ - 2021-09-29T14:38:10+08:00 + 2022-11-04T10:06:36+08:00 - https://h.cowbay.org/tags/openwrt/ - 2021-09-29T14:38:10+08:00 + https://h.cowbay.org/tags/ssl/ + 2022-11-04T10:06:36+08:00 + + https://h.cowbay.org/tags/ + 2022-11-04T10:06:36+08:00 + + https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/ + 2022-11-04T10:06:36+08:00 + + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + 2022-03-09T16:29:17+08:00 + + https://h.cowbay.org/tags/n1/ + 2022-03-09T16:29:17+08:00 https://h.cowbay.org/post/ - 2021-09-29T14:38:10+08:00 + 2022-03-09T16:29:17+08:00 - https://h.cowbay.org/tags/ + https://h.cowbay.org/tags/router/ + 2022-03-09T16:29:17+08:00 + + https://h.cowbay.org/post/init-script-in-openwrt-to-start-leproxy/ 2021-09-29T14:38:10+08:00 - https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/ + https://h.cowbay.org/tags/openwrt/ 2021-09-29T14:38:10+08:00 https://h.cowbay.org/tags/acme/ @@ -31,12 +52,6 @@ https://h.cowbay.org/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/ 2021-08-26T12:08:43+08:00 - - https://h.cowbay.org/tags/lego/ - 2021-08-26T12:08:43+08:00 - - https://h.cowbay.org/tags/ssl/ - 2021-08-26T12:08:43+08:00 https://h.cowbay.org/post/cloudcmd-web-file-manager/ 2021-07-20T09:19:47+08:00 @@ -76,9 +91,6 @@ https://h.cowbay.org/tags/cloudflare/ 2020-09-02T15:55:40+08:00 - - https://h.cowbay.org/tags/letsencrypt/ - 2020-09-02T15:55:40+08:00 https://h.cowbay.org/post/wireguard-pihole-in-ubuntu-20.04/ 2020-08-13T14:22:05+08:00 diff --git a/public/tags/10g/index.html b/public/tags/10g/index.html index 4eb28141..a2e7e874 100644 --- a/public/tags/10g/index.html +++ b/public/tags/10g/index.html @@ -45,9 +45,9 @@ - + - + @@ -472,6 +472,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/acme-dns/index.html b/public/tags/acme-dns/index.html index 221e1663..4cf7aac7 100644 --- a/public/tags/acme-dns/index.html +++ b/public/tags/acme-dns/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/acme/index.html b/public/tags/acme/index.html index 144ca571..bf33fa9c 100644 --- a/public/tags/acme/index.html +++ b/public/tags/acme/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/ansible/index.html b/public/tags/ansible/index.html index 91567b26..dbdd7b5f 100644 --- a/public/tags/ansible/index.html +++ b/public/tags/ansible/index.html @@ -45,9 +45,9 @@ - + - + @@ -847,6 +847,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/backup/index.html b/public/tags/backup/index.html index 96afb111..ad4f9686 100644 --- a/public/tags/backup/index.html +++ b/public/tags/backup/index.html @@ -45,9 +45,9 @@ - + - + @@ -515,6 +515,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/benchmark/index.html b/public/tags/benchmark/index.html index 6ac7518f..ef2fdeda 100644 --- a/public/tags/benchmark/index.html +++ b/public/tags/benchmark/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/bookstack/index.html b/public/tags/bookstack/index.html index 69bc763a..986fd2ce 100644 --- a/public/tags/bookstack/index.html +++ b/public/tags/bookstack/index.html @@ -45,9 +45,9 @@ - + - + @@ -472,6 +472,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/bsd/index.html b/public/tags/bsd/index.html index 7e19c774..d3c00188 100644 --- a/public/tags/bsd/index.html +++ b/public/tags/bsd/index.html @@ -45,9 +45,9 @@ - + - + @@ -468,6 +468,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/centos/index.html b/public/tags/centos/index.html index a048314c..ecaeb4eb 100644 --- a/public/tags/centos/index.html +++ b/public/tags/centos/index.html @@ -45,9 +45,9 @@ - + - + @@ -465,6 +465,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/certbot/index.html b/public/tags/certbot/index.html index e405f841..ac539cfe 100644 --- a/public/tags/certbot/index.html +++ b/public/tags/certbot/index.html @@ -45,9 +45,9 @@ - + - + @@ -469,6 +469,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/cloudcmd/index.html b/public/tags/cloudcmd/index.html index 7a432b3b..a05fcc0a 100644 --- a/public/tags/cloudcmd/index.html +++ b/public/tags/cloudcmd/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/cloudflare/index.html b/public/tags/cloudflare/index.html index 4abe4e40..fa08cd28 100644 --- a/public/tags/cloudflare/index.html +++ b/public/tags/cloudflare/index.html @@ -45,9 +45,9 @@ - + - + @@ -469,6 +469,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/cuda/index.html b/public/tags/cuda/index.html index 8e379ea4..9d730496 100644 --- a/public/tags/cuda/index.html +++ b/public/tags/cuda/index.html @@ -45,9 +45,9 @@ - + - + @@ -465,6 +465,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/dconf/index.html b/public/tags/dconf/index.html index 75e576bc..c0925c01 100644 --- a/public/tags/dconf/index.html +++ b/public/tags/dconf/index.html @@ -45,9 +45,9 @@ - + - + @@ -520,6 +520,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/debian/index.html b/public/tags/debian/index.html index ebb3ae6b..123ee9e6 100644 --- a/public/tags/debian/index.html +++ b/public/tags/debian/index.html @@ -45,9 +45,9 @@ - + - + @@ -471,6 +471,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/docker/index.html b/public/tags/docker/index.html index c968cb36..a6e1a258 100644 --- a/public/tags/docker/index.html +++ b/public/tags/docker/index.html @@ -45,9 +45,9 @@ - + - + @@ -519,6 +519,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/du/index.html b/public/tags/du/index.html index a1129323..dfb82af4 100644 --- a/public/tags/du/index.html +++ b/public/tags/du/index.html @@ -45,9 +45,9 @@ - + - + @@ -469,6 +469,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/edgerouter/index.html b/public/tags/edgerouter/index.html index e7684384..6e95da08 100644 --- a/public/tags/edgerouter/index.html +++ b/public/tags/edgerouter/index.html @@ -45,9 +45,9 @@ - + - + @@ -473,6 +473,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/failover/index.html b/public/tags/failover/index.html index 9126785b..0f8cf598 100644 --- a/public/tags/failover/index.html +++ b/public/tags/failover/index.html @@ -45,9 +45,9 @@ - + - + @@ -469,6 +469,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/file-manager/index.html b/public/tags/file-manager/index.html index f3e5c094..d18b1266 100644 --- a/public/tags/file-manager/index.html +++ b/public/tags/file-manager/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/firefox/index.html b/public/tags/firefox/index.html index 0cf51db3..24c820f3 100644 --- a/public/tags/firefox/index.html +++ b/public/tags/firefox/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) {
- + diff --git a/public/tags/forwardx11/index.html b/public/tags/forwardx11/index.html index 60293b18..44b5b3ec 100644 --- a/public/tags/forwardx11/index.html +++ b/public/tags/forwardx11/index.html @@ -45,9 +45,9 @@ - + - + @@ -468,6 +468,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/freenas/index.html b/public/tags/freenas/index.html index a8f0bfad..bd117e4c 100644 --- a/public/tags/freenas/index.html +++ b/public/tags/freenas/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/gpu/index.html b/public/tags/gpu/index.html index 674e0390..7a28d885 100644 --- a/public/tags/gpu/index.html +++ b/public/tags/gpu/index.html @@ -45,9 +45,9 @@ - + - + @@ -465,6 +465,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/high-availability/index.html b/public/tags/high-availability/index.html index 3d9ec64e..cdb0e81b 100644 --- a/public/tags/high-availability/index.html +++ b/public/tags/high-availability/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/index.xml b/public/tags/index.xml index 9233dfe7..92487099 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -6,49 +6,76 @@ Recent content in Tags on MC部落 Hugo -- gohugo.io en-us - Wed, 29 Sep 2021 14:38:10 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 - openwrt - https://h.cowbay.org/tags/openwrt/ - Wed, 29 Sep 2021 14:38:10 +0800 + lego + https://h.cowbay.org/tags/lego/ + Fri, 04 Nov 2022 10:06:36 +0800 - https://h.cowbay.org/tags/openwrt/ + https://h.cowbay.org/tags/lego/ - acme - https://h.cowbay.org/tags/acme/ - Thu, 26 Aug 2021 12:08:43 +0800 + letsencrypt + https://h.cowbay.org/tags/letsencrypt/ + Fri, 04 Nov 2022 10:06:36 +0800 - https://h.cowbay.org/tags/acme/ + https://h.cowbay.org/tags/letsencrypt/ - acme-dns - https://h.cowbay.org/tags/acme-dns/ - Thu, 26 Aug 2021 12:08:43 +0800 + ssl + https://h.cowbay.org/tags/ssl/ + Fri, 04 Nov 2022 10:06:36 +0800 - https://h.cowbay.org/tags/acme-dns/ + https://h.cowbay.org/tags/ssl/ - lego - https://h.cowbay.org/tags/lego/ + n1 + https://h.cowbay.org/tags/n1/ + Wed, 09 Mar 2022 16:29:17 +0800 + + https://h.cowbay.org/tags/n1/ + + + + + router + https://h.cowbay.org/tags/router/ + Wed, 09 Mar 2022 16:29:17 +0800 + + https://h.cowbay.org/tags/router/ + + + + + openwrt + https://h.cowbay.org/tags/openwrt/ + Wed, 29 Sep 2021 14:38:10 +0800 + + https://h.cowbay.org/tags/openwrt/ + + + + + acme + https://h.cowbay.org/tags/acme/ Thu, 26 Aug 2021 12:08:43 +0800 - https://h.cowbay.org/tags/lego/ + https://h.cowbay.org/tags/acme/ - ssl - https://h.cowbay.org/tags/ssl/ + acme-dns + https://h.cowbay.org/tags/acme-dns/ Thu, 26 Aug 2021 12:08:43 +0800 - https://h.cowbay.org/tags/ssl/ + https://h.cowbay.org/tags/acme-dns/ @@ -133,15 +160,6 @@
- - Letsencrypt - https://h.cowbay.org/tags/letsencrypt/ - Wed, 02 Sep 2020 15:55:40 +0800 - - https://h.cowbay.org/tags/letsencrypt/ - - - pihole https://h.cowbay.org/tags/pihole/ diff --git a/public/tags/inventory/index.html b/public/tags/inventory/index.html index bcc69b48..dfaf642a 100644 --- a/public/tags/inventory/index.html +++ b/public/tags/inventory/index.html @@ -45,9 +45,9 @@ - + - + @@ -468,6 +468,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/launcher/index.html b/public/tags/launcher/index.html index 5d5b59b3..ef5b542c 100644 --- a/public/tags/launcher/index.html +++ b/public/tags/launcher/index.html @@ -45,9 +45,9 @@ - + - + @@ -465,6 +465,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/lego/index.html b/public/tags/lego/index.html index 5721a75a..9112e774 100644 --- a/public/tags/lego/index.html +++ b/public/tags/lego/index.html @@ -20,9 +20,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-08-26 12:08:43 \u002b0800 CST", - "dateModified" : "2021-08-26 12:08:43 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/tags\/lego\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/lego/index.xml b/public/tags/lego/index.xml index 2043c6c3..b51d5d17 100644 --- a/public/tags/lego/index.xml +++ b/public/tags/lego/index.xml @@ -6,7 +6,17 @@ Recent content in lego on MC部落 Hugo -- gohugo.io en-us - Thu, 26 Aug 2021 12:08:43 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 + + lego 自動更新letsencrypt 全域憑證 + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + Fri, 04 Nov 2022 10:06:36 +0800 + + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + <p>首先要確認 DNS 託管在 lego 有支援的DNS 廠商 +可以到 github 去看,支援的廠商很多!</p> + + auto fetch Wildcard ssl certs with lego + acme-dns ( Domain Register : Namecheap) https://h.cowbay.org/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/ diff --git a/public/tags/letsencrypt/index.html b/public/tags/letsencrypt/index.html index 09bbf40d..a5a04733 100644 --- a/public/tags/letsencrypt/index.html +++ b/public/tags/letsencrypt/index.html @@ -11,8 +11,8 @@ "@id": "https:\/\/h.cowbay.org" }, "articleSection" : "tags", - "name" : "Letsencrypt", - "headline" : "Letsencrypt", + "name" : "letsencrypt", + "headline" : "letsencrypt", "description" : "", "inLanguage" : "en", "author" : "", @@ -20,9 +20,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2020", - "datePublished": "2020-09-02 15:55:40 \u002b0800 CST", - "dateModified" : "2020-09-02 15:55:40 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/tags\/letsencrypt\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -31,7 +31,7 @@ - Letsencrypt + letsencrypt @@ -45,9 +45,9 @@ - + - + @@ -270,7 +270,7 @@ if (!doNotTrack) {

- Tag: Letsencrypt + Tag: letsencrypt @@ -469,6 +469,6 @@ if (!doNotTrack) {

- + diff --git a/public/tags/letsencrypt/index.xml b/public/tags/letsencrypt/index.xml index ec63d7cd..091f8870 100644 --- a/public/tags/letsencrypt/index.xml +++ b/public/tags/letsencrypt/index.xml @@ -1,12 +1,22 @@ - Letsencrypt on MC部落 + letsencrypt on MC部落 https://h.cowbay.org/tags/letsencrypt/ - Recent content in Letsencrypt on MC部落 + Recent content in letsencrypt on MC部落 Hugo -- gohugo.io en-us - Wed, 02 Sep 2020 15:55:40 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 + + lego 自動更新letsencrypt 全域憑證 + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + Fri, 04 Nov 2022 10:06:36 +0800 + + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + <p>首先要確認 DNS 託管在 lego 有支援的DNS 廠商 +可以到 github 去看,支援的廠商很多!</p> + + [筆記] 在 ubuntu 20.04 底下,用certbot 透過Cloudflare 申請全域的 Letsencrypt 憑證 https://h.cowbay.org/post/ubuntu-letsencrypt-cloudflare-wildcard/ diff --git a/public/tags/linux/index.html b/public/tags/linux/index.html index f648923e..79c454c3 100644 --- a/public/tags/linux/index.html +++ b/public/tags/linux/index.html @@ -45,9 +45,9 @@ - + - + @@ -804,6 +804,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/log/index.html b/public/tags/log/index.html index 614af237..7e0d0741 100644 --- a/public/tags/log/index.html +++ b/public/tags/log/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/mdadm/index.html b/public/tags/mdadm/index.html index 7d05e689..45acd1f7 100644 --- a/public/tags/mdadm/index.html +++ b/public/tags/mdadm/index.html @@ -45,9 +45,9 @@ - + - + @@ -468,6 +468,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/mellanox/index.html b/public/tags/mellanox/index.html index b7de5a3c..caec31c2 100644 --- a/public/tags/mellanox/index.html +++ b/public/tags/mellanox/index.html @@ -45,9 +45,9 @@ - + - + @@ -472,6 +472,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/meshcentral/index.html b/public/tags/meshcentral/index.html index b3f22b47..eaab68ca 100644 --- a/public/tags/meshcentral/index.html +++ b/public/tags/meshcentral/index.html @@ -45,9 +45,9 @@ - + - + @@ -468,6 +468,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/metabase/index.html b/public/tags/metabase/index.html index 66c20ddf..12da65b1 100644 --- a/public/tags/metabase/index.html +++ b/public/tags/metabase/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/n1/index.html b/public/tags/n1/index.html new file mode 100644 index 00000000..c4e7f5a0 --- /dev/null +++ b/public/tags/n1/index.html @@ -0,0 +1,473 @@ + + + + + + + + n1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Skip to content + + +
+ +
+

+ Tag: n1 + + + + rss + + +

+
+ +

Posts

+
+ + + +
+ + + + + + + + +
+
+ 09 March 2022 / + + + + + + + + + + + + / + + 筆記 + + +
+ +
+
+

不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader

+

所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用

+

因為openwrt 玩很多了,所以這次想說來試試看 Armbian

+

一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal

+

就在某次亂搞之後,N1 他變磚了…開機完全沒有畫面,只好開始研究怎麼救磚了

+ + +
+
+
+
+ +
+ +
+ + + +
+ + + + + diff --git a/public/tags/n1/index.xml b/public/tags/n1/index.xml new file mode 100644 index 00000000..4ea6a0c5 --- /dev/null +++ b/public/tags/n1/index.xml @@ -0,0 +1,24 @@ + + + + n1 on MC部落 + https://h.cowbay.org/tags/n1/ + Recent content in n1 on MC部落 + Hugo -- gohugo.io + en-us + Wed, 09 Mar 2022 16:29:17 +0800 + + [筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + Wed, 09 Mar 2022 16:29:17 +0800 + + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + <p>不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader</p> +<p>所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用</p> +<p>因為openwrt 玩很多了,所以這次想說來試試看 Armbian</p> +<p>一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal</p> +<p>就在某次亂搞之後,N1 他變磚了&hellip;開機完全沒有畫面,只好開始研究怎麼救磚了</p> + + + + diff --git a/public/tags/nas/index.html b/public/tags/nas/index.html index f371d9be..c7be9e82 100644 --- a/public/tags/nas/index.html +++ b/public/tags/nas/index.html @@ -45,9 +45,9 @@ - + - + @@ -573,6 +573,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/networkmanager/index.html b/public/tags/networkmanager/index.html index 22d48a6e..acd18f8f 100644 --- a/public/tags/networkmanager/index.html +++ b/public/tags/networkmanager/index.html @@ -45,9 +45,9 @@ - + - + @@ -469,6 +469,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/nvidia/index.html b/public/tags/nvidia/index.html index 355df4a4..51d77e28 100644 --- a/public/tags/nvidia/index.html +++ b/public/tags/nvidia/index.html @@ -45,9 +45,9 @@ - + - + @@ -514,6 +514,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/nvme/index.html b/public/tags/nvme/index.html index 4c44cfb3..32107659 100644 --- a/public/tags/nvme/index.html +++ b/public/tags/nvme/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/openwrt/index.html b/public/tags/openwrt/index.html index 77879cab..44b82353 100644 --- a/public/tags/openwrt/index.html +++ b/public/tags/openwrt/index.html @@ -45,9 +45,9 @@ - + - + @@ -529,6 +529,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/pg_strom/index.html b/public/tags/pg_strom/index.html index 708b7134..16dfc621 100644 --- a/public/tags/pg_strom/index.html +++ b/public/tags/pg_strom/index.html @@ -45,9 +45,9 @@ - + - + @@ -465,6 +465,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/pgbarman/index.html b/public/tags/pgbarman/index.html index d2e66821..09ab33c1 100644 --- a/public/tags/pgbarman/index.html +++ b/public/tags/pgbarman/index.html @@ -45,9 +45,9 @@ - + - + @@ -513,6 +513,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/pgbench/index.html b/public/tags/pgbench/index.html index 71309c1b..1538a368 100644 --- a/public/tags/pgbench/index.html +++ b/public/tags/pgbench/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/pihole/index.html b/public/tags/pihole/index.html index e6a865bf..6875db12 100644 --- a/public/tags/pihole/index.html +++ b/public/tags/pihole/index.html @@ -45,9 +45,9 @@ - + - + @@ -469,6 +469,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/postgresql/index.html b/public/tags/postgresql/index.html index 5bac57f3..89d40def 100644 --- a/public/tags/postgresql/index.html +++ b/public/tags/postgresql/index.html @@ -45,9 +45,9 @@ - + - + @@ -853,6 +853,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/preseeds/index.html b/public/tags/preseeds/index.html index 65f40ac6..7e6df2b9 100644 --- a/public/tags/preseeds/index.html +++ b/public/tags/preseeds/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/proxmox/index.html b/public/tags/proxmox/index.html index 4d9fd48b..9f84926d 100644 --- a/public/tags/proxmox/index.html +++ b/public/tags/proxmox/index.html @@ -45,9 +45,9 @@ - + - + @@ -518,6 +518,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/ps/index.html b/public/tags/ps/index.html index 8a8892a4..2b2b82a0 100644 --- a/public/tags/ps/index.html +++ b/public/tags/ps/index.html @@ -45,9 +45,9 @@ - + - + @@ -418,6 +418,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/psql/index.html b/public/tags/psql/index.html index 98dc5b6d..70b7491b 100644 --- a/public/tags/psql/index.html +++ b/public/tags/psql/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/pxe/index.html b/public/tags/pxe/index.html index b29842c1..5b10ec43 100644 --- a/public/tags/pxe/index.html +++ b/public/tags/pxe/index.html @@ -45,9 +45,9 @@ - + - + @@ -568,6 +568,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/raid/index.html b/public/tags/raid/index.html index f1ea7b9f..58882f5a 100644 --- a/public/tags/raid/index.html +++ b/public/tags/raid/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/remote/index.html b/public/tags/remote/index.html index ea8d75e8..0663b47c 100644 --- a/public/tags/remote/index.html +++ b/public/tags/remote/index.html @@ -45,9 +45,9 @@ - + - + @@ -468,6 +468,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/resolv.conf/index.html b/public/tags/resolv.conf/index.html index 5cc19ad7..869262e8 100644 --- a/public/tags/resolv.conf/index.html +++ b/public/tags/resolv.conf/index.html @@ -45,9 +45,9 @@ - + - + @@ -469,6 +469,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/restore/index.html b/public/tags/restore/index.html index 8c274f3c..fac30f2e 100644 --- a/public/tags/restore/index.html +++ b/public/tags/restore/index.html @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/router/index.html b/public/tags/router/index.html new file mode 100644 index 00000000..a3486c70 --- /dev/null +++ b/public/tags/router/index.html @@ -0,0 +1,473 @@ + + + + + + + + router + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Skip to content + + +
+ +
+

+ Tag: router + + + + rss + + +

+
+ +

Posts

+
+ + + +
+ + + + + + + + +
+
+ 09 March 2022 / + + + + + + + + + + + + / + + 筆記 + + +
+ +
+
+

不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader

+

所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用

+

因為openwrt 玩很多了,所以這次想說來試試看 Armbian

+

一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal

+

就在某次亂搞之後,N1 他變磚了…開機完全沒有畫面,只好開始研究怎麼救磚了

+ + +
+
+
+
+ +
+ +
+ + + +
+ + + + + diff --git a/public/tags/router/index.xml b/public/tags/router/index.xml new file mode 100644 index 00000000..dcc3f175 --- /dev/null +++ b/public/tags/router/index.xml @@ -0,0 +1,24 @@ + + + + router on MC部落 + https://h.cowbay.org/tags/router/ + Recent content in router on MC部落 + Hugo -- gohugo.io + en-us + Wed, 09 Mar 2022 16:29:17 +0800 + + [筆記] Phicomm 斐訊 N1 救磚的方法/ How to Save Bricked N1 Router + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + Wed, 09 Mar 2022 16:29:17 +0800 + + https://h.cowbay.org/post/how-to-save-bricked-n1-router/ + <p>不久前買了一台對岸斐訊出的 N1 路由器,這台的規格很強,又有大神破解了 boot loader</p> +<p>所以可以被拿來安裝 openwrt/Armbian 之類的系統做其他的應用</p> +<p>因為openwrt 玩很多了,所以這次想說來試試看 Armbian</p> +<p>一開始只弄出了based on ubuntu bionic 的版本,因為覺得有點舊了,所以一直想要換成 ubuntu focal</p> +<p>就在某次亂搞之後,N1 他變磚了&hellip;開機完全沒有畫面,只好開始研究怎麼救磚了</p> + + + + diff --git a/public/tags/ssh/index.html b/public/tags/ssh/index.html index fc26b7ed..a67689d5 100644 --- a/public/tags/ssh/index.html +++ b/public/tags/ssh/index.html @@ -45,9 +45,9 @@ - + - + @@ -522,6 +522,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/ssl/index.html b/public/tags/ssl/index.html index dfe5f6b0..960dd451 100644 --- a/public/tags/ssl/index.html +++ b/public/tags/ssl/index.html @@ -20,9 +20,9 @@ "publisher": "", "accountablePerson" : "", "copyrightHolder" : "", - "copyrightYear" : "2021", - "datePublished": "2021-08-26 12:08:43 \u002b0800 CST", - "dateModified" : "2021-08-26 12:08:43 \u002b0800 CST", + "copyrightYear" : "2022", + "datePublished": "2022-11-04 10:06:36 \u002b0800 CST", + "dateModified" : "2022-11-04 10:06:36 \u002b0800 CST", "url" : "https:\/\/h.cowbay.org\/tags\/ssl\/", "wordCount" : "0", "image" : "https://h.cowbay.org%!s(\u003cnil\u003e)"", @@ -45,9 +45,9 @@ - + - + @@ -466,6 +466,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/ssl/index.xml b/public/tags/ssl/index.xml index 3d53b5ba..d83ec280 100644 --- a/public/tags/ssl/index.xml +++ b/public/tags/ssl/index.xml @@ -6,7 +6,17 @@ Recent content in ssl on MC部落 Hugo -- gohugo.io en-us - Thu, 26 Aug 2021 12:08:43 +0800 + Fri, 04 Nov 2022 10:06:36 +0800 + + lego 自動更新letsencrypt 全域憑證 + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + Fri, 04 Nov 2022 10:06:36 +0800 + + https://h.cowbay.org/lego-renew-certs-with-cloudflare/ + <p>首先要確認 DNS 託管在 lego 有支援的DNS 廠商 +可以到 github 去看,支援的廠商很多!</p> + + auto fetch Wildcard ssl certs with lego + acme-dns ( Domain Register : Namecheap) https://h.cowbay.org/post/auto-fetch-wildcard-ssl-certs-acme-dns-lego/ diff --git a/public/tags/synology/index.html b/public/tags/synology/index.html index 6d1a6b25..6d34f89a 100644 --- a/public/tags/synology/index.html +++ b/public/tags/synology/index.html @@ -45,9 +45,9 @@ - + - + @@ -722,6 +722,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/timezone/index.html b/public/tags/timezone/index.html index 0cb50389..7a498587 100644 --- a/public/tags/timezone/index.html +++ b/public/tags/timezone/index.html @@ -45,9 +45,9 @@ - + - + @@ -465,6 +465,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/ubuntu/index.html b/public/tags/ubuntu/index.html index 5e37652d..a346f60d 100644 --- a/public/tags/ubuntu/index.html +++ b/public/tags/ubuntu/index.html @@ -45,9 +45,9 @@ - + - + @@ -917,6 +917,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/vim/index.html b/public/tags/vim/index.html index 227d789b..972c39cd 100644 --- a/public/tags/vim/index.html +++ b/public/tags/vim/index.html @@ -45,9 +45,9 @@ - + - + @@ -467,6 +467,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/vpn/index.html b/public/tags/vpn/index.html index 104ab20d..b9c2afac 100644 --- a/public/tags/vpn/index.html +++ b/public/tags/vpn/index.html @@ -45,9 +45,9 @@ - + - + @@ -625,6 +625,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/wireguard/index.html b/public/tags/wireguard/index.html index e5523abd..048a3c1c 100644 --- a/public/tags/wireguard/index.html +++ b/public/tags/wireguard/index.html @@ -45,9 +45,9 @@ - + - + @@ -671,6 +671,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/zfs/index.html b/public/tags/zfs/index.html index efe036b2..36e2139f 100644 --- a/public/tags/zfs/index.html +++ b/public/tags/zfs/index.html @@ -45,9 +45,9 @@ - + - + @@ -514,6 +514,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/短今/index.html b/public/tags/短今/index.html index 9d889beb..c2067b37 100644 --- a/public/tags/短今/index.html +++ b/public/tags/短今/index.html @@ -45,9 +45,9 @@ - + - + @@ -418,6 +418,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/筆記/index.html b/public/tags/筆記/index.html index d838b0a5..67bd1965 100644 --- a/public/tags/筆記/index.html +++ b/public/tags/筆記/index.html @@ -45,9 +45,9 @@ - + - + @@ -727,6 +727,6 @@ if (!doNotTrack) { - + diff --git a/public/tags/群暉/index.html b/public/tags/群暉/index.html index 8f07f6a0..a5796695 100644 --- a/public/tags/群暉/index.html +++ b/public/tags/群暉/index.html @@ -45,9 +45,9 @@ - + - + @@ -471,6 +471,6 @@ if (!doNotTrack) { - +