|
|
<!DOCTYPE html>
|
|
|
<html class="no-js" lang="en-us">
|
|
|
<head>
|
|
|
<meta charset="UTF-8">
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
<meta name="theme-color" content="#1b1b1b">
|
|
|
<title>Posts | MCの飄狂山莊㊣</title>
|
|
|
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
|
|
|
<meta name="description" content="">
|
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
|
<link rel="icon" href="/icons/16.png" sizes="16x16" type="image/png">
|
|
|
<link rel="icon" href="/icons/32.png" sizes="32x32" type="image/png">
|
|
|
<link rel="alternate" type="application/rss+xml" href="/post/index.xml" title="MCの飄狂山莊㊣">
|
|
|
|
|
|
<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>
|
|
|
|
|
|
</head>
|
|
|
<body>
|
|
|
<header class="header">
|
|
|
<a class="logo" href="/">MCの飄狂山莊㊣</a>
|
|
|
|
|
|
</header>
|
|
|
<div class="primary">
|
|
|
|
|
|
<main class="main">
|
|
|
<div class="page block">
|
|
|
<h1 class="page__title">Posts</h1>
|
|
|
|
|
|
</div>
|
|
|
<div class="cards">
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/awesome-all-in-one-vpn-server-streisand/">[筆記] 超強的ALL-in-One VPN Server streisand / Awesome All in One Vpn Server Streisand</a></h1>
|
|
|
<div class="post__content"><p>最近上班閒得發慌,沒事就上 github 找看看有沒有什麼好玩的專案</p>
|
|
|
|
|
|
<p>就不小心發現了這個 streisand</p>
|
|
|
|
|
|
<p><a href="https://github.com/StreisandEffect/streisand">https://github.com/StreisandEffect/streisand</a></p>
|
|
|
|
|
|
<p>玩了一下,發現這根本就是終極的VPN Server solution ..</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/recommended-ulauncher-in-ubuntu-1804/">[推薦] ulauncher ubuntu 18.04 底下,好用的 app launcher / Recommended Ulauncher in Ubuntu 1804</a></h1>
|
|
|
<div class="post__content"><p>這兩天在找關於在 ubuntu 中做搜尋的軟體</p>
|
|
|
|
|
|
<p>意外找到一個非常好用的工具 ulauncher</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/pg_auto_failover_in_ubuntu_1804_psql_11/">[筆記] 在ubuntu 18.04安裝psql 11 以及 pg_auto_failover / install psql 11 and pg_auto_failover in ubuntu 18.04</a></h1>
|
|
|
<div class="post__content"><p>最近都在弄postgresql</p>
|
|
|
|
|
|
<p>備份、還原測試得差不多了,就等著看到時候要用什麼方式</p>
|
|
|
|
|
|
<p>前幾天看到 pg_auto_failover 這個postgresql 的extension</p>
|
|
|
|
|
|
<p><a href="https://github.com/citusdata/pg_auto_failover">https://github.com/citusdata/pg_auto_failover</a></p>
|
|
|
|
|
|
<p>感覺挺不錯的,看起來設定很簡單,雖然之前已經測試了 keepalived 做 HA</p>
|
|
|
|
|
|
<p>不過,反正當作練功嘛,多測試一套也不錯!</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/bencmark-with-external-internal-nvme-ssd-and-external-sata-ssd/">[筆記] 測試 USB 3.1 Gen2 NVME SSD 外接盒 & 內建pci-e ssd & 外接SATA SSD / Bencmark With External Internal Nvme Ssd and External Sata Ssd</a></h1>
|
|
|
<div class="post__content"><p>前幾天在淘寶上買了個 SSK 的USB 3.1 Gen2 (type-c) NVME SSD 外接盒
|
|
|
手邊也剛好有一條多的intel 600p nvme ssd 就順手來做個比較
|
|
|
目標是看看有沒有可能直接用外接的SSD來跑postgresql</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/postgresql-backup-restore-using-zfs-snapshot/">[筆記] 用zfs的snapshot 快照功能來做 postgresql 的備份還原 / Postgresql Backup Restore Using Zfs Snapshot</a></h1>
|
|
|
<div class="post__content"><p>前面測試了用pgbarman / pgbackrest 來備份 postgresql</p>
|
|
|
|
|
|
<p>這次改從system file level 來下手</p>
|
|
|
|
|
|
<p>採用zfs 的快照來備份、還原postgresql 資料庫</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/backup-restore-postgresql-with-pgbackrest/">[筆記] 用pbackrest 備份還原 postgresql / Backup Restore Postgresql With Pgbackrest</a></h1>
|
|
|
<div class="post__content"><p>這兩天在測試pgbackrest ,簡單筆記一下測試狀況</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/pgbarman-in-ubuntu-1804-postgresql-10-via-ssh/">[筆記] 在Ubuntu 18.04 下 透過 pgbarman rsync/ssh backup 備份 postgresql 10 / backup postgresql 10 with pgbarman via ssh/rsync in ubuntu 18.04</a></h1>
|
|
|
<div class="post__content"><p>這篇繼續講 pgbarman 透過 rsync/ssh 來備份 postgresql 資料庫的方式</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/pgbarman-in-ubuntu-1804-postgresql-10/">[筆記] 在Ubuntu 18.04 下 透過 pgbarman streaming backup 備份 postgresql 10/ backup postgresql 10 with pgbarman straming backup in ubuntu 18.04</a></h1>
|
|
|
<div class="post__content"><p>很久以前就有看到這個用來備份postgresql 的 pgbarman</p>
|
|
|
|
|
|
<p><a href="https://www.pgbarman.org/">https://www.pgbarman.org/</a></p>
|
|
|
|
|
|
<p>前幾天老闆在slack 上面又提到,所以這次就花了點時間來玩玩看</p>
|
|
|
|
|
|
<p>不過呢,雖然有弄起來,但是還真不知道有些問題是怎麼解決的…</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/install-nvidia-driver-cuda-pgstrom-in-ubuntu-1804/">[筆記] 在ubuntu 18.04 下安裝nvidia 顯示卡驅動程式以及 pgstrom / Install Nvidia Driver Cuda Pgstrom in Ubuntu 1804</a></h1>
|
|
|
<div class="post__content"><p>因為老闆說要試試看用GPU 來跑postgresql 威力</p>
|
|
|
|
|
|
<p>手邊剛好有一張 geforce gt 720</p>
|
|
|
|
|
|
<p>一開始沒想太多,看到有這張卡的驅動程式,然後CUDA也有支援</p>
|
|
|
|
|
|
<p>就直接從桌機拔下來,接去LAB Server ,然後就開始一連串的難關了…</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
<div class="card card--2col">
|
|
|
<article class="post card__box block">
|
|
|
<h1 class="post__title title-excerpt"><a class="post__title-link" href="/post/do-no-use-10-0-0-0-private-ipaddr-in-gcp/">[筆記] 在gcp 中用wireguard建立VPN時,不要用 10.0.0.0/16 網段/Do No Use 10 0 0 0 Private Ipaddr in GCP</a></h1>
|
|
|
<div class="post__content"><p>最近一直在玩 wireguard ,先前把各個分公司和總部的VPN 改用 wireguard 建立</p>
|
|
|
|
|
|
<p>想說再打個VPN tunnel 來當跳板連 ptt 好了</p>
|
|
|
|
|
|
<p>因為wireguard 建立很簡單,而且又可以指定想要繞出去的路由,不會影響原本的網路環境</p>
|
|
|
|
|
|
<p>本來是在vultr 的VPS上面建立這個tunnel</p>
|
|
|
|
|
|
<p>但是那台VPS連去ptt 很頓,卡卡的</p>
|
|
|
|
|
|
<p>所以改用google cloud platform 的free tier 來做</p>
|
|
|
|
|
|
<p>反正只是拿來當跳板,不會有什麼流量、運算產生,可以一直保持免費的狀態</p></div>
|
|
|
</article>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</main>
|
|
|
|
|
|
<div class="pagination block">
|
|
|
<span class="pagination__item pagination__item--active" data-total="5">1</span>
|
|
|
|
|
|
<a class="pagination__item pagination__item--desktop" href="/post/page/2/">2</a>
|
|
|
|
|
|
<a class="pagination__item pagination__item--desktop" href="/post/page/3/">3</a>
|
|
|
|
|
|
<span class="pagination__item pagination__item--gap">…</span>
|
|
|
<a class="pagination__item pagination__item--desktop" href="/post/page/5/">5</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
<footer class="footer">
|
|
|
<div class="footer__copyright">© 2019 MCの飄狂山莊㊣. <span class="footer__copyright-credits"></span></div>
|
|
|
</footer>
|
|
|
</body>
|
|
|
</html> |