Zabbix 6.4 から Zabbix 7 にバージョンアップ

2024 年 6 月 4 日にZabbix 7がリリースされたましたが、リリース後にバージョンアップを考えていましたが時間が取れたので、Zabbix 6.4 から Zabbix 7 にバージョ ...
Zabbix 7 の新機能について

ITインフラの監視ツールとして高く評価されるZabbixですが、バージョン7ではさらに進化し、監視の精度や運用の効率を高める新機能が追加されました。Zabbix 6.4で運用しており、Zabb ...
WordPress AMPで、Google タグ(gtag.js)を設定する

WordPressに導入している「AMPプラグイン」ですが、Google Analyticsの対応は特にしていなかったのですが、久しぶりに設定を見てみるとGA4のgtagの設定ができるようになっていたので、早速対応してみました。
Let’s EncryptのSSL証明書を有効にしたCockpitで証明書エラー

先日の記事(Let’s Encryptで利用するSSL証明書をCockpitのSSL証明書として利用する設定)で、SSL証明書を有効にしたCockpitですが、しばらく運用していてアクセスすると証明書エラーでhttpsのページにアクセ ...
Windows 11 クリップボード履歴を利用する(Windowsキー+V)

Windows11でWindows10と同様でクリップボード履歴を利用できます。通常のクリップボードだと保存できる履歴は1つですが、クリップボード履歴の機能を利用するとクリップボードの履 ...
Cronで、MySQLのSQLクエリを定期的に実行する

MySQLのDBのメンテンナンスで定期的にupdate, delete分を実行したい場合があります。
そのようなケースではMySQLのSQL文を実行するシェルスクリプト ...
Apacheに「mod_expires」を導入する

mod_expires は、Apache HTTP サーバーのモジュールで、ウェブブラウザやプロキシサーバーに対して、どのくらいの期間キャッシュを保持するべきかを指定するためのヘッダ(Expires ...
Apacheで組み込まれているモジュールの確認方法

Apache 2.4系でApache HTTPサーバーでロードされているすべてのモジュールを確認しようと「apachectl」コマンドで確認しましたが下記のエラーでロードされているモジュールは確認できません。バージョン情報は表示される ...
CentOS Stream 9のCockpitで、Let’s EncryptのSSL証明書を利用する

以前のCentOS Stream 9では、SSL証明書と ...
Windows11でスタートアップアプリの有効無効を設定する

Windows 11を使用していると、色々なアプリをインストールするとパソコンの起動時に自動的に起動するアプリが増えてきて起動が遅くなることがあります。
起動時に自動起動が ...
複数のファイルで実行権限があるかないかをチェックする方法

Cronでシェルスクリプトを実行する設定をしていましたは、指定した時間になっても実行されていませんでした。原因調査するとCronで実行するシェルスクリプトに実行権限が付与するのを忘れていたようです
シェルスクリプトは特定の ...
Windows11でどのエディションが確認する方法

Windows 11 は、「Windows 11 Home」 ・ 「Windows 11 Pro」等のエディションがあります。
Windows 11の各エディションと特徴は以下のように ...
MailBoxに溜まったメールをmailコマンドで削除する

Cron等の通知メールやシステム関連のメールがユーザーやroot宛のMailboxに大量に溜まっているサーバーがありました。
普段は下記のようなコマンドをcronで設定してメールを削除しています
# cat/dev/ ...mailコマンドでメールが読めない

ディスクの容量が圧迫したので容量削減が多いファイルを探していたのですが、「Mailbox」の容量が大きいので受診したメールを削除しようと思い、メールコマンドを入力しても下記のように「No mail for 」が表示されメールが読めませ ...
特定のIPアドレスのみWordPress管理画面にアクセスを許可する方法

WordPressのセキュリティ対策で管理画面へアクセスは、特定のIPアドレスのみアクセスできるように設定していますが、WordPressの ...