pikesaku’s blog

個人的な勉強メモです。記載内容について一切の責任は持ちません。

Linux

RHEL7と8の非互換ポイント

RHEL 8 の導入における検討事項 Red Hat Enterprise Linux 8 | Red Hat Customer Portalここをしっかり見たい。

RHEL8のcrypto-policiesについて

参考 4.7. ポリシー修飾子を使用したシステム全体の暗号化ポリシーのカスタマイズ Red Hat Enterprise Linux 8 | Red Hat Customer Portal CentOS Stream8:sshdで使用する暗号方式の設定 - Qiita やったこと opensshからmacでumac-128を無効にする。 やりか…

RHEL8のシステム全体の暗号化ポリシー機能について

参考URL 第4章 システム全体の暗号化ポリシーの使用 Red Hat Enterprise Linux 8 | Red Hat Customer Portal メモ これいいかも。 関連コマンド $ update-crypto-policies --show DEFAULT # update-crypto-policies --set FUTURE Setting system policy to F…

RHEL8起動時エラー

無視して良い kernel: pci 0000:00:XX.X: BAR 13: failed to assign [io size 0xXXXXX]Document Display | HPE Support Center augenrules[XXX]: failure 1起動中にメッセージ「augenrules: failure 1」が記録される - Red Hat Customer Portal 一応対処する…

RHEL8で無効にするサービスについて

参考 18.2. 無効にしても安全なサービスを選択するためのガイド Red Hat Enterprise Linux 8 | Red Hat Customer Portal 最小インストの構成で自動起動が有効なサービスの内、無効にするもの サービス 説明 import-state.service ネットワークストレージから…

firewalldについて

firewalld把握の大事なところ!!! # firewall-cmd --list-all public (active) target: default ★ icmp-block-inversion: no interfaces: eth0 ★ sources: ★ services: cockpit dhcpv6-client ssh ports: protocols: masquerade: no forward-ports: source…

CentOS8コマンド

タイムゾーン設定関連 設定確認 timedatectl タイムゾーン一覧確認 timedatectl list-timezones タイムゾーン設定 timedatectl set-timezone Asia/Tokyo 設定保持ファイル ls -la /etc/localtime lrwxrwxrwx. 1 root root 32 9月 25 16:41 /etc/localtime ->…

CentOS8の勉強!!

久々にLinuxの勉強! 参考 これを読んだ! 色々探したけど、これがよさげ。CentOS8 実践ガイド[システム管理編] - インプレスブックス 第1章 CentOSの概要 フロントエンドのスケールアウト型基盤でフリーOSが利用される。 ストレージ・基幹システム・DB等…

Linuxのデバイス名が変わってしまった時は、、、

参考 How do I change the order of storage devices during boot in RHEL 5 and 6? - Red Hat Customer Portal How do I change the order of storage devices during boot in RHEL 7? - Red Hat Customer Portal メモ SAN接続したサーバで、カーネルアップ…

yumで依存関係エラーが出たときは、、、

こんなコマンドたたく # yum repolist all | egrep -v "^repo|Loaded plugins" | cut -d"/" -f1 | xargs -i yum --enablerepo={} provides '*libmilter.so*'rhel7にopendkim入れようとしたら、依存関係エラーでたので、上記コマンドを考えた! 結果、 rhui-R…

RHEL7のセットアップを楽にする

目的 RHEL7の初期設定を楽にする 手順 ①RHEL7をインストールしたホストをインターネットに接続可能にする ②以下コマンドを実行する。 $ curl -o ./epel-release-latest-7.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rp…

iproute2について

enakai00.hatenablog.com

シェルを学ぶ

参考URLのシェルスクリプトがかっこいいので勉強 シェルのテクニック満載で、これでもかっ!ってくらいあった気がする。大変勉強になりました。 参考URL https://github.com/fumiyas/mailman-hack/blob/master/bin/mailman-migrate-from-fml.ksh 要チェック…

RHEL7でのpip2とpip3の共存

RHEL7のpipは以下でインストール # yum install epel-release # yum install python-pip pip3は以下でインストール python 3.4 - How to install pip in CentOS 7? - Stack Overflow # wget https://bootstrap.pypa.io/get-pip.py # python3.4 get-pip.py pi…