4: 2022-08-31 (水) 17:33:30 iseki |
現: 2023-09-15 (金) 09:33:48 iseki |
| * Rocky Linux [#rd1cd8b1] | | * Rocky Linux [#rd1cd8b1] |
| + | ** CentOS からの移行 [#i67cdddd] |
| *** CentOS7 -> Rocky Linux8 [#za5f2d98] | | *** CentOS7 -> Rocky Linux8 [#za5f2d98] |
| # yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm | | # yum install -y http://repo.almalinux.org/elevate/elevate-release-latest-el7.noarch.rpm |
| # leapp answer --section remove_pam_pkcs11_module_check.confirm=True | | # leapp answer --section remove_pam_pkcs11_module_check.confirm=True |
| # vi /etc/ssh/sshd_config (PermitRootLogin yes のコメントを外す) | | # vi /etc/ssh/sshd_config (PermitRootLogin yes のコメントを外す) |
| + | |
| # yum install yum-utils | | # yum install yum-utils |
| # package-cleanup --oldkernel --count=1 | | # package-cleanup --oldkernel --count=1 |
| # leapp upgrade | | # leapp upgrade |
| + | |
| #br | | #br |
| + | |
| + | **** error 1 [#kabeccff] |
| + | File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py", line 219, in _transaction e.stdout = e.stdout.encode('utf-8', 'xmlcharrefreplace') AttributeError: can't set attribute |
| + | |
| + | - https://stackoverflow.com/questions/73959151/leapp-upgrade-fails-during-elevate-upgrade-initramfs |
| + | -- /usr/share/leapp-repository/repositories/system_upgrade/common/libraries/dnfplugin.py の L217 の PY2 をPY3 に変える. |
| + | |
| + | #br |
| + | |
| **** BL460c Gen8 [#t260e672] | | **** BL460c Gen8 [#t260e672] |
| - BL460c Gen8 では ネットワークインターフェイスを見失った. | | - BL460c Gen8 では ネットワークインターフェイスを見失った. |
| - dmesg でもネットワークインターフェイスが表示されない. | | - dmesg でもネットワークインターフェイスが表示されない. |
| - RHEL8 は be2net ネットワークインターフェイスをサポートしないようだ. | | - RHEL8 は be2net ネットワークインターフェイスをサポートしないようだ. |
| + | |
| + | - 後でチェック(2022/12/8) |
| + | -- https://cbs.centos.org/koji/buildinfo?buildID=37021 ← これは Rocky Linux 9 用 |
| + | --- ダメぽ |
| + | |
| + | - https://blog.dovid.net/how-to-get-the-broadcom-network-drivers-working-with-on-a-hp-bl460c-gen8-with-centos8/ |
| + | -- 8.7 は kmod-be2net-12.0.0.0-10.el8_7.elrepo.x86_64.rpm で上手く行った. |
| + | --- http://mirror.rackspace.com/elrepo/elrepo/el8/x86_64/RPMS/kmod-be2net-12.0.0.0-10.el8_7.elrepo.x86_64.rpm |
| + | |
| + | rpm -ihv kmod-be2net-12.0.0.0-10.el8_7.elrepo.x86_64.rpm |
| + | modprobe be2net |
| + | ip a s |
| #br | | #br |
| | | |
| chmod u+x migrate2rocky.sh | | chmod u+x migrate2rocky.sh |
| ./migrate2rocky.sh -r | | ./migrate2rocky.sh -r |
| + | #br |
| + | ** Trouble Shooting [#ycfff0a3] |
| + | *** yum で "Curl error (60): SSL peer certificate or SSH remote key was not OK" のエラー [#u87f7384] |
| + | - 日付が少々ずれていたので date で修正 |
| + | #br |
| + | |
| + | *** BL460c G9 を色々弄っていたら,sdb が sda になって,/dev/mapper/rl-home を見失った. [#n3659ecb] |
| + | - [[LVM#k68cf663]] |
| #br | | #br |