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

ansible yaml shell command

http://docs.ansible.com/ansible/shell_module.html - name: なにか実行 shell: | echo hoge >> somelog.txt echo foo echo baa args: chdir: somedir/ ansible-playbookのYAMLを読みやすくする工夫 - Qiita shell shellはリモートノードのシェル(/bin/sh)…

wordpress backup to s3

http://blog.hrendoh.com/how-to-backup-wordpress-to-aws-s3/

wordpress http を https に、SSLオフロードは別サーバ

https://codex.wordpress.org/Administration_Over_SSL[WordPress] is_ssl関数を ロードバランサ環境で対応させる : 元うなぎ屋 管理画面のSSL化 wp-config.phpに以下を記載する。 ただしrequire_once(ABSPATH . 'wp-settings.php');より前に書かないとダメ…

FreeBSD varnish-modules

ヘッダファイルなどが必要なのでportを使用 portinstall varnish4 git clone https://github.com/varnish/varnish-modules cd varnish-modules/ https://github.com/varnish/varnish-modules/issues/7 と同じ問題が発生するので vi src/Makefile.am libvmod_…

Corosync Pacemaker

Pacemaker のリソースフェイルオーバーについて - NETWORK ENGINEER BLOG

varnish purge list ban

確認 sudo varnishadm ban.list sudo varnishadm > ban.list ban list は消せない。 No. You cannot clear the ban list. Bans are eliminated from the ban list in only two situations:If they are older then the oldest object stored. They get eaten …