产品适配后感触:
1、我这里使用的是VERSION="4.0 (G197)"版本来适配,SYSTEM_VERSION="4.0.220127"
2、感觉属于redaht系列的命令,其中更类似于centos8种类的,因为在最小化安装的时候只有dnf命令而替代了centos7里面的yum命令。因此,我这里配的源文件就是以centos8的仓库来配置的,可以完美适配中科方德适配产品的时候的依赖性的问题。
以下是仓库配置:
```html/xml
CentOS-Base.repo
#
The mirror system uses the connecting IP address of the client and the
update status of each mirror to pick mirrors that are updated to and
geographically close to the client. You should use this for CentOS updates
unless you are manually picking other mirrors.
#
If the mirrorlist= does not work for you, as a fall back you can try the
remarked out baseurl= line instead.
#
#
[base]
name=CentOS-8 - Base - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8/BaseOS/$basearch/os/
http://mirrors.aliyuncs.com/centos/8/BaseOS/$basearch/os/
http://mirrors.cloud.aliyuncs.com/centos/8/BaseOS/$basearch/os/
https://mirrors.aliyun.com/centos/8/centosplus/x86_64/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
#additional packages that may be useful
[extras]
name=CentOS-8 - Extras - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8/extras/$basearch/os/
http://mirrors.aliyuncs.com/centos/8/extras/$basearch/os/
http://mirrors.cloud.aliyuncs.com/centos/8/extras/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-8 - Plus - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8/centosplus/$basearch/os/
http://mirrors.aliyuncs.com/centos/8/centosplus/$basearch/os/
http://mirrors.cloud.aliyuncs.com/centos/8/centosplus/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
[PowerTools]
name=CentOS-8 - PowerTools - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8/PowerTools/$basearch/os/
http://mirrors.aliyuncs.com/centos/8/PowerTools/$basearch/os/
http://mirrors.cloud.aliyuncs.com/centos/8/PowerTools/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
[AppStream]
name=CentOS-8 - AppStream - mirrors.aliyun.com
#failovermethod=priority
baseurl=https://mirrors.aliyun.com/centos/8/AppStream/$basearch/os/
http://mirrors.aliyuncs.com/centos/8/AppStream/$basearch/os/
http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
3、提供一个不错的k8s方面的国内适配源
```html/xml
name=Kubernetes
baseurl=https://mirrors.cloud.tencent.com/kubernetes/yum/repos/kubernetes-el7-aarch64/
enabled=1
gpgcheck=0
#repo_gpgcheck=1
##gpgkey=https://mirrors.cloud.tencent.com/kubernetes/yum/doc/yum-key.gpg https://mirrors.cloud.tencent.com/kubernetes/yum/doc/rpm-package-key.gpg
4、最小化安装的中科方得在sftp上会出现问题,具体表现为sftp使用异常、在使用winscp这类东西传输文件的时候,会显示sftp协议使用失败,因为此时使用的是scp协议,因而需要去/etc/ssh/sshd_config文件里面搜索“/sftp”。会发现那个目录下面并无关联的软连接,解决方案是删除一个/openssh/,重启sshd,即可恢复sftp服务。
(可以正常使用sftp服务的配置文件如图)