インストール yum install irssi 起動 irssi CUIベースでのチャット起動 twitchの登録済みアカウントまでの旅 /network list ネットワークの参照をして名称などの参考確認後 ネット […]
pngquant
https://pngquant.org/ Command-line:comprese PNGs. donwload http://pkgs.org/search/pngquant wget ‘http://dl.fed […]
コマンドライン|WEBスクリーンショット
wkhtmltopdf http://wkhtmltopdf.org downloadsから該当するパッケージをget http://wkhtmltopdf.org/downloads.html wget ‘(URL). […]
VirtualBox + Vagrant + ContOS CUI
VirtualBoxで起動させたCentOSのコンソール画面を変更する find / -name ‘grub.conf’ GUIの変更はウィンドウサイズの変更などで行うが、CUIはこれらの変更をすることで行う。 /etc […]
Atom
Atom https://atom.io/ 開発環境の変更に伴いエディタも変更 リモートファイルの直接編集も可能 SFTPでの接続も可能
Rlogin
Rlogin http://nanno.dip.jp/softlib/man/rlogin/ 開発環境の変更に伴いターミナルソフトも変更 SSH接続もこれ1つで容易に実現できる
nginx locations
location derective syntax
1 2 3 4 5 |
location [ = uri | ^~ uri | ( ~ | ~* ) uri | uri ] { ...; ...; ...; } |
directory www.mg-comp.com ../www/index.html ../www/ […]
upstream timed out
WordPress + Nginx + php-fpm check point php-fpmの設定「www.conf」などを確認する
1 2 3 4 5 6 7 8 9 10 11 12 |
; The timeout for serving a single request after which the worker process will ; be killed. This option should be used when the 'max_execution_time' ini option ; does not stop script execution for some reason. A value of '0' means 'off'. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) ; Default Value: 0 request_terminate_timeout = 6m ; The timeout for serving a single request after which a PHP backtrace will be ; dumped to the 'slowlog' file. A value of '0s' means 'off'. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) ; Default Value: 0 request_slowlog_timeout = 5m |
timeoutの時 […]
Elasticsearch|log rotation
log4j仕様 時間単位でのログ管理 type: dailyRollingFile
1 2 3 4 |
file: type: dailyRollingFile file: ${path.logs}/${cluster.name}.log datePattern: "'.'yyyy-MM" |
typeはDailyでもdataPatternを変更するだけ。月間、週 […]
WordPress|アップデートに失敗したときの確認
ワードプレスの更新に失敗した場合 ディレクトリに「.maintenance」ファイルが残っていないかどうか?確認をする。同ファイルが残っている場合はリネーム後、ワードプレスの再表示・確認を行う。問題がない場合は後日削除す […]