ls [internet]

技術メモ

2016-01-01から1ヶ月間の記事一覧

GCP(GCE)でalias ipを使う

GCP

IPエイリアスとかVIPとかeth0:0みたいなやつです。 と言っても現状、 Configuring an Instance's IP Addresses - Compute Engine — Google Cloud Platform Choose an IP address that doesn't belong to any network in your project. なので物理と同じ感覚…

curlでbashスクリプトを実行して引数も与える

curl -L https://www.chef.io/chef/install.sh | bash -s -- -v 12 まあこういうやつですね。 bashのオプション Man page of BASH -s -s オプションが指定された場合と、 オプションを全て処理した後に引き数が残っていなかった場合には、 コマンドは標準入…

OSXのcurlで正しいSSL証明書でInvalid certificate chainと警告が出る

OSX

最新版のchromeでは正常に表示される証明書がcurl経由だとエラーになる。 * SSL certificate problem: Invalid certificate chain curl: (60) SSL certificate problem: Invalid certificate chain More details here: http://curl.haxx.se/docs/sslcerts.ht…