Nextcloud 「サーバーにはメンテナンスウィンドウの開始時間が設定されていません。」の警告

Nextcloudで管理画面にアクセスすると、「セットアップに関して警告がいくつかあります。」と下記の表示されます。
警告メッセージの内容は、下記のようにメンテナスウィンドウの開始時間が設定されていないので警告メッセージが表示 ...
RHEL系のPHP 9にmemcachedをインストールする

RHEL 9系であるCentOS Stream 9でmemcachedをインストールしました。memcached を有効にするには、memcached、php-mem ...
「post_max_size の値が upload_max_filesizeの値より小さくなっています」と表示される場合

Wordpressのヘルスチェックで下記のよ ...
コマンドプロンプトのフォントサイズを変更する

Windows11で「コマンドプロンプト」や「PowerShell」のフォントの文字サイズが変更することができます。フォントサイズの変更は「設定」画面で実施します。Wi ...
コマンドプロンプトで画面を内容をクリアーする方法

Linuxだとコンソール画面の内容をクリアー(消去)をするには「clear」コマンドを利用すればできますが、コマンドプロンプトでは「clear」コマンドを使えません。
コマンドプロンプトで、画面の内容をクリアー(消去)する ...
Curlでブログ内でアフィリエイト広告・Googleアドセンス広告が表示されているか確認する

Wordpressで運営しているブログでテーマを更新すると、たまにアフィリエイト広告・Googleアドセンス広告を設定しているウィジェットが外れている事があります。以前は一ヶ月広告が外れている状態に気付かなかった事がありました。
/var/log/messages のログを抑制する

CentOS 8以降、/var/log/messages に大量にログが出力されるようになりました。これはSystemdが導入されてSystemdがサービス ...
CentOS 9 Steam のcockpitでrootログインできなくなった

CentOS 9 Steam のcockpitで、久しぶりにrootでログインしようと思ったら、「ユーザー名またはパスワードが間違っています」と表示されログインできなくなったました
調べてみると、RHEL 9.2 以降の新 ...
メモリ使用率が多いプロセスの上位10個を調べる

RHEL系でメモリ使用量が多いプロセスを調べるときに「ps」コマンドを利用しますが、このコマンドを利用していてメモリ使用量が多い順に表示するには「–sort=-%mem」のオプションでメモリの使用量でソートします。そのごh ...
hdparm で読取り速度のベンチ

ハードディスクの読取り速度のベンチマークですが「hdparm 」コマンドを利用すると簡単にディスクの読取り速度を計測することができます。
書式:hdparm -tT/dev/
【オプションの意味】
-t ...PHP-FPMで処理が遅いスローログを出力する

CentOS 7からRockyLinux8に移行したサーバーでPHPの一部の処理で遅くなっているので、原因究明のためPHP-FPMの処理の遅い処理のをログに出力するようにしました
設定は、「/etc/php-fpm.d/w ...
phpで「ERROR: Unable to set php_value ‘soap.wsdl_cache_dir’」のエラー

php・php-fpmの初期設定後に、エラーログを見ると下記のエラーがでていました
# view/var/log/php-fpm/error.logERROR: Unable to set php_value 'soap.wsd ...MariaDB5.5系からMariaDB10系に移行したDBでエクスポートするとエラー

MariaDB5.5系からMariaDB10系に移行したDBでエクスポートすると下記のエラー
$ mysqldump -u root -p --all-databases >/var/tmp/dump.dbmysqldum ...MariaDB(MySQL)でレプリケーションエラー

CentOS 7がサポート終了となるので、RHEL8系のRockyLinux 8に移行する作業で、旧DBをエクスポートして新サーバーインポートすると、データベースの停止時間が長いので、一旦レプリケーションを作成して、SlaveからMa ...
古いサーバーのcurlで「(60) Peer certificate cannot be authenticated with known CA certificates」エラー

古いCentOS 6でCurlでURIにアクセスすると、下記のようなエラーになります
$ curl -I (60) Peer certificate cannot be authenticated with known CA ...