fix typo
This commit is contained in:
37
content/post/another-way-to-keep-ansible-log.md
Normal file
37
content/post/another-way-to-keep-ansible-log.md
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
title: "[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command"
|
||||||
|
date: 2019-08-05T16:24:40+08:00
|
||||||
|
noSummary: false
|
||||||
|
featuredImage: "https://h.cowbay.org/images/post-default-10.jpg"
|
||||||
|
categories: ['ansible']
|
||||||
|
tags: ['ansible']
|
||||||
|
author: "Eric Chang"
|
||||||
|
---
|
||||||
|
|
||||||
|
之前為了能夠在執行完 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 裡面執行,也就沒有去管他
|
||||||
|
|
||||||
|
反正也沒有人關心結果怎樣 (攤手
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
|
||||||
|
後來發現有個指令叫 script 可以完整紀錄指令執行期間的console 畫面變化(包含了ansi color!)
|
||||||
|
|
||||||
|
剛剛測試了一下,發現的確是可以用,不過也沒感覺有特別好用的地方,就只是做個紀錄吧,說不定以後其他地方可以用得到
|
||||||
|
|
||||||
|
```
|
||||||
|
sciprt -c 'make EXTRA_ARGS="-i inventory/production --limit hqpc074" user_client' -f hqpc074.out'
|
||||||
|
```
|
||||||
|
結果長這樣
|
||||||
|

|
||||||
|
|
||||||
|
就真的跟console 的畫面一樣
|
||||||
|
|
||||||
@@ -0,0 +1,231 @@
|
|||||||
|
---
|
||||||
|
title: "[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters"
|
||||||
|
date: 2019-08-06T17:14:17+08:00
|
||||||
|
noSummary: false
|
||||||
|
featuredImage: "https://h.cowbay.org/images/post-default-5.jpg"
|
||||||
|
categories: ['筆記']
|
||||||
|
tags: ['vpn','edgerouter']
|
||||||
|
author: "Eric Chang"
|
||||||
|
---
|
||||||
|
|
||||||
|
之前總部和分公司之間 是用buffalo 的小AP 灌 openwrt
|
||||||
|
|
||||||
|
然後用strongswan 來打 IPSEC site to site VPN
|
||||||
|
|
||||||
|
config 看起來不是很難 (只是看起來)
|
||||||
|
|
||||||
|
但是實際上已經找不到當初的文件
|
||||||
|
|
||||||
|
所以要維護很困難(光那些RSA KEY 就不知道為何、如何產生)
|
||||||
|
|
||||||
|
後來採購了兩台edgerouter X 做測試
|
||||||
|
|
||||||
|
也用openvpn 成功的建立了 site to site VPN
|
||||||
|
|
||||||
|
本來想說 openvpn 已經夠簡單了
|
||||||
|
|
||||||
|
今天看到文章說用wireguard 可以更簡單
|
||||||
|
|
||||||
|
於是研究了一下,發現還真的很簡單!
|
||||||
|
|
||||||
|
<!--more-->
|
||||||
|
### download deb for your edgerouter
|
||||||
|
#### go check https://github.com/Lochnair/vyatta-wireguard first
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -L -O https://github.com/Lochnair/vyatta-wireguard/releases/download/0.0.20190702-1/wireguard-v2.0-e50-0.0.20190702-1.deb
|
||||||
|
dpkg -i wireguard-v2.0-e50-0.0.20190702-1.deb
|
||||||
|
```
|
||||||
|
|
||||||
|
process log
|
||||||
|
|
||||||
|
```
|
||||||
|
root@ubnt112:~# dpkg -i wireguard-v2.0-e50-0.0.20190702-1.deb
|
||||||
|
Selecting previously unselected package wireguard.
|
||||||
|
(Reading database ... 37024 files and directories currently installed.)
|
||||||
|
Preparing to unpack wireguard-v2.0-e50-0.0.20190702-1.deb ...
|
||||||
|
Adding 'diversion of /opt/vyatta/share/perl5/Vyatta/Interface.pm to /opt/vyatta/share/perl5/Vyatta/Interface.pm.vyatta by wireguard'
|
||||||
|
Adding 'diversion of /opt/vyatta/share/vyatta-cfg/templates/firewall/options/mss-clamp/interface-type/node.def to /opt/vyatta/share/vyatta-cfg/templates/firewall/options/mss-clamp/interface-type/node.def.vyatta by wireguard'
|
||||||
|
Unpacking wireguard (0.0.20190702-1) ...
|
||||||
|
Setting up wireguard (0.0.20190702-1) ...
|
||||||
|
```
|
||||||
|
|
||||||
|
#### generate private/public key in left router
|
||||||
|
|
||||||
|
```
|
||||||
|
wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
```
|
||||||
|
|
||||||
|
first one in private key and the next one is public key of this router
|
||||||
|
|
||||||
|
```
|
||||||
|
QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
```
|
||||||
|
|
||||||
|
#### configure left site edgerouter
|
||||||
|
|
||||||
|
```
|
||||||
|
configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.1/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
### paster your private key which was just been generate
|
||||||
|
set interfaces wireguard wg0 private-key QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
```
|
||||||
|
|
||||||
|
#### generate private/public key in right router
|
||||||
|
```
|
||||||
|
wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
```
|
||||||
|
|
||||||
|
first one in private key and the next one is public key of this router
|
||||||
|
|
||||||
|
```
|
||||||
|
UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
```
|
||||||
|
|
||||||
|
#### configure right site edgerouter
|
||||||
|
```
|
||||||
|
configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.2/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
### paster your private key which was just been generate
|
||||||
|
set interfaces wireguard wg0 private-key UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
```
|
||||||
|
|
||||||
|
now , configure both router to talk to each other
|
||||||
|
|
||||||
|
#### configure in left router
|
||||||
|
```
|
||||||
|
### use the right router public key here
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= endpoint 222.222.222.222:51820
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= persistent-keepalive 15
|
||||||
|
```
|
||||||
|
|
||||||
|
#### configre in right router
|
||||||
|
```
|
||||||
|
### use the left router public key here
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= endpoint 111.111.111.111:51280
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= persistent-keepalive 15
|
||||||
|
```
|
||||||
|
|
||||||
|
#### configure firewall policy in left site router
|
||||||
|
```
|
||||||
|
### change 40 to your own rule number
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
```
|
||||||
|
|
||||||
|
#### configure firewall policy in right site router
|
||||||
|
```
|
||||||
|
### change 40 to your own rule number
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
```
|
||||||
|
|
||||||
|
then finally , commit these changes on both side router
|
||||||
|
```
|
||||||
|
commit
|
||||||
|
### and save if you want
|
||||||
|
save
|
||||||
|
```
|
||||||
|
|
||||||
|
#### oops , one more step , add static route
|
||||||
|
##### manually add static route in left router
|
||||||
|
```
|
||||||
|
ip route add 192.168.111.0/24 dev wg0
|
||||||
|
```
|
||||||
|
|
||||||
|
##### manually add static route in right router
|
||||||
|
```
|
||||||
|
ip route add 192.168.112.0/24 dev wg0
|
||||||
|
```
|
||||||
|
|
||||||
|
#### check wireguard status in both router
|
||||||
|
##### left
|
||||||
|
```
|
||||||
|
root@ubnt112:~# sudo wg
|
||||||
|
interface: wg0
|
||||||
|
public key: ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
private key: (hidden)
|
||||||
|
listening port: 51820
|
||||||
|
|
||||||
|
peer: tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
endpoint: 111.111.111.111:51820
|
||||||
|
allowed ips: 192.168.99.0/16
|
||||||
|
latest handshake: 1 minute, 19 seconds ago
|
||||||
|
transfer: 7.49 MiB received, 195.86 MiB sent
|
||||||
|
persistent keepalive: every 15 seconds
|
||||||
|
root@ubnt112:~#
|
||||||
|
```
|
||||||
|
|
||||||
|
##### right
|
||||||
|
```
|
||||||
|
interface: wg0
|
||||||
|
public key: tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
private key: (hidden)
|
||||||
|
listening port: 51820
|
||||||
|
|
||||||
|
peer: ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
endpoint: 222.222.222.222:51820
|
||||||
|
allowed ips: 192.168.99.0/16
|
||||||
|
latest handshake: 1 minute, 48 seconds ago
|
||||||
|
transfer: 195.60 MiB received, 8.07 MiB sent
|
||||||
|
persistent keepalive: every 15 seconds
|
||||||
|
root@ubnt111:~#
|
||||||
|
```
|
||||||
|
|
||||||
|
### need more edgerouter and lease line to try multiple site to site VPN using wideguard
|
||||||
|
|
||||||
|
##### need to study about allowed-ips
|
||||||
|
|
||||||
|
### sort out scripts
|
||||||
|
##### left router
|
||||||
|
```
|
||||||
|
wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.1/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
set interfaces wireguard wg0 private-key QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= endpoint 222.222.222.222:51820
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= persistent-keepalive 15
|
||||||
|
set firewall name WAN_LOCAL rule 40 action accept
|
||||||
|
set firewall name WAN_LOCAL rule 40 protocol udp
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
commit
|
||||||
|
save
|
||||||
|
ip route add 192.168.111.0/24 dev wg0
|
||||||
|
```
|
||||||
|
##### right router
|
||||||
|
```
|
||||||
|
wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.2/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
set interfaces wireguard wg0 private-key UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= endpoint 111.111.111.111:51280
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= persistent-keepalive 15
|
||||||
|
set firewall name WAN_LOCAL rule 40 action accept
|
||||||
|
set firewall name WAN_LOCAL rule 40 protocol udp
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
commit
|
||||||
|
save
|
||||||
|
ip route add 192.168.112.0/24 dev wg0
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -115,6 +115,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -135,14 +143,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -153,11 +153,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -90,6 +90,183 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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/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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||||
@@ -733,162 +910,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/log-all-bash-commands/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/log-all-bash-commands/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2019-04-23</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>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
|
|
||||||
|
|
||||||
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
|
|
||||||
|
|
||||||
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
|
|
||||||
|
|
||||||
<p>所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/log-all-bash-commands/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/log">log</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2019-04-01</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>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
|
||||||
|
|
||||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
|
||||||
|
|
||||||
<p>可是一直出現device busy的錯誤訊息</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/zfs">zfs</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -919,6 +940,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -939,14 +968,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -957,11 +978,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -5,11 +5,62 @@
|
|||||||
<link>https://h.cowbay.org/author/eric-chang/</link>
|
<link>https://h.cowbay.org/author/eric-chang/</link>
|
||||||
<description>Recent content in Eric Chang on MCの飄狂山莊㊣</description>
|
<description>Recent content in Eric Chang on MCの飄狂山莊㊣</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<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/author/eric-chang/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://h.cowbay.org/author/eric-chang/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>[筆記] 為了保存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>
|
<item>
|
||||||
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
||||||
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
||||||
|
|||||||
@@ -90,6 +90,162 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/log-all-bash-commands/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/log-all-bash-commands/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2019-04-23</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>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
|
||||||
|
|
||||||
|
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
|
||||||
|
|
||||||
|
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
|
||||||
|
|
||||||
|
<p>所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/log-all-bash-commands/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/log">log</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2019-04-01</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>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||||
|
|
||||||
|
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||||
|
|
||||||
|
<p>可是一直出現device busy的錯誤訊息</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/zfs">zfs</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
||||||
@@ -692,190 +848,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/synology-ds415-repair-cost/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/synology-ds415-repair-cost/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415+ 誇張的維修費用</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-12-04</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="categories">
|
|
||||||
|
|
||||||
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
|
|
||||||
|
|
||||||
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
|
|
||||||
|
|
||||||
<p>但是已經無法登入系統</p>
|
|
||||||
|
|
||||||
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
|
|
||||||
|
|
||||||
<p>底下的電源藍燈不斷的在閃爍</p>
|
|
||||||
|
|
||||||
<p>雖然我一再表示不希望送修了</p>
|
|
||||||
|
|
||||||
<p>一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…</p>
|
|
||||||
|
|
||||||
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/nas">NAS</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
|
|
||||||
|
|
||||||
<a href="/tags/synology">synology</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
|
||||||
<img src="/images/post-default-03.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-11-30</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>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
|
||||||
|
|
||||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
|
||||||
|
|
||||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
|
||||||
|
|
||||||
<p>所以一直沒有付諸行動。</p>
|
|
||||||
|
|
||||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
|
||||||
|
|
||||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
|
||||||
|
|
||||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
|
||||||
|
|
||||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
|
||||||
|
|
||||||
<p>今天就花了點時間測試一下</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/10g">10G</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
|
||||||
|
|
||||||
<a href="/tags/mellanox">mellanox</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -908,6 +880,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -928,14 +908,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -946,11 +918,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -90,6 +90,190 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/synology-ds415-repair-cost/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/synology-ds415-repair-cost/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415+ 誇張的維修費用</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-12-04</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="categories">
|
||||||
|
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
|
||||||
|
|
||||||
|
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
|
||||||
|
|
||||||
|
<p>但是已經無法登入系統</p>
|
||||||
|
|
||||||
|
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
|
||||||
|
|
||||||
|
<p>底下的電源藍燈不斷的在閃爍</p>
|
||||||
|
|
||||||
|
<p>雖然我一再表示不希望送修了</p>
|
||||||
|
|
||||||
|
<p>一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…</p>
|
||||||
|
|
||||||
|
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/nas">NAS</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
|
||||||
|
|
||||||
|
<a href="/tags/synology">synology</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||||
|
<img src="/images/post-default-03.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-11-30</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>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||||
|
|
||||||
|
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||||
|
|
||||||
|
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||||
|
|
||||||
|
<p>所以一直沒有付諸行動。</p>
|
||||||
|
|
||||||
|
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||||
|
|
||||||
|
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||||
|
|
||||||
|
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||||
|
|
||||||
|
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||||
|
|
||||||
|
<p>今天就花了點時間測試一下</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/10g">10G</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||||
|
|
||||||
|
<a href="/tags/mellanox">mellanox</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
||||||
@@ -790,74 +974,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/gallery/sammy93/">
|
|
||||||
<i class="fa fa-fw fa-camera"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="gallery">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-11-05</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="categories">
|
|
||||||
|
|
||||||
<a href="/categories/ps">PS</a>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/ps">ps</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -869,6 +985,8 @@
|
|||||||
|
|
||||||
<div class="paginator">
|
<div class="paginator">
|
||||||
|
|
||||||
|
<a href="/author/eric-chang/page/4/" class="older"><i class="fa fa-angle-double-left"></i> </a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/author/eric-chang/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
<a href="/author/eric-chang/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
||||||
@@ -888,6 +1006,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -908,14 +1034,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -926,11 +1044,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
391
public/author/eric-chang/page/4/index.html
Normal file
391
public/author/eric-chang/page/4/index.html
Normal file
@@ -0,0 +1,391 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="tw">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="author" content="Eric Chang">
|
||||||
|
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
|
||||||
|
<meta name="generator" content="Hugo 0.50" />
|
||||||
|
<title> Eric Chang | MCの飄狂山莊㊣</title>
|
||||||
|
<meta name="description" content="Eric Chang - What’s the Worst That Could Happen?">
|
||||||
|
<meta itemprop="name" content="Eric Chang">
|
||||||
|
<meta itemprop="description" content="Eric Chang - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:title" content="Eric Chang">
|
||||||
|
<meta property="og:description" content="Eric Chang - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
|
||||||
|
<meta property="og:url" content="https://h.cowbay.org/author/eric-chang/">
|
||||||
|
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
|
||||||
|
|
||||||
|
|
||||||
|
<link href="https://h.cowbay.org/author/eric-chang/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||||
|
<link href="https://h.cowbay.org/author/eric-chang/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.a89dfa577f701bffe9659f476ef61241cb2a3452b913e793463b0074a10c0a59.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body class="bilberry-hugo-theme">
|
||||||
|
|
||||||
|
<nav class="permanentTopNav">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<ul class="topnav">
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="search-box" class="search">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
<input id="search" type="text" placeholder="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<div class="container">
|
||||||
|
<div class="logo">
|
||||||
|
<a href="/" class="logo">
|
||||||
|
|
||||||
|
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="overlay"><i class="fa fa-home"></i></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="titles">
|
||||||
|
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
|
||||||
|
|
||||||
|
<span class="subtitle">What’s the Worst That Could Happen?</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="toggler permanentTopNav">
|
||||||
|
|
||||||
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="main container">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/gallery/sammy93/">
|
||||||
|
<i class="fa fa-fw fa-camera"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="gallery">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-11-05</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="categories">
|
||||||
|
|
||||||
|
<a href="/categories/ps">PS</a>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/ps">ps</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="paginator">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/author/eric-chang/page/3/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="recent-posts">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-run-task-depends-on-ipaddr/">[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-selectattr-from-list-in-dictionary/">[ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/remote-management-system-meshcentral/">linux底下遠端遙控&管理的好用系統 Meshcentral / Remote Management & control system Meshcentral</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="categories">
|
||||||
|
<a href="/categories/"><strong></strong></a>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/linux">Linux (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/proxmox">Proxmox (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ps">Ps (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
|
||||||
|
<div class="external-profiles">
|
||||||
|
<strong></strong>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank"><img border="0" src="https://www.yapee.tw/mvc/file/publicFile?pathType=data/linkLogo/B0S0F0002585.jpg"></img></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="credits">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright">
|
||||||
|
<a href="https://github.com/Lednerb" target="_blank">
|
||||||
|
©
|
||||||
|
|
||||||
|
2017
|
||||||
|
|
||||||
|
by Lednerb
|
||||||
|
</a>
|
||||||
|
-
|
||||||
|
<a href="https://h.cowbay.org/author/eric-chang/index.xml">RSS</a>
|
||||||
|
</div>
|
||||||
|
<div class="author">
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank">Bilberry Hugo Theme</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/javascript">
|
||||||
|
var doNotTrack = false;
|
||||||
|
if (!doNotTrack) {
|
||||||
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||||
|
ga('create', 'UA-138954876-1', 'auto');
|
||||||
|
|
||||||
|
ga('send', 'pageview');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR+EOJB6uKUez/iGAnFcg=="></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(".moment").each(function() {
|
||||||
|
$(this).text(
|
||||||
|
moment( $(this).text() )
|
||||||
|
.locale( "tw" )
|
||||||
|
.format('LL')
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".footnote-return sup").html("");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
|
||||||
|
var index = client.initIndex("h_cowbay_org");
|
||||||
|
|
||||||
|
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
|
||||||
|
[
|
||||||
|
{
|
||||||
|
|
||||||
|
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
|
||||||
|
|
||||||
|
displayKey: function(suggestion) {
|
||||||
|
return suggestion.title || suggestion.author
|
||||||
|
},
|
||||||
|
templates: {
|
||||||
|
suggestion: function(suggestion) {
|
||||||
|
return "<span class='entry " + suggestion.type + "'>"
|
||||||
|
+ "<span class='title'>" + suggestion.title + "</span>"
|
||||||
|
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
|
||||||
|
+ "</span>"
|
||||||
|
;
|
||||||
|
},
|
||||||
|
empty: function() {
|
||||||
|
return "<span class='empty'></span>"
|
||||||
|
},
|
||||||
|
footer: function() {
|
||||||
|
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
])
|
||||||
|
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
})
|
||||||
|
.keypress(function (event, suggestion) {
|
||||||
|
if (event.which == 13) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<ul id="all-categories">
|
<ul id="all-categories">
|
||||||
|
|
||||||
<li><a href="/author/eric-chang">Eric chang (29)</a></li>
|
<li><a href="/author/eric-chang">Eric chang (31)</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -120,6 +120,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -140,14 +148,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -158,11 +158,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<title>Eric Chang</title>
|
<title>Eric Chang</title>
|
||||||
<link>https://h.cowbay.org/author/eric-chang/</link>
|
<link>https://h.cowbay.org/author/eric-chang/</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/author/eric-chang/</guid>
|
<guid>https://h.cowbay.org/author/eric-chang/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
|
|||||||
@@ -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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/ansible-run-task-depends-on-ipaddr/">
|
<a class="bubble" href="/post/ansible-run-task-depends-on-ipaddr/">
|
||||||
@@ -265,6 +349,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -285,14 +377,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -303,11 +387,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -5,11 +5,33 @@
|
|||||||
<link>https://h.cowbay.org/categories/ansible/</link>
|
<link>https://h.cowbay.org/categories/ansible/</link>
|
||||||
<description>Recent content in Ansible on MCの飄狂山莊㊣</description>
|
<description>Recent content in Ansible on MCの飄狂山莊㊣</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<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" />
|
<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>
|
<item>
|
||||||
<title>[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</title>
|
<title>[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</title>
|
||||||
<link>https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/</link>
|
<link>https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/</link>
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<ul id="all-categories">
|
<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>
|
<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%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>
|
<li><a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a></li>
|
||||||
|
|
||||||
@@ -132,6 +132,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -152,14 +160,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -170,11 +170,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<link>https://h.cowbay.org/categories/</link>
|
<link>https://h.cowbay.org/categories/</link>
|
||||||
<description>Recent content in Categories on MCの飄狂山莊㊣</description>
|
<description>Recent content in Categories on MCの飄狂山莊㊣</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<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" />
|
<atom:link href="https://h.cowbay.org/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<title>Ansible</title>
|
<title>Ansible</title>
|
||||||
<link>https://h.cowbay.org/categories/ansible/</link>
|
<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>
|
<guid>https://h.cowbay.org/categories/ansible/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<title>筆記</title>
|
<title>筆記</title>
|
||||||
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
|
<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>
|
<guid>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
|
|||||||
@@ -190,6 +190,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -210,14 +218,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -228,11 +228,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -192,6 +192,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -212,14 +220,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -230,11 +230,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -179,6 +179,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -199,14 +207,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -217,11 +217,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -192,6 +192,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -212,14 +220,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -230,11 +230,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
<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>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -915,6 +929,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -935,14 +957,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -953,11 +967,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -5,11 +5,40 @@
|
|||||||
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
|
<link>https://h.cowbay.org/categories/%E7%AD%86%E8%A8%98/</link>
|
||||||
<description>Recent content in 筆記 on MCの飄狂山莊㊣</description>
|
<description>Recent content in 筆記 on MCの飄狂山莊㊣</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<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" />
|
<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>
|
<item>
|
||||||
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
||||||
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
<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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/smartd-failed-to-start-in-freenas/">
|
<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>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -981,6 +969,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -1001,14 +997,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1019,11 +1007,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/enable-synology-public-ssh/">
|
<a class="bubble" href="/post/enable-synology-public-ssh/">
|
||||||
@@ -205,6 +296,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -225,14 +324,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -243,11 +334,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -202,6 +202,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -222,14 +230,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -240,11 +240,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -179,6 +179,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -199,14 +207,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -217,11 +217,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -191,6 +191,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -211,14 +219,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -229,11 +229,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -95,6 +95,187 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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/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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||||
@@ -752,166 +933,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/log-all-bash-commands/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/log-all-bash-commands/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2019-04-23</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>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
|
|
||||||
|
|
||||||
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
|
|
||||||
|
|
||||||
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
|
|
||||||
|
|
||||||
<p>所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/log-all-bash-commands/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/log">log</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2019-04-01</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>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
|
||||||
|
|
||||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
|
||||||
|
|
||||||
<p>可是一直出現device busy的錯誤訊息</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/zfs">zfs</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -943,6 +964,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -963,14 +992,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -981,11 +1002,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -111,6 +111,13 @@
|
|||||||
"type": "tag",
|
"type": "tag",
|
||||||
"url": "https://h.cowbay.org/tags/du"
|
"url": "https://h.cowbay.org/tags/du"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"iconClass": "fa-tag",
|
||||||
|
"objectID": "https://h.cowbay.org/tags/edgerouter",
|
||||||
|
"title": "Edgerouter",
|
||||||
|
"type": "tag",
|
||||||
|
"url": "https://h.cowbay.org/tags/edgerouter"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"iconClass": "fa-tag",
|
"iconClass": "fa-tag",
|
||||||
"objectID": "https://h.cowbay.org/tags/firefox",
|
"objectID": "https://h.cowbay.org/tags/firefox",
|
||||||
@@ -258,6 +265,13 @@
|
|||||||
"type": "tag",
|
"type": "tag",
|
||||||
"url": "https://h.cowbay.org/tags/vim"
|
"url": "https://h.cowbay.org/tags/vim"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"iconClass": "fa-tag",
|
||||||
|
"objectID": "https://h.cowbay.org/tags/vpn",
|
||||||
|
"title": "Vpn",
|
||||||
|
"type": "tag",
|
||||||
|
"url": "https://h.cowbay.org/tags/vpn"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"iconClass": "fa-tag",
|
"iconClass": "fa-tag",
|
||||||
"objectID": "https://h.cowbay.org/tags/zfs",
|
"objectID": "https://h.cowbay.org/tags/zfs",
|
||||||
|
|||||||
@@ -5,11 +5,62 @@
|
|||||||
<link>https://h.cowbay.org/</link>
|
<link>https://h.cowbay.org/</link>
|
||||||
<description>Recent content on MCの飄狂山莊㊣</description>
|
<description>Recent content on MCの飄狂山莊㊣</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<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/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://h.cowbay.org/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>[筆記] 為了保存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>
|
<item>
|
||||||
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
||||||
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
||||||
|
|||||||
@@ -95,6 +95,166 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/log-all-bash-commands/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/log-all-bash-commands/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2019-04-23</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>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
|
||||||
|
|
||||||
|
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
|
||||||
|
|
||||||
|
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
|
||||||
|
|
||||||
|
<p>所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/log-all-bash-commands/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/log">log</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2019-04-01</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>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||||
|
|
||||||
|
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||||
|
|
||||||
|
<p>可是一直出現device busy的錯誤訊息</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/zfs">zfs</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
||||||
@@ -711,194 +871,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/synology-ds415-repair-cost/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/synology-ds415-repair-cost/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415+ 誇張的維修費用</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-12-04</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="categories">
|
|
||||||
|
|
||||||
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
|
|
||||||
|
|
||||||
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
|
|
||||||
|
|
||||||
<p>但是已經無法登入系統</p>
|
|
||||||
|
|
||||||
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
|
|
||||||
|
|
||||||
<p>底下的電源藍燈不斷的在閃爍</p>
|
|
||||||
|
|
||||||
<p>雖然我一再表示不希望送修了</p>
|
|
||||||
|
|
||||||
<p>一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…</p>
|
|
||||||
|
|
||||||
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/nas">NAS</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
|
|
||||||
|
|
||||||
<a href="/tags/synology">synology</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
|
||||||
<img src="/images/post-default-03.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-11-30</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>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
|
||||||
|
|
||||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
|
||||||
|
|
||||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
|
||||||
|
|
||||||
<p>所以一直沒有付諸行動。</p>
|
|
||||||
|
|
||||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
|
||||||
|
|
||||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
|
||||||
|
|
||||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
|
||||||
|
|
||||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
|
||||||
|
|
||||||
<p>今天就花了點時間測試一下</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/10g">10G</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
|
||||||
|
|
||||||
<a href="/tags/mellanox">mellanox</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -932,6 +904,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -952,14 +932,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -970,11 +942,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -95,6 +95,194 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/synology-ds415-repair-cost/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/synology-ds415-repair-cost/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415+ 誇張的維修費用</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-12-04</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="categories">
|
||||||
|
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
|
||||||
|
|
||||||
|
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
|
||||||
|
|
||||||
|
<p>但是已經無法登入系統</p>
|
||||||
|
|
||||||
|
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
|
||||||
|
|
||||||
|
<p>底下的電源藍燈不斷的在閃爍</p>
|
||||||
|
|
||||||
|
<p>雖然我一再表示不希望送修了</p>
|
||||||
|
|
||||||
|
<p>一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…</p>
|
||||||
|
|
||||||
|
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/nas">NAS</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
|
||||||
|
|
||||||
|
<a href="/tags/synology">synology</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||||
|
<img src="/images/post-default-03.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-11-30</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>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||||
|
|
||||||
|
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||||
|
|
||||||
|
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||||
|
|
||||||
|
<p>所以一直沒有付諸行動。</p>
|
||||||
|
|
||||||
|
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||||
|
|
||||||
|
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||||
|
|
||||||
|
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||||
|
|
||||||
|
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||||
|
|
||||||
|
<p>今天就花了點時間測試一下</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/10g">10G</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||||
|
|
||||||
|
<a href="/tags/mellanox">mellanox</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
||||||
@@ -809,76 +997,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/gallery/sammy93/">
|
|
||||||
<i class="fa fa-fw fa-camera"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="gallery">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-11-05</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="categories">
|
|
||||||
|
|
||||||
<a href="/categories/ps">PS</a>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/ps">ps</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -891,6 +1009,8 @@
|
|||||||
|
|
||||||
<div class="paginator">
|
<div class="paginator">
|
||||||
|
|
||||||
|
<a href="/page/4/" class="older"><i class="fa fa-angle-double-left"></i> </a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
<a href="/page/2/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
||||||
@@ -910,6 +1030,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -930,14 +1058,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -948,11 +1068,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
397
public/page/4/index.html
Normal file
397
public/page/4/index.html
Normal file
@@ -0,0 +1,397 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="tw">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="author" content="Eric Chang">
|
||||||
|
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
|
||||||
|
<meta name="generator" content="Hugo 0.50" />
|
||||||
|
<title> What’s the Worst That Could Happen? | MCの飄狂山莊㊣</title>
|
||||||
|
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta itemprop="name" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta itemprop="description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:title" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
|
||||||
|
<meta property="og:url" content="https://h.cowbay.org/">
|
||||||
|
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
|
||||||
|
|
||||||
|
|
||||||
|
<link href="https://h.cowbay.org/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||||
|
<link href="https://h.cowbay.org/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.a89dfa577f701bffe9659f476ef61241cb2a3452b913e793463b0074a10c0a59.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body class="bilberry-hugo-theme">
|
||||||
|
|
||||||
|
<nav class="permanentTopNav">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<ul class="topnav">
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="search-box" class="search">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
<input id="search" type="text" placeholder="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<div class="container">
|
||||||
|
<div class="logo">
|
||||||
|
<a href="/" class="logo">
|
||||||
|
|
||||||
|
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="overlay"><i class="fa fa-home"></i></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="titles">
|
||||||
|
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
|
||||||
|
|
||||||
|
<span class="subtitle">What’s the Worst That Could Happen?</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="toggler permanentTopNav">
|
||||||
|
|
||||||
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="main container">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/gallery/sammy93/">
|
||||||
|
<i class="fa fa-fw fa-camera"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="gallery">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/gallery/sammy93/">Sammy93</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-11-05</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="categories">
|
||||||
|
|
||||||
|
<a href="/categories/ps">PS</a>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/ps">ps</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%9F%AD%E4%BB%8A">短今</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="paginator">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/page/3/" class="newer"> <i class="fa fa-angle-double-right"></i></a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="recent-posts">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-run-task-depends-on-ipaddr/">[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-selectattr-from-list-in-dictionary/">[ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/remote-management-system-meshcentral/">linux底下遠端遙控&管理的好用系統 Meshcentral / Remote Management & control system Meshcentral</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="categories">
|
||||||
|
<a href="/categories/"><strong></strong></a>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/linux">Linux (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/proxmox">Proxmox (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ps">Ps (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
|
||||||
|
<div class="external-profiles">
|
||||||
|
<strong></strong>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank"><img border="0" src="https://www.yapee.tw/mvc/file/publicFile?pathType=data/linkLogo/B0S0F0002585.jpg"></img></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="credits">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright">
|
||||||
|
<a href="https://github.com/Lednerb" target="_blank">
|
||||||
|
©
|
||||||
|
|
||||||
|
2017
|
||||||
|
|
||||||
|
by Lednerb
|
||||||
|
</a>
|
||||||
|
-
|
||||||
|
<a href="https://h.cowbay.org/index.xml">RSS</a>
|
||||||
|
</div>
|
||||||
|
<div class="author">
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank">Bilberry Hugo Theme</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/javascript">
|
||||||
|
var doNotTrack = false;
|
||||||
|
if (!doNotTrack) {
|
||||||
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||||
|
ga('create', 'UA-138954876-1', 'auto');
|
||||||
|
|
||||||
|
ga('send', 'pageview');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR+EOJB6uKUez/iGAnFcg=="></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(".moment").each(function() {
|
||||||
|
$(this).text(
|
||||||
|
moment( $(this).text() )
|
||||||
|
.locale( "tw" )
|
||||||
|
.format('LL')
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".footnote-return sup").html("");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
|
||||||
|
var index = client.initIndex("h_cowbay_org");
|
||||||
|
|
||||||
|
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
|
||||||
|
[
|
||||||
|
{
|
||||||
|
|
||||||
|
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
|
||||||
|
|
||||||
|
displayKey: function(suggestion) {
|
||||||
|
return suggestion.title || suggestion.author
|
||||||
|
},
|
||||||
|
templates: {
|
||||||
|
suggestion: function(suggestion) {
|
||||||
|
return "<span class='entry " + suggestion.type + "'>"
|
||||||
|
+ "<span class='title'>" + suggestion.title + "</span>"
|
||||||
|
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
|
||||||
|
+ "</span>"
|
||||||
|
;
|
||||||
|
},
|
||||||
|
empty: function() {
|
||||||
|
return "<span class='empty'></span>"
|
||||||
|
},
|
||||||
|
footer: function() {
|
||||||
|
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
])
|
||||||
|
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
})
|
||||||
|
.keypress(function (event, suggestion) {
|
||||||
|
if (event.which == 13) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -415,6 +415,14 @@ TCP window size: 85.0 KByte (default)
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -435,14 +443,6 @@ TCP window size: 85.0 KByte (default)
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -453,11 +453,11 @@ TCP window size: 85.0 KByte (default)
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
424
public/post/another-way-to-keep-ansible-log/index.html
Normal file
424
public/post/another-way-to-keep-ansible-log/index.html
Normal file
@@ -0,0 +1,424 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="tw">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="author" content="Eric Chang">
|
||||||
|
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
|
||||||
|
<meta name="generator" content="Hugo 0.50" />
|
||||||
|
<title> [筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command | MCの飄狂山莊㊣</title>
|
||||||
|
<meta name="description" content="[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command - What’s the Worst That Could Happen?">
|
||||||
|
<meta itemprop="name" content="[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command">
|
||||||
|
<meta itemprop="description" content="[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:title" content="[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command">
|
||||||
|
<meta property="og:description" content="[筆記] 為了保存log 用script 指令執行ansible / Another Way to Keep Ansible Log using script command - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:image" content="https://h.cowbay.org/images/post-default-10.jpg">
|
||||||
|
<meta property="og:url" content="https://h.cowbay.org/post/another-way-to-keep-ansible-log/">
|
||||||
|
<meta property="og:site_name" content="MCの飄狂山莊㊣">
|
||||||
|
<meta property="og:type" content="article">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.a89dfa577f701bffe9659f476ef61241cb2a3452b913e793463b0074a10c0a59.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body class="bilberry-hugo-theme">
|
||||||
|
|
||||||
|
<nav class="permanentTopNav">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<ul class="topnav">
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="search-box" class="search">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
<input id="search" type="text" placeholder="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<div class="container">
|
||||||
|
<div class="logo">
|
||||||
|
<a href="/" class="logo">
|
||||||
|
|
||||||
|
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="overlay"><i class="fa fa-home"></i></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="titles">
|
||||||
|
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
|
||||||
|
|
||||||
|
<span class="subtitle">What’s the Worst That Could Happen?</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="toggler permanentTopNav">
|
||||||
|
|
||||||
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="main container">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf single">
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<p>後來發現有個指令叫 script 可以完整紀錄指令執行期間的console 畫面變化(包含了ansi color!)</p>
|
||||||
|
|
||||||
|
<p>剛剛測試了一下,發現的確是可以用,不過也沒感覺有特別好用的地方,就只是做個紀錄吧,說不定以後其他地方可以用得到</p>
|
||||||
|
|
||||||
|
<pre><code>sciprt -c 'make EXTRA_ARGS="-i inventory/production --limit hqpc074" user_client' -f hqpc074.out'
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>結果長這樣
|
||||||
|
<img src="https://i.imgur.com/F9KFAWV.png" alt="" /></p>
|
||||||
|
|
||||||
|
<p>就真的跟console 的畫面一樣</p>
|
||||||
|
|
||||||
|
</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 id="disqus_thread"></div>
|
||||||
|
<script type="application/javascript">
|
||||||
|
var disqus_config = function () {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
(function() {
|
||||||
|
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
|
||||||
|
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var d = document, s = d.createElement('script'); s.async = true;
|
||||||
|
s.src = '//' + "h-cowbay-org-1" + '.disqus.com/embed.js';
|
||||||
|
s.setAttribute('data-timestamp', +new Date());
|
||||||
|
(d.head || d.body).appendChild(s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="recent-posts">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-run-task-depends-on-ipaddr/">[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-selectattr-from-list-in-dictionary/">[ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/remote-management-system-meshcentral/">linux底下遠端遙控&管理的好用系統 Meshcentral / Remote Management & control system Meshcentral</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="categories">
|
||||||
|
<a href="/categories/"><strong></strong></a>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/linux">Linux (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/proxmox">Proxmox (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ps">Ps (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
|
||||||
|
<div class="external-profiles">
|
||||||
|
<strong></strong>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank"><img border="0" src="https://www.yapee.tw/mvc/file/publicFile?pathType=data/linkLogo/B0S0F0002585.jpg"></img></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="credits">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright">
|
||||||
|
<a href="https://github.com/Lednerb" target="_blank">
|
||||||
|
©
|
||||||
|
|
||||||
|
2017
|
||||||
|
|
||||||
|
by Lednerb
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="author">
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank">Bilberry Hugo Theme</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/javascript">
|
||||||
|
var doNotTrack = false;
|
||||||
|
if (!doNotTrack) {
|
||||||
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||||
|
ga('create', 'UA-138954876-1', 'auto');
|
||||||
|
|
||||||
|
ga('send', 'pageview');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR+EOJB6uKUez/iGAnFcg=="></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(".moment").each(function() {
|
||||||
|
$(this).text(
|
||||||
|
moment( $(this).text() )
|
||||||
|
.locale( "tw" )
|
||||||
|
.format('LL')
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".footnote-return sup").html("");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
|
||||||
|
var index = client.initIndex("h_cowbay_org");
|
||||||
|
|
||||||
|
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
|
||||||
|
[
|
||||||
|
{
|
||||||
|
|
||||||
|
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
|
||||||
|
|
||||||
|
displayKey: function(suggestion) {
|
||||||
|
return suggestion.title || suggestion.author
|
||||||
|
},
|
||||||
|
templates: {
|
||||||
|
suggestion: function(suggestion) {
|
||||||
|
return "<span class='entry " + suggestion.type + "'>"
|
||||||
|
+ "<span class='title'>" + suggestion.title + "</span>"
|
||||||
|
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
|
||||||
|
+ "</span>"
|
||||||
|
;
|
||||||
|
},
|
||||||
|
empty: function() {
|
||||||
|
return "<span class='empty'></span>"
|
||||||
|
},
|
||||||
|
footer: function() {
|
||||||
|
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
])
|
||||||
|
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
})
|
||||||
|
.keypress(function (event, suggestion) {
|
||||||
|
if (event.which == 13) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -297,6 +297,14 @@ hwaddress: f4:4d:30:45:ef:aa', host: pc120', ipv4: 192.168.1.120', user: [wany']
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -317,14 +325,6 @@ hwaddress: f4:4d:30:45:ef:aa', host: pc120', ipv4: 192.168.1.120', user: [wany']
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -335,11 +335,11 @@ hwaddress: f4:4d:30:45:ef:aa', host: pc120', ipv4: 192.168.1.120', user: [wany']
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -218,6 +218,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -238,14 +246,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -256,11 +256,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -273,6 +273,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -293,14 +301,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -311,11 +311,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -329,6 +329,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -349,14 +357,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -367,11 +367,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -284,6 +284,14 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -304,14 +312,6 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -322,11 +322,11 @@ b8d74048eba1 mysql:5.7.21 "docker-entrypoint.s…&qu
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -258,6 +258,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -278,14 +286,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -296,11 +296,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -321,6 +321,14 @@ Tue May 21 17:39:48 CST 2019
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -341,14 +349,6 @@ Tue May 21 17:39:48 CST 2019
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -359,11 +359,11 @@ Tue May 21 17:39:48 CST 2019
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -392,6 +392,14 @@ openssl s_client -showcerts -connect mail.example.com:465
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -412,14 +420,6 @@ openssl s_client -showcerts -connect mail.example.com:465
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -430,11 +430,11 @@ openssl s_client -showcerts -connect mail.example.com:465
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -216,6 +216,14 @@ GRANT a TO b;
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -236,14 +244,6 @@ GRANT a TO b;
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -254,11 +254,11 @@ GRANT a TO b;
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -229,6 +229,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -249,14 +257,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -267,11 +267,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -302,6 +302,14 @@ admin@storage:~$
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -322,14 +330,6 @@ admin@storage:~$
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -340,11 +340,11 @@ admin@storage:~$
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -249,6 +249,14 @@ root@pve:~#
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -269,14 +277,6 @@ root@pve:~#
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -287,11 +287,11 @@ root@pve:~#
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -272,6 +272,14 @@ unused devices: <none>
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -292,14 +300,6 @@ unused devices: <none>
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -310,11 +310,11 @@ unused devices: <none>
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -90,6 +90,183 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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/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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
<a class="bubble" href="/post/send-mail-to-notify-after-pxe-install/">
|
||||||
@@ -733,162 +910,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/log-all-bash-commands/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/log-all-bash-commands/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2019-04-23</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>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
|
|
||||||
|
|
||||||
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
|
|
||||||
|
|
||||||
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
|
|
||||||
|
|
||||||
<p>所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/log-all-bash-commands/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/log">log</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2019-04-01</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>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
|
||||||
|
|
||||||
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
|
||||||
|
|
||||||
<p>可是一直出現device busy的錯誤訊息</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/zfs">zfs</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -919,6 +940,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -939,14 +968,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -957,11 +978,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -5,11 +5,62 @@
|
|||||||
<link>https://h.cowbay.org/post/</link>
|
<link>https://h.cowbay.org/post/</link>
|
||||||
<description>Recent content in Posts on MCの飄狂山莊㊣</description>
|
<description>Recent content in Posts on MCの飄狂山莊㊣</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<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/post/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://h.cowbay.org/post/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>[筆記] 為了保存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>
|
<item>
|
||||||
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
<title>[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</title>
|
||||||
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
<link>https://h.cowbay.org/post/send-mail-to-notify-after-pxe-install/</link>
|
||||||
|
|||||||
@@ -310,6 +310,14 @@ root@pve:~#
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -330,14 +338,6 @@ root@pve:~#
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -348,11 +348,11 @@ root@pve:~#
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -774,6 +774,14 @@ sudo apt install joe-jupp
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -794,14 +802,6 @@ sudo apt install joe-jupp
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -812,11 +812,11 @@ sudo apt install joe-jupp
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -234,6 +234,14 @@ GRUB_CMDLINE_LINUX="rootdelay=90"
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -254,14 +262,6 @@ GRUB_CMDLINE_LINUX="rootdelay=90"
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -272,11 +272,11 @@ GRUB_CMDLINE_LINUX="rootdelay=90"
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -320,6 +320,14 @@ bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -340,14 +348,6 @@ bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -358,11 +358,11 @@ bbs089.abc.com ansible_ssh_host=192.168.0.89 ansible_ssh_user=root
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -253,6 +253,14 @@ Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -273,14 +281,6 @@ Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -291,11 +291,11 @@ Apr 23 15:18:48 hqs010 minion: minion [30832]: ip addr [0]
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -251,6 +251,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -271,14 +279,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -289,11 +289,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -90,6 +90,162 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/log-all-bash-commands/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/log-all-bash-commands/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/log-all-bash-commands/">[筆記] 紀錄所有下過的指令、時間 / Log All commands with timestamp</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2019-04-23</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>今天發生一件有點詭異的事情,本來應該要經過某個指令才會產生的檔案</p>
|
||||||
|
|
||||||
|
<p>居然不知為何自己產生了,在我記憶中沒有去執行過那個指令</p>
|
||||||
|
|
||||||
|
<p>翻了一下 bash_history ,裡面也只有下過哪些指令,沒有紀錄時間,完全沒有參考價值(攤手)</p>
|
||||||
|
|
||||||
|
<p>所以翻了一下網路,至少把這兩台主要跑ansible的機器的log功能補上紀錄所有指令以及時間的部份</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/log-all-bash-commands/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/log">log</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/fix-zpool-device-busy-using-dmsetup/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/fix-zpool-device-busy-using-dmsetup/">[筆記] 解決無法建立zpool 的錯誤 / Fix Zpool Device Busy Using dmsetup</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2019-04-01</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>今天把其中一台proxmox 加上10G 光纖網卡,準備和另一台proxmox 組成10G 環境進行測試</p>
|
||||||
|
|
||||||
|
<p>想說把本機的zpool 拆掉,重新建立一個raid0 的空間來做clone/migrate</p>
|
||||||
|
|
||||||
|
<p>可是一直出現device busy的錯誤訊息</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/fix-zpool-device-busy-using-dmsetup/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/zfs">zfs</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
<a class="bubble" href="/post/transfer-cent62-using-rsync/">
|
||||||
@@ -692,190 +848,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/synology-ds415-repair-cost/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/synology-ds415-repair-cost/">
|
|
||||||
<img src="/images/post-default-11.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415+ 誇張的維修費用</a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-12-04</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="categories">
|
|
||||||
|
|
||||||
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
|
|
||||||
|
|
||||||
</span>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
|
|
||||||
|
|
||||||
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
|
|
||||||
|
|
||||||
<p>但是已經無法登入系統</p>
|
|
||||||
|
|
||||||
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
|
|
||||||
|
|
||||||
<p>底下的電源藍燈不斷的在閃爍</p>
|
|
||||||
|
|
||||||
<p>雖然我一再表示不希望送修了</p>
|
|
||||||
|
|
||||||
<p>一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…</p>
|
|
||||||
|
|
||||||
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/nas">NAS</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
|
|
||||||
|
|
||||||
<a href="/tags/synology">synology</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</article>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
|
||||||
|
|
||||||
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
|
||||||
<i class="fa fa-fw fa-pencil"></i>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<article class="default article">
|
|
||||||
|
|
||||||
<div class="featured-image">
|
|
||||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
|
||||||
<img src="/images/post-default-03.jpg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="content">
|
|
||||||
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
|
|
||||||
|
|
||||||
<span class="date moment">2018-11-30</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>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
|
||||||
|
|
||||||
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
|
||||||
|
|
||||||
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
|
||||||
|
|
||||||
<p>所以一直沒有付諸行動。</p>
|
|
||||||
|
|
||||||
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
|
||||||
|
|
||||||
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
|
||||||
|
|
||||||
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
|
||||||
|
|
||||||
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
|
||||||
|
|
||||||
<p>今天就花了點時間測試一下</p>
|
|
||||||
|
|
||||||
<p></p>
|
|
||||||
|
|
||||||
|
|
||||||
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="footer">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
|
||||||
<i class="fa fa-tags"></i>
|
|
||||||
<div class="links">
|
|
||||||
|
|
||||||
<a href="/tags/10g">10G</a>
|
|
||||||
|
|
||||||
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
|
||||||
|
|
||||||
<a href="/tags/mellanox">mellanox</a>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
@@ -908,6 +880,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -928,14 +908,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -946,11 +918,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -90,6 +90,190 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/synology-ds415-repair-cost/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/synology-ds415-repair-cost/">
|
||||||
|
<img src="/images/post-default-11.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/synology-ds415-repair-cost/">[雜念] 群暉 Synology NAS DS 415+ 誇張的維修費用</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-12-04</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="categories">
|
||||||
|
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉</a>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<span class="author"><a href="/author/eric-chang">Eric Chang</a></span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<p>前幾天公司的一台 Synology DS 415+ 發生異常</p>
|
||||||
|
|
||||||
|
<p>注意到的時候,四顆硬碟燈號都不斷的在閃爍</p>
|
||||||
|
|
||||||
|
<p>但是已經無法登入系統</p>
|
||||||
|
|
||||||
|
<p>重開機之後更慘,四顆硬碟燈號全部橘燈恆亮</p>
|
||||||
|
|
||||||
|
<p>底下的電源藍燈不斷的在閃爍</p>
|
||||||
|
|
||||||
|
<p>雖然我一再表示不希望送修了</p>
|
||||||
|
|
||||||
|
<p>一來是已經過保,二來是DS415+ 本身就有intel bug,三來是因為對synology的NAS 實在沒有愛…</p>
|
||||||
|
|
||||||
|
<p>不過主管還是希望能夠先問群暉維修的費用多少</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/synology-ds415-repair-cost/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/nas">NAS</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%BE%A4%E6%9A%89">群暉</a>
|
||||||
|
|
||||||
|
<a href="/tags/synology">synology</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
|
<a class="bubble" href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||||
|
<i class="fa fa-fw fa-pencil"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<article class="default article">
|
||||||
|
|
||||||
|
<div class="featured-image">
|
||||||
|
<a href="/post/10g-lab-using-proxmox-and-mellanox/">
|
||||||
|
<img src="/images/post-default-03.jpg" alt="">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h3><a href="/post/10g-lab-using-proxmox-and-mellanox/">[筆記] 用 proxmox & Mellanox SFP 網卡土炮 10G LAB </a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="date moment">2018-11-30</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>想做一個 10G 的 LAB 環境出來已經很久了。</p>
|
||||||
|
|
||||||
|
<p>只是礙於10G RJ45的卡太貴了,然後光纖的種類又太複雜</p>
|
||||||
|
|
||||||
|
<p>如果直接在淘寶購買,很怕會買錯(什麼LC/FC LC/LC 多模單模 單芯雙芯 SFP/SFP+ 又是什麼光模塊的一大堆規格)</p>
|
||||||
|
|
||||||
|
<p>所以一直沒有付諸行動。</p>
|
||||||
|
|
||||||
|
<p>硬體的工作很久沒碰了,剛好在蝦皮看到有個賣家在賣 mellanox 的X2網卡,以在台灣的價格來說,算很便宜的 (550)</p>
|
||||||
|
|
||||||
|
<p>聊了一下,跟他請教了關於線材、光纖模塊的問題,回答也都很快很到位</p>
|
||||||
|
|
||||||
|
<p>就直接下訂了兩張網卡、兩個光纖模塊、一條LC/LC 光纖線</p>
|
||||||
|
|
||||||
|
<p>就是到貨有點久,等了兩個禮拜左右,一直到昨天東西才寄到</p>
|
||||||
|
|
||||||
|
<p>今天就花了點時間測試一下</p>
|
||||||
|
|
||||||
|
<p></p>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="/post/10g-lab-using-proxmox-and-mellanox/" class="more"></a>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags"></i>
|
||||||
|
<div class="links">
|
||||||
|
|
||||||
|
<a href="/tags/10g">10G</a>
|
||||||
|
|
||||||
|
<a href="/tags/%E7%AD%86%E8%A8%98">筆記</a>
|
||||||
|
|
||||||
|
<a href="/tags/mellanox">mellanox</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</article>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="article-wrapper u-cf">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
<a class="bubble" href="/post/ansible-selectattr-filter/">
|
||||||
@@ -820,6 +1004,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -840,14 +1032,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -858,11 +1042,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -314,6 +314,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -334,14 +342,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -352,11 +352,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -202,7 +202,7 @@ echo "#!/bin/sh -e\nexit 0" > /etc/rc.local
|
|||||||
|
|
||||||
<p>因為我只需要它跑一次就好,所以就可以在最後面加入還原剛剛複製的備份檔案</p>
|
<p>因為我只需要它跑一次就好,所以就可以在最後面加入還原剛剛複製的備份檔案</p>
|
||||||
|
|
||||||
<p>簡單說就是這樣</p>
|
<p>簡單說在preseed 檔案中 改成這樣</p>
|
||||||
|
|
||||||
<pre><code>d-i preseed/late_command \
|
<pre><code>d-i preseed/late_command \
|
||||||
in-target apt-file update; \
|
in-target apt-file update; \
|
||||||
@@ -281,6 +281,14 @@ echo "#!/bin/sh -e\nexit 0" > /etc/rc.local
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -301,14 +309,6 @@ echo "#!/bin/sh -e\nexit 0" > /etc/rc.local
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -319,11 +319,11 @@ echo "#!/bin/sh -e\nexit 0" > /etc/rc.local
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -0,0 +1,619 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="tw">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="author" content="Eric Chang">
|
||||||
|
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
|
||||||
|
<meta name="generator" content="Hugo 0.50" />
|
||||||
|
<title> [筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters | MCの飄狂山莊㊣</title>
|
||||||
|
<meta name="description" content="[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters - What’s the Worst That Could Happen?">
|
||||||
|
<meta itemprop="name" content="[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters">
|
||||||
|
<meta itemprop="description" content="[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:title" content="[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters">
|
||||||
|
<meta property="og:description" content="[筆記] 在edgerouter上用wireguard 建立site to site VPN / Site to Site Vpn Using Wireguard in Two Edgerouters - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:image" content="https://h.cowbay.org/images/post-default-5.jpg">
|
||||||
|
<meta property="og:url" content="https://h.cowbay.org/post/site-to-site-vpn-using-wireguard-in-two-edgerouters/">
|
||||||
|
<meta property="og:site_name" content="MCの飄狂山莊㊣">
|
||||||
|
<meta property="og:type" content="article">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.a89dfa577f701bffe9659f476ef61241cb2a3452b913e793463b0074a10c0a59.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body class="bilberry-hugo-theme">
|
||||||
|
|
||||||
|
<nav class="permanentTopNav">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<ul class="topnav">
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="search-box" class="search">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
<input id="search" type="text" placeholder="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<div class="container">
|
||||||
|
<div class="logo">
|
||||||
|
<a href="/" class="logo">
|
||||||
|
|
||||||
|
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="overlay"><i class="fa fa-home"></i></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="titles">
|
||||||
|
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
|
||||||
|
|
||||||
|
<span class="subtitle">What’s the Worst That Could Happen?</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="toggler permanentTopNav">
|
||||||
|
|
||||||
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="main container">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="article-wrapper u-cf single">
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<h3 id="download-deb-for-your-edgerouter">download deb for your edgerouter</h3>
|
||||||
|
|
||||||
|
<h4 id="go-check-https-github-com-lochnair-vyatta-wireguard-first">go check <a href="https://github.com/Lochnair/vyatta-wireguard">https://github.com/Lochnair/vyatta-wireguard</a> first</h4>
|
||||||
|
|
||||||
|
<pre><code>curl -L -O https://github.com/Lochnair/vyatta-wireguard/releases/download/0.0.20190702-1/wireguard-v2.0-e50-0.0.20190702-1.deb
|
||||||
|
dpkg -i wireguard-v2.0-e50-0.0.20190702-1.deb
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>process log</p>
|
||||||
|
|
||||||
|
<pre><code>root@ubnt112:~# dpkg -i wireguard-v2.0-e50-0.0.20190702-1.deb
|
||||||
|
Selecting previously unselected package wireguard.
|
||||||
|
(Reading database ... 37024 files and directories currently installed.)
|
||||||
|
Preparing to unpack wireguard-v2.0-e50-0.0.20190702-1.deb ...
|
||||||
|
Adding 'diversion of /opt/vyatta/share/perl5/Vyatta/Interface.pm to /opt/vyatta/share/perl5/Vyatta/Interface.pm.vyatta by wireguard'
|
||||||
|
Adding 'diversion of /opt/vyatta/share/vyatta-cfg/templates/firewall/options/mss-clamp/interface-type/node.def to /opt/vyatta/share/vyatta-cfg/templates/firewall/options/mss-clamp/interface-type/node.def.vyatta by wireguard'
|
||||||
|
Unpacking wireguard (0.0.20190702-1) ...
|
||||||
|
Setting up wireguard (0.0.20190702-1) ...
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="generate-private-public-key-in-left-router">generate private/public key in left router</h4>
|
||||||
|
|
||||||
|
<pre><code>wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>first one in private key and the next one is public key of this router</p>
|
||||||
|
|
||||||
|
<pre><code>QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="configure-left-site-edgerouter">configure left site edgerouter</h4>
|
||||||
|
|
||||||
|
<pre><code>configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.1/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
### paster your private key which was just been generate
|
||||||
|
set interfaces wireguard wg0 private-key QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="generate-private-public-key-in-right-router">generate private/public key in right router</h4>
|
||||||
|
|
||||||
|
<pre><code>wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>first one in private key and the next one is public key of this router</p>
|
||||||
|
|
||||||
|
<pre><code>UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="configure-right-site-edgerouter">configure right site edgerouter</h4>
|
||||||
|
|
||||||
|
<pre><code>configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.2/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
### paster your private key which was just been generate
|
||||||
|
set interfaces wireguard wg0 private-key UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>now , configure both router to talk to each other</p>
|
||||||
|
|
||||||
|
<h4 id="configure-in-left-router">configure in left router</h4>
|
||||||
|
|
||||||
|
<pre><code>### use the right router public key here
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= endpoint 222.222.222.222:51820
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= persistent-keepalive 15
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="configre-in-right-router">configre in right router</h4>
|
||||||
|
|
||||||
|
<pre><code>### use the left router public key here
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= endpoint 111.111.111.111:51280
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= persistent-keepalive 15
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="configure-firewall-policy-in-left-site-router">configure firewall policy in left site router</h4>
|
||||||
|
|
||||||
|
<pre><code>### change 40 to your own rule number
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="configure-firewall-policy-in-right-site-router">configure firewall policy in right site router</h4>
|
||||||
|
|
||||||
|
<pre><code>### change 40 to your own rule number
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<p>then finally , commit these changes on both side router</p>
|
||||||
|
|
||||||
|
<pre><code>commit
|
||||||
|
### and save if you want
|
||||||
|
save
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="oops-one-more-step-add-static-route">oops , one more step , add static route</h4>
|
||||||
|
|
||||||
|
<h5 id="manually-add-static-route-in-left-router">manually add static route in left router</h5>
|
||||||
|
|
||||||
|
<pre><code>ip route add 192.168.111.0/24 dev wg0
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h5 id="manually-add-static-route-in-right-router">manually add static route in right router</h5>
|
||||||
|
|
||||||
|
<pre><code>ip route add 192.168.112.0/24 dev wg0
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h4 id="check-wireguard-status-in-both-router">check wireguard status in both router</h4>
|
||||||
|
|
||||||
|
<h5 id="left">left</h5>
|
||||||
|
|
||||||
|
<pre><code> root@ubnt112:~# sudo wg
|
||||||
|
interface: wg0
|
||||||
|
public key: ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
private key: (hidden)
|
||||||
|
listening port: 51820
|
||||||
|
|
||||||
|
peer: tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
endpoint: 111.111.111.111:51820
|
||||||
|
allowed ips: 192.168.99.0/16
|
||||||
|
latest handshake: 1 minute, 19 seconds ago
|
||||||
|
transfer: 7.49 MiB received, 195.86 MiB sent
|
||||||
|
persistent keepalive: every 15 seconds
|
||||||
|
root@ubnt112:~#
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h5 id="right">right</h5>
|
||||||
|
|
||||||
|
<pre><code>interface: wg0
|
||||||
|
public key: tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
private key: (hidden)
|
||||||
|
listening port: 51820
|
||||||
|
|
||||||
|
peer: ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
endpoint: 222.222.222.222:51820
|
||||||
|
allowed ips: 192.168.99.0/16
|
||||||
|
latest handshake: 1 minute, 48 seconds ago
|
||||||
|
transfer: 195.60 MiB received, 8.07 MiB sent
|
||||||
|
persistent keepalive: every 15 seconds
|
||||||
|
root@ubnt111:~#
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h3 id="need-more-edgerouter-and-lease-line-to-try-multiple-site-to-site-vpn-using-wideguard">need more edgerouter and lease line to try multiple site to site VPN using wideguard</h3>
|
||||||
|
|
||||||
|
<h5 id="need-to-study-about-allowed-ips">need to study about allowed-ips</h5>
|
||||||
|
|
||||||
|
<h3 id="sort-out-scripts">sort out scripts</h3>
|
||||||
|
|
||||||
|
<h5 id="left-router">left router</h5>
|
||||||
|
|
||||||
|
<pre><code>wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU=
|
||||||
|
configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.1/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
set interfaces wireguard wg0 private-key QGAUHJSDFAdkfjskdjo1DP8H1NuLTrXH6kue6kphaQk/iAkc=
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= endpoint 222.222.222.222:51820
|
||||||
|
set interfaces wireguard wg0 peer tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk= persistent-keepalive 15
|
||||||
|
set firewall name WAN_LOCAL rule 40 action accept
|
||||||
|
set firewall name WAN_LOCAL rule 40 protocol udp
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
commit
|
||||||
|
save
|
||||||
|
ip route add 192.168.111.0/24 dev wg0
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
<h5 id="right-router">right router</h5>
|
||||||
|
|
||||||
|
<pre><code>wg genkey | tee /dev/tty | wg pubkey
|
||||||
|
UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
tmlrPSabcdefghijklmnopqrIb1Enzf+108yotkhdRmk=
|
||||||
|
configure
|
||||||
|
set interfaces wireguard wg0 address 192.168.99.2/24
|
||||||
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
set interfaces wireguard wg0 private-key UBzmPabcdefghijklmnopqrlbi5tnsQqjoJ4+H4=
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= allowed-ips 192.168.99.0/16
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= endpoint 111.111.111.111:51280
|
||||||
|
set interfaces wireguard wg0 peer ta+GJCWNUHJSDFAdkfjskdjnkppY5FpsIs3a8dc4oArtV8FU= persistent-keepalive 15
|
||||||
|
set firewall name WAN_LOCAL rule 40 action accept
|
||||||
|
set firewall name WAN_LOCAL rule 40 protocol udp
|
||||||
|
set firewall name WAN_LOCAL rule 40 source port 51820
|
||||||
|
set firewall name WAN_LOCAL rule 40 destination port 51820
|
||||||
|
commit
|
||||||
|
save
|
||||||
|
ip route add 192.168.112.0/24 dev wg0
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
|
</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 id="disqus_thread"></div>
|
||||||
|
<script type="application/javascript">
|
||||||
|
var disqus_config = function () {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
(function() {
|
||||||
|
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
|
||||||
|
document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var d = document, s = d.createElement('script'); s.async = true;
|
||||||
|
s.src = '//' + "h-cowbay-org-1" + '.disqus.com/embed.js';
|
||||||
|
s.setAttribute('data-timestamp', +new Date());
|
||||||
|
(d.head || d.body).appendChild(s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="recent-posts">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-run-task-depends-on-ipaddr/">[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-selectattr-from-list-in-dictionary/">[ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/remote-management-system-meshcentral/">linux底下遠端遙控&管理的好用系統 Meshcentral / Remote Management & control system Meshcentral</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="categories">
|
||||||
|
<a href="/categories/"><strong></strong></a>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/linux">Linux (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/proxmox">Proxmox (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ps">Ps (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
|
||||||
|
<div class="external-profiles">
|
||||||
|
<strong></strong>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank"><img border="0" src="https://www.yapee.tw/mvc/file/publicFile?pathType=data/linkLogo/B0S0F0002585.jpg"></img></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="credits">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright">
|
||||||
|
<a href="https://github.com/Lednerb" target="_blank">
|
||||||
|
©
|
||||||
|
|
||||||
|
2017
|
||||||
|
|
||||||
|
by Lednerb
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="author">
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank">Bilberry Hugo Theme</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/javascript">
|
||||||
|
var doNotTrack = false;
|
||||||
|
if (!doNotTrack) {
|
||||||
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||||
|
ga('create', 'UA-138954876-1', 'auto');
|
||||||
|
|
||||||
|
ga('send', 'pageview');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR+EOJB6uKUez/iGAnFcg=="></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(".moment").each(function() {
|
||||||
|
$(this).text(
|
||||||
|
moment( $(this).text() )
|
||||||
|
.locale( "tw" )
|
||||||
|
.format('LL')
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".footnote-return sup").html("");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
|
||||||
|
var index = client.initIndex("h_cowbay_org");
|
||||||
|
|
||||||
|
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
|
||||||
|
[
|
||||||
|
{
|
||||||
|
|
||||||
|
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
|
||||||
|
|
||||||
|
displayKey: function(suggestion) {
|
||||||
|
return suggestion.title || suggestion.author
|
||||||
|
},
|
||||||
|
templates: {
|
||||||
|
suggestion: function(suggestion) {
|
||||||
|
return "<span class='entry " + suggestion.type + "'>"
|
||||||
|
+ "<span class='title'>" + suggestion.title + "</span>"
|
||||||
|
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
|
||||||
|
+ "</span>"
|
||||||
|
;
|
||||||
|
},
|
||||||
|
empty: function() {
|
||||||
|
return "<span class='empty'></span>"
|
||||||
|
},
|
||||||
|
footer: function() {
|
||||||
|
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
])
|
||||||
|
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
})
|
||||||
|
.keypress(function (event, suggestion) {
|
||||||
|
if (event.which == 13) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -214,6 +214,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -234,14 +242,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -252,11 +252,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -264,6 +264,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -284,14 +292,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -302,11 +302,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -579,6 +579,14 @@ df -h
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -599,14 +607,6 @@ df -h
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -617,11 +617,11 @@ df -h
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -263,6 +263,14 @@ Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -283,14 +291,6 @@ Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -301,11 +301,11 @@ Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -326,6 +326,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -346,14 +354,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -364,11 +364,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -295,6 +295,14 @@ acl CONNECT method CONNECT
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -315,14 +323,6 @@ acl CONNECT method CONNECT
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -333,11 +333,11 @@ acl CONNECT method CONNECT
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>https://h.cowbay.org/tw/sitemap.xml</loc>
|
<loc>https://h.cowbay.org/tw/sitemap.xml</loc>
|
||||||
|
|
||||||
<lastmod>2019-07-31T11:06:33+08:00</lastmod>
|
<lastmod>2019-08-06T17:14:17+08:00</lastmod>
|
||||||
|
|
||||||
</sitemap>
|
</sitemap>
|
||||||
|
|
||||||
|
|||||||
@@ -204,6 +204,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -224,14 +232,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -242,11 +242,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -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">
|
<div class="article-wrapper u-cf">
|
||||||
|
|
||||||
<a class="bubble" href="/post/ansible-run-task-depends-on-ipaddr/">
|
<a class="bubble" href="/post/ansible-run-task-depends-on-ipaddr/">
|
||||||
@@ -460,6 +544,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -480,14 +572,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -498,11 +582,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -5,11 +5,33 @@
|
|||||||
<link>https://h.cowbay.org/tags/ansible/</link>
|
<link>https://h.cowbay.org/tags/ansible/</link>
|
||||||
<description>Recent content in Ansible on MCの飄狂山莊㊣</description>
|
<description>Recent content in Ansible on MCの飄狂山莊㊣</description>
|
||||||
<generator>Hugo -- gohugo.io</generator>
|
<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/tags/ansible/index.xml" rel="self" type="application/rss+xml" />
|
<atom:link href="https://h.cowbay.org/tags/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>
|
<item>
|
||||||
<title>[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</title>
|
<title>[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</title>
|
||||||
<link>https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/</link>
|
<link>https://h.cowbay.org/post/ansible-run-task-depends-on-ipaddr/</link>
|
||||||
|
|||||||
@@ -192,6 +192,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -212,14 +220,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -230,11 +230,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -202,6 +202,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -222,14 +230,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -240,11 +240,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -196,6 +196,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -216,14 +224,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -234,11 +234,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -187,6 +187,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -207,14 +215,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -225,11 +225,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -277,6 +277,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -297,14 +305,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -315,11 +315,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -189,6 +189,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -209,14 +217,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -227,11 +227,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
414
public/tags/edgerouter/index.html
Normal file
414
public/tags/edgerouter/index.html
Normal file
@@ -0,0 +1,414 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html class="no-js" lang="tw">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="author" content="Eric Chang">
|
||||||
|
<meta name="description" content="What’s the Worst That Could Happen?">
|
||||||
|
<meta name="keywords" content="linux,blog,responsive,search,font awesome,pages,posts,multilingual,highlight.js,syntax highlighting,premium,shortcuts">
|
||||||
|
<meta name="generator" content="Hugo 0.50" />
|
||||||
|
<title> Edgerouter | MCの飄狂山莊㊣</title>
|
||||||
|
<meta name="description" content="Edgerouter - What’s the Worst That Could Happen?">
|
||||||
|
<meta itemprop="name" content="Edgerouter">
|
||||||
|
<meta itemprop="description" content="Edgerouter - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:title" content="Edgerouter">
|
||||||
|
<meta property="og:description" content="Edgerouter - What’s the Worst That Could Happen?">
|
||||||
|
<meta property="og:image" content="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?size=200">
|
||||||
|
<meta property="og:url" content="https://h.cowbay.org/tags/edgerouter/">
|
||||||
|
<meta property="og:site_name" content="MCの飄狂山莊㊣"><meta property="og:type" content="website">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-32x32.png" sizes="32x32">
|
||||||
|
<link rel="icon" type="image/png" href="https://h.cowbay.org/favicon-16x16.png" sizes="16x16">
|
||||||
|
|
||||||
|
|
||||||
|
<link href="https://h.cowbay.org/tags/edgerouter/index.xml" rel="alternate" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||||
|
<link href="https://h.cowbay.org/tags/edgerouter/index.xml" rel="feed" type="application/rss+xml" title="MCの飄狂山莊㊣" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://h.cowbay.org/sass/combined.min.a89dfa577f701bffe9659f476ef61241cb2a3452b913e793463b0074a10c0a59.css">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||||
|
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body class="bilberry-hugo-theme">
|
||||||
|
|
||||||
|
<nav class="permanentTopNav">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<ul class="topnav">
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="search-box" class="search">
|
||||||
|
<i class="fa fa-search"></i>
|
||||||
|
<input id="search" type="text" placeholder="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<div class="container">
|
||||||
|
<div class="logo">
|
||||||
|
<a href="/" class="logo">
|
||||||
|
|
||||||
|
<img src="https://www.gravatar.com/avatar/e4eb1f8e016ffb73e9889f87d16e15f0?d=mm&size=200" alt="">
|
||||||
|
|
||||||
|
|
||||||
|
<span class="overlay"><i class="fa fa-home"></i></span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="titles">
|
||||||
|
<h3 class="title"><a href="/">MCの飄狂山莊㊣</a></h3>
|
||||||
|
|
||||||
|
<span class="subtitle">What’s the Worst That Could Happen?</span>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="toggler permanentTopNav">
|
||||||
|
|
||||||
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="main container">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<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="paginator">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="recent-posts">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-run-task-depends-on-ipaddr/">[ansible] 用 ip 位置判斷是否要執行task /ansible run task depends on ipaddr</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/ansible-selectattr-from-list-in-dictionary/">[ansible] 引用事先定義好的yaml檔裡面的變數 - Ansible Selectattr From List in Dictionary file</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/remote-management-system-meshcentral/">linux底下遠端遙控&管理的好用系統 Meshcentral / Remote Management & control system Meshcentral</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="categories">
|
||||||
|
<a href="/categories/"><strong></strong></a>
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%AD%86%E8%A8%98">筆記 (22)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/linux">Linux (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/proxmox">Proxmox (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/ps">Ps (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%A2%8E%E5%BF%B5">碎念 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<a href="/categories/%E7%BE%A4%E6%9A%89">群暉 (1)</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="right">
|
||||||
|
|
||||||
|
<div class="external-profiles">
|
||||||
|
<strong></strong>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.facebook.com/mariahchang" target="_blank"><i class="fa fa-facebook-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://twitter.com/changchichung" target="_blank"><i class="fa fa-twitter-adblock-proof"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://github.com/changchichung" target="_blank"><i class="fa fa-github"></i></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank"><img border="0" src="https://www.yapee.tw/mvc/file/publicFile?pathType=data/linkLogo/B0S0F0002585.jpg"></img></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="credits">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright">
|
||||||
|
<a href="https://github.com/Lednerb" target="_blank">
|
||||||
|
©
|
||||||
|
|
||||||
|
2017
|
||||||
|
|
||||||
|
by Lednerb
|
||||||
|
</a>
|
||||||
|
-
|
||||||
|
<a href="https://h.cowbay.org/tags/edgerouter/index.xml">RSS</a>
|
||||||
|
</div>
|
||||||
|
<div class="author">
|
||||||
|
<a href="https://www.yapee.tw/mvc/onlinePay/webLink?key=lMC74kucH21JChCR77-wJ80ZZ-Poh11amP24BwiDdHw" target="_blank">Bilberry Hugo Theme</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="application/javascript">
|
||||||
|
var doNotTrack = false;
|
||||||
|
if (!doNotTrack) {
|
||||||
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
||||||
|
ga('create', 'UA-138954876-1', 'auto');
|
||||||
|
|
||||||
|
ga('send', 'pageview');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/externalDependencies.39c47e10e241eae2947b3fe21809c572.js" integrity="md5-OcR+EOJB6uKUez/iGAnFcg=="></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="https://h.cowbay.org/js/theme.ff50ae6dc1bfc220b23bf69dbb41b54e.js" integrity="md5-/1CubcG/wiCyO/adu0G1Tg=="></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
$(".moment").each(function() {
|
||||||
|
$(this).text(
|
||||||
|
moment( $(this).text() )
|
||||||
|
.locale( "tw" )
|
||||||
|
.format('LL')
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".footnote-return sup").html("");
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var client = algoliasearch("2XL0P8XDCY", "4ef65b37b627bb886b46c34a10e63aa6");
|
||||||
|
var index = client.initIndex("h_cowbay_org");
|
||||||
|
|
||||||
|
$('#search').autocomplete({ hint: false, autoselect: true, debug: false },
|
||||||
|
[
|
||||||
|
{
|
||||||
|
|
||||||
|
source: $.fn.autocomplete.sources.hits(index, { hitsPerPage: 10 }),
|
||||||
|
|
||||||
|
displayKey: function(suggestion) {
|
||||||
|
return suggestion.title || suggestion.author
|
||||||
|
},
|
||||||
|
templates: {
|
||||||
|
suggestion: function(suggestion) {
|
||||||
|
return "<span class='entry " + suggestion.type + "'>"
|
||||||
|
+ "<span class='title'>" + suggestion.title + "</span>"
|
||||||
|
+ "<span class='fa fa-fw " + suggestion.iconClass + "'></span>"
|
||||||
|
+ "</span>"
|
||||||
|
;
|
||||||
|
},
|
||||||
|
empty: function() {
|
||||||
|
return "<span class='empty'></span>"
|
||||||
|
},
|
||||||
|
footer: function() {
|
||||||
|
return '<div class="branding">Powered by <img src="https:\/\/h.cowbay.org\/dist\/algolia-logo-light.svg" /></div>'
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
}
|
||||||
|
])
|
||||||
|
.on('autocomplete:selected', function(event, suggestion, dataset) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
})
|
||||||
|
.keypress(function (event, suggestion) {
|
||||||
|
if (event.which == 13) {
|
||||||
|
window.location = (suggestion.url);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
43
public/tags/edgerouter/index.xml
Normal file
43
public/tags/edgerouter/index.xml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Edgerouter on MCの飄狂山莊㊣</title>
|
||||||
|
<link>https://h.cowbay.org/tags/edgerouter/</link>
|
||||||
|
<description>Recent content in Edgerouter on MCの飄狂山莊㊣</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<lastBuildDate>Tue, 06 Aug 2019 17:14:17 +0800</lastBuildDate>
|
||||||
|
|
||||||
|
<atom:link href="https://h.cowbay.org/tags/edgerouter/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>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
||||||
1
public/tags/edgerouter/page/1/index.html
Normal file
1
public/tags/edgerouter/page/1/index.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html><html><head><title>https://h.cowbay.org/tags/edgerouter/</title><link rel="canonical" href="https://h.cowbay.org/tags/edgerouter/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://h.cowbay.org/tags/edgerouter/" /></head></html>
|
||||||
@@ -194,6 +194,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -214,14 +222,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -232,11 +232,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -190,6 +190,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -210,14 +218,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -228,11 +228,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
<li><a href="/tags/10g">10g (1)</a></li>
|
<li><a href="/tags/10g">10g (1)</a></li>
|
||||||
|
|
||||||
<li><a href="/tags/ansible">Ansible (4)</a></li>
|
<li><a href="/tags/ansible">Ansible (5)</a></li>
|
||||||
|
|
||||||
<li><a href="/tags/backup">Backup (1)</a></li>
|
<li><a href="/tags/backup">Backup (1)</a></li>
|
||||||
|
|
||||||
@@ -117,6 +117,8 @@
|
|||||||
|
|
||||||
<li><a href="/tags/du">Du (1)</a></li>
|
<li><a href="/tags/du">Du (1)</a></li>
|
||||||
|
|
||||||
|
<li><a href="/tags/edgerouter">Edgerouter (1)</a></li>
|
||||||
|
|
||||||
<li><a href="/tags/firefox">Firefox (1)</a></li>
|
<li><a href="/tags/firefox">Firefox (1)</a></li>
|
||||||
|
|
||||||
<li><a href="/tags/freenas">Freenas (1)</a></li>
|
<li><a href="/tags/freenas">Freenas (1)</a></li>
|
||||||
@@ -159,6 +161,8 @@
|
|||||||
|
|
||||||
<li><a href="/tags/vim">Vim (1)</a></li>
|
<li><a href="/tags/vim">Vim (1)</a></li>
|
||||||
|
|
||||||
|
<li><a href="/tags/vpn">Vpn (1)</a></li>
|
||||||
|
|
||||||
<li><a href="/tags/zfs">Zfs (1)</a></li>
|
<li><a href="/tags/zfs">Zfs (1)</a></li>
|
||||||
|
|
||||||
<li><a href="/tags/%E7%9F%AD%E4%BB%8A">短今 (1)</a></li>
|
<li><a href="/tags/%E7%9F%AD%E4%BB%8A">短今 (1)</a></li>
|
||||||
@@ -184,6 +188,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -204,14 +216,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -222,11 +226,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<title>Ansible</title>
|
<title>Ansible</title>
|
||||||
<link>https://h.cowbay.org/tags/ansible/</link>
|
<link>https://h.cowbay.org/tags/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/tags/ansible/</guid>
|
<guid>https://h.cowbay.org/tags/ansible/</guid>
|
||||||
<description></description>
|
<description></description>
|
||||||
@@ -82,6 +82,15 @@
|
|||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Edgerouter</title>
|
||||||
|
<link>https://h.cowbay.org/tags/edgerouter/</link>
|
||||||
|
<pubDate>Tue, 06 Aug 2019 17:14:17 +0800</pubDate>
|
||||||
|
|
||||||
|
<guid>https://h.cowbay.org/tags/edgerouter/</guid>
|
||||||
|
<description></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Firefox</title>
|
<title>Firefox</title>
|
||||||
<link>https://h.cowbay.org/tags/firefox/</link>
|
<link>https://h.cowbay.org/tags/firefox/</link>
|
||||||
@@ -271,6 +280,15 @@
|
|||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Vpn</title>
|
||||||
|
<link>https://h.cowbay.org/tags/vpn/</link>
|
||||||
|
<pubDate>Tue, 06 Aug 2019 17:14:17 +0800</pubDate>
|
||||||
|
|
||||||
|
<guid>https://h.cowbay.org/tags/vpn/</guid>
|
||||||
|
<description></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Zfs</title>
|
<title>Zfs</title>
|
||||||
<link>https://h.cowbay.org/tags/zfs/</link>
|
<link>https://h.cowbay.org/tags/zfs/</link>
|
||||||
|
|||||||
@@ -196,6 +196,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -216,14 +224,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -234,11 +234,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -723,6 +723,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -743,14 +751,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -761,11 +761,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -190,6 +190,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -210,14 +218,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -228,11 +228,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -192,6 +192,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -212,14 +220,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -230,11 +230,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -204,6 +204,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -224,14 +232,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -242,11 +242,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -196,6 +196,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -216,14 +224,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -234,11 +234,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -194,6 +194,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -214,14 +222,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -232,11 +232,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -294,6 +294,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -314,14 +322,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -332,11 +332,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -192,6 +192,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -212,14 +220,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -230,11 +230,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -179,6 +179,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -199,14 +207,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -217,11 +217,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -192,6 +192,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -212,14 +220,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -230,11 +230,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -202,6 +202,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -222,14 +230,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -240,11 +240,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -190,6 +190,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -210,14 +218,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -228,11 +228,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -196,6 +196,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -216,14 +224,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -234,11 +234,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -203,6 +203,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -223,14 +231,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -241,11 +241,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -294,6 +294,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -314,14 +322,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -332,11 +332,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -186,6 +186,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -206,14 +214,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -224,11 +224,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
@@ -523,6 +523,14 @@
|
|||||||
<strong></strong>
|
<strong></strong>
|
||||||
<ul>
|
<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>
|
<li>
|
||||||
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
<a href="/post/send-mail-to-notify-after-pxe-install/">[筆記] 用pxe 安裝系統,完成後送出郵件通知 / send mail notification after pxe install</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -543,14 +551,6 @@
|
|||||||
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
<a href="/post/install-asus-10g-nic-in-proxmox/">Install Asus 10G NIC XG-C100C in Proxmox</a>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -561,11 +561,11 @@
|
|||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<li>
|
<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>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="/categories/ansible">Ansible (2)</a>
|
<a href="/categories/ansible">Ansible (3)</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user