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

TLS 1.3

$ openssl version OpenSSL 1.0.2o-freebsd 27 Mar 2018 $ openssl ciphers -v | awk '{print $2}' | sort | uniq SSLv3 TLSv1.2 $ openssl version OpenSSL 1.1.1d-freebsd 10 Sep 2019 $ openssl version OpenSSL 3.0.12 24 Oct 2023 (Library: OpenSSL 3.…

php cli opcache

cliでopcacheを有効にしたほうがよいケースはあるか(デフォルト無効) The opcache.enable_cli option enables PHP OPcache when running PHP scripts from the command line (using the php command). However, keep in mind that for PHP 5.x the OPcache…

ceph 操作

コマンド https://gist.github.com/pertoft/a4250bd2826a1be5f341c71c30e9e7e5 ceph -s ceph -w ceph health detail ceph osd df ceph osd tree OSDノード停止 OSDノードがハード故障などで、一時停止する場合の手順1. OSD停止前に、クラスタのリバランスを…

cpan アンインストール

アンインストール ? その 2つまり、発想としてはインストール時に行った作業の逆をやれば良いだろうということです。 そういうことで、まずは、コマンド rm を使って $HOME/.cpan/ と $HOME/perl5/ を削除しました。 $ rm -rf .cpan/ perl5/それから $HOME …

cronolog -S オプション

cronolog -S でシンボリックリンクが更新されない Ubuntu 22.04.4 cronolog 1.6.2 で確認cronologの-Sオプションはもう使えない #ubuntu18.04 - Qiita 2019

postgres tag 配列

The query to find the cats are "red", "brown" and "aloof" is also wonderfully simple. SELECT Count(*) FROM cats_array_text WHERE cat_tags @> ARRAY['red', 'brown', 'aloof'];Tags and Postgres Arrays, a Purrrfect Combination | Crunchy Data Bl…

MySQL 8.0 information_schema 更新

TL;DR information_schema.tables ( SHOW TABLE STATUS はここから値を持って生きている)の値は information_schema_stats_expiry 秒間更新されない なので SET SESSION information_schema_stats_expiry = 0 とかするとほぼ今まで通りの挙動になる See al…