Microsoft Edge でのダウンロード フォルダーの変更する

Microsoft Edge でのファイルをダウンロードした際に、保存されるフォルダーの場所を変更するには、Microsoft Edgeを起動して設定メニュー内でおこないます。
1.Microsoft Edgeを起動します ...
永続オブジェクトキャッシュを使用してください 【WordPress】

Wordpressのヘルスチェックで下記のように「永続オブジェクトキャッシュを使用してください」と表示されます。以前は「Memcached Redux」を使ってい ...
「APCu」の有効になっているか確認する

PHPのAPCu(Alternative PHP Cache user caching)は、PHPプログラムのパフォーマンスを向上させるための仕組みの一つで、PHPコードの結果やデータをキャッシュする機能を提供します。これにより、同じ ...
ディレクトリ内にある、空白のファイル名を変換する

任意のディレクトリにある、空白を含むファイル名をアンスコ(_)やハイフン(-)に変換する方法ですが、ネットでは以下のワンライナーの方法がありました
find . -name "* *" | rename 's//_/g'C ...
csvファイルの指定したカラムの空白文字を変換する

csvファイルで指定したカラム内の値がファイル名でWindowsだと良いのですが、Linuxだと良くないので半角の空白をアンスコ(_)やハイフン(-)に変換したくて、シェルスクリプトで頑張って色々とやってみましたがうまくいきませんでし ...
「grep -E」で正規表現を使って検索する【grep】

grepは指定したファイルなどから、特定の文字列を検索できるコマンドです。
grepで正規表現を使いたい場合は「egrep」を使えば良いのですが、「-E」のオプションを使うとgrepコマンドで、拡張正規表現 (Extended ...
PHPの警告「PHP Warning: Module “imagick” is already loaded in Unknown on line 0」

phpのバージョンを確認すると「PHP Warning: Module “imagick” is already loaded in Unknown on line 0」と渓谷メッセージが表示されていました
PHP 8.2から8.0 にダウングレード

先日、PHP 8.2「CentOS 9系でPHP 8.2を使用する」にバージョンアップしたのですが、php-zipで依存関係でエラーとなり色々とやったのですが、解消しません。
$ php -vPHP Warning: Modul ...Nextcloudの警告「PHPモジュール「imagick」が有効ではありません」のメッセージ

Nextcloud で「概要」→「セキュリティ&セットアップ警告」の画面で下記のような警告メッセージが表示されてました。
「テーマ別アプリは有効ですが、PHPモジュール「imagick」が有効ではありません。ファビコン生成 ...
CentOS 9系でPHP 8.2を使用する

Nextcloudを最新版にすると、PHP 8が非推奨となっていたので、PHPを8.2に変更しましたので、その手順を紹介します
Nextcloud バージョンアップ履歴 ...
「Contact Form 7 Multi-Step Forms」添付ファイルが添付できない

Contact Form 7 で確認画面を設置したお問い合わせフォームで、添付ファイルが添付できるようにしても自動メール送信で、メール内に添付ファイルが添付できないので、Wordpress内のパーミションがおかしいと思うので調べてほし ...
シェルスクリプトでコマンドの結果を変数に代入する

シェルスクリプトで、コマンドの実行結果を変数に代入したいケースがあります。代入する方法は下記のようなコマンド代入できます。
結果を代入したいコマンドをバッククォート(`)で囲むか、$()の括弧の部分にコマンドをいれるかのどちら ...
wordpressで更新するとFTP接続の情報が表示される

お客様の方から、プラグインの更新やインストールすると下記のFTP接続情報が表示され、更新やインストールができないと問い合わせがありました
お客様の方は、FTP接続でコンテンツをアップロードしてwo ...
SQL文をコマンドで実行した場合に結果のみの値を取得する

MySQL(MariaDB)で、SQL分をコマンドで実行するとカラムが表示されます。SQL分を叩く箇所をシェルスクリプト内で使いたいのでカラム無 ...
swapが使用しているプロセスのTOP10を表示する

最近、サーバーのメモリが逼迫してswapを使っている場合があり、どのプロセスが使用しているか確認したいのでその方法を調べました
/proc 以下のプロセス情報で確認する使用しているプ ...