Skip to content

Phanix's Blog

Menu
  • About Me / 關於我

Category: 工作

安裝非預設版號 certbot apache plugin / installing certbot apache plugin with non-default version number

No Comments
| 學習工作, 工作

在大部分情況下安裝預設版本都可以正常無痛完成,但有時候就是會遇到不一樣的情況。

Read More »

指定安裝 phalcon 的版本

No Comments
| 學習工作, 工作, 程式

其實是因為這幾天phalcon 4 正式 release,然後自己不小心讓系統全部更新,然後就爆炸了,所以只好來降版本。

Read More »

google cloud instance 之間做 file sync

No Comments
| 學習工作, 工作

預設 gcp instance 是只能用 ssh key based 登入,而如果沒有幫 root 帳號(或者要執行 rsync 的帳號)產生 ssh key,那等於無法使用 rsync 這個命令。

Read More »

rsync with specific account and password 指定特定帳號密碼做 rsync

No Comments
| 學習工作, 工作

主要透過 sshpass 套件去做類似密碼輸入的動作。

Read More »

AWS Route53 Geo dns with letsencrypt

1 Comment
| 學習工作, 工作

如果是單一一台主機透過 certbot 要用 letsencrypt 這個免費的 ssl 憑證服務的話,其實並不難,以 ubuntu 16.04 搭配 apache 的話會像這樣 而 Amazon AWS 的 Route53 服務有提供很好用的 geo-based dns 功能,簡單來說就是指定來自哪個區域的 reqeust 要由哪個 ip 負責處理。但因此 certbot 預設的 dns challenge 就不能正常運作,導致無法順利申請 letsecrypt 的 ssl 憑證。 實際上只要使用 –dns-route53 參數就可以了。 $ sudo certbot certonly –dns-route53 -d YOUR_DOMAIN_NAME 不過預設 certbot 安裝的時候不會安裝 dns-route53 這個 plugin,所以要自行安裝,而安裝的指令也很簡單,如下。 $ sudo pip install certbot_dns_route53==0.31.0 […]

Read More »

gitlab api 從 v3升級之後 jenkins gitlab plugin 的問題

No Comments
| 學習工作, 工作

2019年初發生的,還是來記錄一下。主要是因為gitlab升級之後,舊版的v3 api已經被移除,所以導致jenkins gitlab plugin無法使用。

Read More »

Exclude a url path using apache .htaccess

No Comments
| 學習工作, 工作

用 http auth 時,如果要避開某些 url 不做檢查(例如API)。

Read More »

git cherry-pick 與 git show + git apply 與 git merge

No Comments
| 學習工作, 工作

如果是有部分的更改或新增功能,用 git merge 有時候不見得是好主意

Read More »

Apache 2.4 CORS configuration

No Comments
| 學習工作, 工作

如果是 api 的話,可以在程式的部分加上 header,但 resouce file (如圖片等)就得在 apache 裏頭做設定了

Read More »

Git Error: pack-objects died, out of memory

No Comments
| 學習工作, 工作

紀錄一下…

Read More »

Posts pagination

Previous 1 … 4 5 6 … 18 Next

Recent Posts

  • NextJS connect to backend Go api for buffering response
  • NextJs 的 404 handling
  • 強制 nextjs app router 不使用 Static Site Generation (SSG)
  • 將長時間英文 podcast 轉為中文 SRT 字幕檔
  • Letsencrypt 設定讓 apache2 通過 ssl labs 安全測試 A+

Recent Comments

  • Champagne Tasting - 2023/09 - Phanix's Blog on 龍吟 wine dinner
  • 天灰 on 撲克牌遊戲 — 德州撲克 (Texas Hold’em / Texas Poker)
  • 用FFmpeg取代 AWS Media Converter - Phanix's Blog on AWS S3+Media Converter+CloudFront 做 video file streaming CDN服務
  • Mount GCP storage as filesystem, and access with php - Phanix's Blog on php+apache 執行 sudo 命令出現 sudo: no tty present and no askpass program specified
  • Chateau de la Roche-aux-Moines (Nicolas Joly) Tasting - Phanix's Blog on Nicolas Joly 與他的生物動力法哲學

Archives

Tags

.net (29) 2008 (66) 2009 (91) Bordeaux (46) Bourgogne (37) c# (33) Cabernet Sauvignon (41) California (85) Chardonnay (46) dessert wine (26) food (53) France (58) France 法國 (68) French (28) French wine (25) japanese food (32) murmuring (25) photo-taking (46) photographing (48) php (41) Pinot Noir (52) programming (38) red wine (189) Santa Cruz (33) system administration (72) Taiwan (40) traveling (74) USA (125) white wine (120) wine (176) wine tasting (225) 加州 (64) 勃根地 (40) 台灣 (29) 品酒 (223) 攝影 (93) 旅遊 (60) 法國 (33) 波爾多 (38) 甜酒 (28) 白酒 (116) 系統管理 (51) 紅酒 (186) 美國 (100) 義大利 (36)

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Phanix's Blog 2025 . Powered by WordPress