テーマ: rhel
-
Checking whether a Linux host needs a reboot or a service restart after updates
Debian and Ubuntu mark a pending reboot with the plain file /var/run/reboot-required, while RHEL-family systems require comparing the running kernel to the newest installed one or running a needs-restarting-style check; neither family tells you this automatically at the shell prompt.
-
Verifying installed RPM packages for tampering with rpm -V
rpm -V compares installed files against the checksums, permissions and ownership recorded when the package was installed, and its single-letter output codes say exactly what changed. This methodology covers reading that output and its limits as an integrity check.
-
CockpitのWebコンソールで画面のないRHELホストを管理する
Cockpitは、デスクトップGUIのないRHELサーバーをブラウザーから管理するセッションを提供します。ソケットで起動するため、最初の接続時にのみ起動します。この手順では、有効化、専用の名前付きサービスによるファイアウォールの開放、サーバー上で実際に役立つ用途を扱います。
-
Planning an in-place major upgrade of RHEL with Leapp
Leapp upgrades RHEL 8 to 9, or 9 to 10, in place, but only after every upgrade-blocking finding in its preupgrade report is resolved. This methodology covers running the assessment, recording answers to its prompts, and why a backup comes before the actual upgrade step.
-
Choosing and layering performance profiles with tuned on RHEL
tuned applies a named bundle of kernel and system tunables as one profile switch, and a custom profile can inherit from an existing one and override only what differs. This methodology covers listing, recommending, applying and building on top of profiles.
-
SSHで自分を締め出さずにfirewalldのゾーンとルールを管理する
firewalldは実行中の設定と永続設定を分離しており、通常のfirewall-cmdによる変更は永続化しない限り次の再読み込みで失われる。この手順はゾーン、実行時と永続設定の違い、リッチルール、そしてリモートSSHセッションから復旧できなくなる前の変更テストを扱う。
-
RHELのApplication StreamsとDNFモジュール:RHEL 10で変わること
RHEL 8と9はAppStreamの一部をDNFモジュールで提供し、1つのOSリリース向けにコンポーネントの複数バージョンを用意しつつ、一度に有効なストリームを1つに限定する。RHEL 10の再ビルド版の文書ではモジュール性を非推奨とし、代わりにApplication Streamパッケージを直接インストールする。
-
Adding a private CA to the system trust store on RHEL-family and Debian/Ubuntu
RHEL-family and Debian-family Linux keep separate mechanisms for adding a locally trusted CA certificate: update-ca-trust with anchors under /etc/pki/ca-trust, and update-ca-certificates with .crt files under /usr/local/share/ca-certificates. Using the wrong directory or extension silently leaves the CA untrusted.
-
Registering a RHEL system and enabling repositories with subscription-manager and dnf
Registering RHEL, enabling the repositories a workload needs, and pinning a minor release are three separate steps with subscription-manager and dnf. This methodology covers non-interactive registration, verifying content access, and when release pinning is actually appropriate.
-
Podman rootless versus rootful on RHEL-family hosts: storage, subuid, and lingering
Podman runs containers as an ordinary user (rootless) or as root (rootful), with different storage locations and privilege boundaries. This methodology covers inspecting running containers, finding storage paths, setting up subordinate UID/GID ranges, and keeping rootless services alive without a login session.
-
update-crypto-policiesでRHELのシステム全体の暗号ポリシーを切り替える
RHELのシステム全体の暗号ポリシーは、OpenSSL、GnuTLS、NSS、libkrb5、OpenSSHがデフォルトで提示するアルゴリズムとプロトコルのバージョンを設定する。各アプリケーションの設定を編集する代わりに1つのコマンドで変更できる。この手順では、ポリシーの表示、設定、テストと、実行中のサービスが新しい設定を取り込むために再起動を要する理由を扱う。
-
Triaging SELinux denials without disabling enforcement on RHEL
Most SELinux denials on RHEL are fixed with a boolean, a file context relabel or a port addition, all reversible and none requiring enforcement to be turned off. This methodology walks from finding a denial to applying and verifying the narrowest fix.
-
Kickstart ファイルで RHEL の無人インストールを構築する
Kickstart ファイルは、一行のコマンドと %pre・%post のスクリプトを組み合わせ、対話的な確認なしに RHEL、Rocky Linux、AlmaLinux のインストールを進める。この手順では、使用前の検証、起動時の指定、認証なしで配布されることの多いファイルに秘密を入れない方法を扱う。
-
RHELのカーネルクラッシュを記録するためにkdumpを設定する
kdumpはあらかじめメモリーを確保し、パニック後に第2の最小構成カーネルを起動して、解析用のvmcoreを書き出せるようにする。この手順ではメモリーの確保とサービスの有効化、意図的なテストがホストを停止させる理由を扱う。テストはそれに応じて予定する。
-
Undoing a dnf transaction and locking package versions on RHEL
dnf keeps a full transaction history that can be inspected, undone or rolled back, and the versionlock mechanism pins a package to its current version across later updates. This methodology covers both, the difference between undo and rollback, and what differs in DNF5 on current Fedora.
機械可読: JSON