Rocky Linux

最後更新: 2021-10-18

介紹

 

RockyLinux 出世的原因: CentOS downstream -> upstream

建立者: Gregory Kurtzer (CentOS co-founder)

名稱由來: 紀念 CentOS co-founder Rocky McGaugh

The project is sponsored by AWS, GCP

HomePage

目錄

 


Version

 

8.5  #

8.4  #

 

 


Tuning

 

[Service]

systemctl enable chronyd

systemctl disable sssd

systemctl disable smartd

systemctl disable tuned

[Package]

dnf install rsyslog -y

systemctl enable rsyslog --now

dnf install 'dnf-command(versionlock)' -y

dnf update -y

rpm -qa | grep kernel-core

dnf remove kernel-core-

dnf remove selinux-policy

 


支援舊版的 openssl

 

安裝 zabbix-agent 出現

error: Failed dependencies:
        libcrypto.so.10()(64bit) is needed by zabbix-agent-3.4.15-1.el7.x86_64
        libcrypto.so.10(OPENSSL_1.0.1)(64bit) is needed by zabbix-agent-3.4.15-1.el7.x86_64
        libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) is needed by zabbix-agent-3.4.15-1.el7.x86_64
        libcrypto.so.10(libcrypto.so.10)(64bit) is needed by zabbix-agent-3.4.15-1.el7.x86_64
        libssl.so.10()(64bit) is needed by zabbix-agent-3.4.15-1.el7.x86_64
        libssl.so.10(libssl.so.10)(64bit) is needed by zabbix-agent-3.4.15-1.el7.x86_64

# provided for compatibility (openssl10-1.0.2o)

dnf install compat-openssl10

 


Migrate Centos 8 to RockyLinux 8

 

curl https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2r... -o migrate2rocky.sh

chmod u+x migrate2rocky.sh

事前注意

 * /boot 及 / 必須預留足夠空間, 否則安裝會失敗 !!

screen

# That "-r" option tells the script to just go ahead and install everything.

./migrate2rocky.sh -r    # 過程會安裝好多個 package

reboot