fix typo
This commit is contained in:
@@ -90,6 +90,90 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/another-way-to-keep-ansible-log/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/another-way-to-keep-ansible-log/">
|
||||
<img src="/images/post-default-10.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-05</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/ansible">ansible</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>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
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/another-way-to-keep-ansible-log/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ansible">ansible</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/ansible-run-task-depends-on-ipaddr/">
|
||||
@@ -265,6 +349,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -285,14 +377,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -303,11 +387,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -5,11 +5,33 @@
|
||||
<link>https://h.cowbay.org/categories/ansible/</link>
|
||||
<description>Recent content in Ansible on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 23 Jul 2019 15:06:37 +0800</lastBuildDate>
|
||||
<lastBuildDate>Mon, 05 Aug 2019 16:24:40 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/categories/ansible/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</title>
|
||||
<link>https://h.cowbay.org/post/another-way-to-keep-ansible-log/</link>
|
||||
<pubDate>Mon, 05 Aug 2019 16:24:40 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/post/another-way-to-keep-ansible-log/</guid>
|
||||
<description><p>之前為了能夠在執行完 ansible playbook 後,能有個log 可以看</p>
|
||||
|
||||
<p>所以在每次執行的時候,都要加入 tee 的指令</p>
|
||||
|
||||
<p>像是</p>
|
||||
|
||||
<pre><code>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
|
||||
</code></pre>
|
||||
|
||||
<p>一直都是放在crontab 裡面執行,也就沒有去管他</p>
|
||||
|
||||
<p>反正也沒有人關心結果怎樣 (攤手</p>
|
||||
|
||||
<p></p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</title>
|
||||
<link>https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/</link>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
<hr>
|
||||
<ul id="all-categories">
|
||||
|
||||
<li><a href="/categories/ansible">Ansible (2)</a></li>
|
||||
<li><a href="/categories/ansible">Ansible (3)</a></li>
|
||||
|
||||
<li><a href="/categories/linux">Linux (1)</a></li>
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
|
||||
<li><a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a></li>
|
||||
|
||||
<li><a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a></li>
|
||||
<li><a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a></li>
|
||||
|
||||
<li><a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a></li>
|
||||
|
||||
@@ -132,6 +132,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -152,14 +160,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -170,11 +170,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<link>https://h.cowbay.org/categories/</link>
|
||||
<description>Recent content in Categories on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 23 Jul 2019 15:06:37 +0800</lastBuildDate>
|
||||
<lastBuildDate>Mon, 05 Aug 2019 16:24:40 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<item>
|
||||
<title>Ansible</title>
|
||||
<link>https://h.cowbay.org/categories/ansible/</link>
|
||||
<pubDate>Tue, 23 Jul 2019 15:06:37 +0800</pubDate>
|
||||
<pubDate>Mon, 05 Aug 2019 16:24:40 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/categories/ansible/</guid>
|
||||
<description></description>
|
||||
@@ -58,7 +58,7 @@
|
||||
<item>
|
||||
<title>筆記</title>
|
||||
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
|
||||
<pubDate>Wed, 31 Jul 2019 11:06:33 +0800</pubDate>
|
||||
<pubDate>Tue, 06 Aug 2019 17:14:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</guid>
|
||||
<description></description>
|
||||
|
||||
@@ -190,6 +190,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -210,14 +218,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -228,11 +228,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -192,6 +192,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -212,14 +220,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -230,11 +230,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -179,6 +179,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -199,14 +207,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -217,11 +217,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -192,6 +192,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -212,14 +220,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -230,11 +230,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -90,6 +90,99 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">
|
||||
<img src="/images/post-default-5.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-08-06</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>之前總部和分公司之間 是用buffalo 的小AP 灌 openwrt</p>
|
||||
|
||||
<p>然後用strongswan 來打 IPSEC site to site VPN</p>
|
||||
|
||||
<p>config 看起來不是很難 (只是看起來)</p>
|
||||
|
||||
<p>但是實際上已經找不到當初的文件</p>
|
||||
|
||||
<p>所以要維護很困難(光那些RSA KEY 就不知道為何、如何產生)</p>
|
||||
|
||||
<p>後來採購了兩台edgerouter X 做測試</p>
|
||||
|
||||
<p>也用openvpn 成功的建立了 site to site VPN</p>
|
||||
|
||||
<p>本來想說 openvpn 已經夠簡單了</p>
|
||||
|
||||
<p>今天看到文章說用wireguard 可以更簡單</p>
|
||||
|
||||
<p>於是研究了一下,發現還真的很簡單!</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/vpn">vpn</a>
|
||||
|
||||
<a href="/tags/edgerouter">edgerouter</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||
@@ -806,85 +899,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/ubuntu-1804-install-root-on-raid/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-01-16</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近在弄一台機器,想要把ubuntu 18.04 安裝在software raid上</p>
|
||||
|
||||
<p>因為新開的機器大部分都是在proxmox上,所以很少碰實體機器了</p>
|
||||
|
||||
<p>結果在安裝過程中,做raid碰到一些問題,來紀錄一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ubuntu">ubuntu</a>
|
||||
|
||||
<a href="/tags/raid">raid</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -915,6 +929,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -935,14 +957,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -953,11 +967,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -5,11 +5,40 @@
|
||||
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
|
||||
<description>Recent content in 筆記 on MCの飄狂山莊㊣</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Wed, 31 Jul 2019 11:06:33 +0800</lastBuildDate>
|
||||
<lastBuildDate>Tue, 06 Aug 2019 17:14:17 +0800</lastBuildDate>
|
||||
|
||||
<atom:link href="https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/index.xml" rel="self" type="application/rss+xml" />
|
||||
|
||||
|
||||
<item>
|
||||
<title>[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</title>
|
||||
<link>https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/</link>
|
||||
<pubDate>Tue, 06 Aug 2019 17:14:17 +0800</pubDate>
|
||||
|
||||
<guid>https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/</guid>
|
||||
<description><p>之前總部和分公司之間 是用buffalo 的小AP 灌 openwrt</p>
|
||||
|
||||
<p>然後用strongswan 來打 IPSEC site to site VPN</p>
|
||||
|
||||
<p>config 看起來不是很難 (只是看起來)</p>
|
||||
|
||||
<p>但是實際上已經找不到當初的文件</p>
|
||||
|
||||
<p>所以要維護很困難(光那些RSA KEY 就不知道為何、如何產生)</p>
|
||||
|
||||
<p>後來採購了兩台edgerouter X 做測試</p>
|
||||
|
||||
<p>也用openvpn 成功的建立了 site to site VPN</p>
|
||||
|
||||
<p>本來想說 openvpn 已經夠簡單了</p>
|
||||
|
||||
<p>今天看到文章說用wireguard 可以更簡單</p>
|
||||
|
||||
<p>於是研究了一下,發現還真的很簡單!</p>
|
||||
|
||||
<p></p></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
||||
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
||||
|
||||
@@ -90,6 +90,85 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/ubuntu-1804-install-root-on-raid/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/ubuntu-1804-install-root-on-raid/">
|
||||
<img src="/images/post-default-11.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/ubuntu-1804-install-root-on-raid/">Ubuntu 1804 Install Root on Raid</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2019-01-16</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>最近在弄一台機器,想要把ubuntu 18.04 安裝在software raid上</p>
|
||||
|
||||
<p>因為新開的機器大部分都是在proxmox上,所以很少碰實體機器了</p>
|
||||
|
||||
<p>結果在安裝過程中,做raid碰到一些問題,來紀錄一下</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/ubuntu-1804-install-root-on-raid/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/ubuntu">ubuntu</a>
|
||||
|
||||
<a href="/tags/raid">raid</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
|
||||
@@ -858,97 +937,6 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/bookstack-docker/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/bookstack-docker/">
|
||||
<img src="/images/post-default-12.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/bookstack-docker/">Bookstack Docker</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-06</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>Bookstack 是一套非常好用的線上”筆記”系統</p>
|
||||
|
||||
<p>他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”</p>
|
||||
|
||||
<p>同時在圖書館內建立不同的”書籍”</p>
|
||||
|
||||
<p>而且支援 Markdown 語法</p>
|
||||
|
||||
<p>其他的方式像是在nextcloud上編輯 md檔案(字體太小)</p>
|
||||
|
||||
<p>或者是boostnote(只能在本機)</p>
|
||||
|
||||
<p>都或多或少有點小缺點</p>
|
||||
|
||||
<p>Bookstack則是沒有這些問題,不過就是系統「大」了點…</p>
|
||||
|
||||
<p>不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/bookstack-docker/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/docker">docker</a>
|
||||
|
||||
<a href="/tags/bookstack">Bookstack</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
@@ -981,6 +969,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -1001,14 +997,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -1019,11 +1007,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -90,6 +90,97 @@
|
||||
|
||||
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/bookstack-docker/">
|
||||
<i class="fa fa-fw fa-pencil"></i>
|
||||
</a>
|
||||
|
||||
<article class="default article">
|
||||
|
||||
<div class="featured-image">
|
||||
<a href="/post/bookstack-docker/">
|
||||
<img src="/images/post-default-12.jpg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="/post/bookstack-docker/">Bookstack Docker</a></h3>
|
||||
<div class="meta">
|
||||
|
||||
|
||||
<span class="date moment">2018-11-06</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<span class="categories">
|
||||
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記</a>
|
||||
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p>Bookstack 是一套非常好用的線上”筆記”系統</p>
|
||||
|
||||
<p>他用圖書館/書本的概念,讓使用者可以建立自己的”圖書館”</p>
|
||||
|
||||
<p>同時在圖書館內建立不同的”書籍”</p>
|
||||
|
||||
<p>而且支援 Markdown 語法</p>
|
||||
|
||||
<p>其他的方式像是在nextcloud上編輯 md檔案(字體太小)</p>
|
||||
|
||||
<p>或者是boostnote(只能在本機)</p>
|
||||
|
||||
<p>都或多或少有點小缺點</p>
|
||||
|
||||
<p>Bookstack則是沒有這些問題,不過就是系統「大」了點…</p>
|
||||
|
||||
<p>不過還好有人做成docker的方式來啟動,大大的降低了建置的難度(其實也沒有很難啦,只是要裝個PHP、弄個DB而已)</p>
|
||||
|
||||
<p></p>
|
||||
|
||||
|
||||
<a href="/post/bookstack-docker/" class="more"></a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer">
|
||||
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<i class="fa fa-tags"></i>
|
||||
<div class="links">
|
||||
|
||||
<a href="/tags/docker">docker</a>
|
||||
|
||||
<a href="/tags/bookstack">Bookstack</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="article-wrapper u-cf">
|
||||
|
||||
<a class="bubble" href="/post/enable-synology-public-ssh/">
|
||||
@@ -205,6 +296,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -225,14 +324,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -243,11 +334,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -202,6 +202,14 @@
|
||||
<strong></strong>
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/another-way-to-keep-ansible-log/">[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||
</li>
|
||||
@@ -222,14 +230,6 @@
|
||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/change-timezone-in-docker/">[筆記] 修改 docker 容器內的時區 - Change Timezone in Docker</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/post/transfer-file-content-using-xclip-in-terminal/">Transfer File Content Using Xclip in Terminal</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -240,11 +240,11 @@
|
||||
<ul>
|
||||
|
||||
<li>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (21)</a>
|
||||
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/categories/ansible">Ansible (2)</a>
|
||||
<a href="/categories/ansible">Ansible (3)</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user