Nextcloudをアップデート後エラー「データベースにいくつかのインデックスがありません 」

Nextcloudを29.0や30.0.1にアップデート後に管理画面にログインすると以下のエラーが表示されます。
・Nextcloud 29.0にアップデート時のエラー
「データベースにいくつかのインデックスが ...
phpMyAdminで複数のサーバーを管理する

同一サーバーで、ポートを変更して複数のMariaDB(MySQL)が稼働しているサーバーがあります。以前はポートごとにphpMyAdminを設定して管理していましたが、「config.inc.php」に各ポートの設定をすれば1個のph ...
Linuxで「*.gz」ファイルを解凍する

ファイルのバックアップで容量節約のために圧縮していましたが、いつもは「tar.gz」で圧縮していますが、「gz」形式で圧縮したファイルがあって解凍する時に、コマンドがわからないので調べました
パッケージの更新後にサービスの再起動が必要なサービスを表示する「needs-restarting」

「yum update」,「dnf update」を実施してパッケージを更新した後に、再起動が必要かどうかのわからな ...
Nextcloud 「サーバーにはメンテナンスウィンドウの開始時間が設定されていません。」の警告

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

RHEL 9系であるCentOS Stream 9でmemcachedをインストールしました。memcached を有効にするには、memcached、php-mem ...
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 ...RHEL系(CentOS) にFTPクライアントをインストールする

お客様からプログラムからFTPクライアントを使用したいが、インストールされていないと報告がありました。「vsftpd」をインストールして起動しているので、FTPクライアントも一緒にインストールされていると思いましが、/usr/bin ...
CentOS 9のCockpitで、Let’s EncryptのSSL証明書を使う

この記事は、以前の「CentOS Stream release 9」で利用していました。
最新版のCockpitでは、マージした証明書とプライベートキーはサポート外となっているので、下記の記事の方法で対応して下さい
MariaDB5.5 系から MariaDB10系にデーターベースをインポートすると一部のユーザーログインできない

MariaDB5.5 系のデータベースをエクスポートしてから MariaDB10系にデーターベースをインポートを実施しました。エクスポート・インポートともエラーなく作業できましたが、rootを除く一部のユーザーでログインするとパスワー ...
Apache 2.4系で「NameVirtualHost」のエラー

RHEL8系のRockyLinux8 で、Apacheの有効しているモジュールを確認しようとしたら、「NameVirtualHost has no effect and will be removed in the next rele ...