2018
Mar
17

There are many way to set your linux terminal style. Now I know the best one is oh-my-zsh. You can follow the git repo to set your terminal. https://...

2017
Dec
30

SSH 連線到某些機器,有時候會等超過 5 秒,有一個原因就是 UseDNS 這個設定,當 UseDNS = yes , SSH 伺服器就會做一次 reverse DNS , reverse DNS 就是將 IP...

2017
Dec
17

自從換了最新有 Touch Bar 的 MacBook 後 , Google Chrome 瀏覽器 (版本 63.x) 就變得怪怪的,打開某些網站會整個卡住,滑鼠游標不見,整個畫面也不能動,總是要...

2017
Sep
24

安裝方式先更新 yum package list.yum install -y centos-release-sclyum install -y scl-utils-build安裝 python-2 ,這裡不用指定版號,因為目前 python 都會裝...

2017
Sep
16

我很常使用 .ssh/config 建立 tunnel 連線,有一天突然 ssh 連線一直出現 "bash: No such file or directory" 這個錯誤,上網查了很久,有人說是 chroot 後,預設...

2017
Jun
06

Splunk 基本語法功能語法averagestats avg(duration) by ...sortsort -_time, sort _timereplacerex mode=sed field=url "s/aa(a)/zz\1/"Regular Expression...

2017
Jun
06

Everything is a file 這是 Linux 系統設計的基本原則,任何一個 sockets/hardware devices/process/pipes 都是一個檔案,而且這些操作 kernal 的系統擋案是有上...

2017
Jun
04

要登入"電子發票整合服務平台",只能用 IE 瀏覽器,而且版本還不能太新,如果你是用 Win 10 以上的版本,那麼內建的瀏覽器叫做 Edge 不是 IE ,Edge 沒辦法使用讀...

2017
May
31

SSLv1 SSLv2 因 security 問題,很多 Server 都已經停用這兩種 SSL 加密機制,造成 Curl 會有以下錯誤訊息: Curl* About to connect() to xxx.xxx.xx port 443 ...

2017
May
28

VirtualBox 可以根據不同的帳號,而有不同的 VM,所以要注意你執行指令時,使用的身分,這裡我全部都使用 root 身分。列出所有的 vmsudo VBoxManage list vms啟動...