lilygg 2020-06-08
vi /etc/dnf/dnf.conf
配置如下,主要是关闭gpgcheck=0 :
[main] gpgcheck=0 installonly_limit=3 clean_requirements_on_remove=True best=True skip_if_unavailable=False
然后安装 vim 软件测试看看,OK 已经可以正常安装相关软件了
dnf install vim
wget https://repo.huaweicloud.com/centos-altarch/7/extras/aarch64/Packages/container-selinux-2.107-1.el7_6.noarch.rpm yum -y install policycoreutils-python rpm -ivh container-selinux-2.107-1.el7_6.noarch.rpm
这个可以跟centos操作一致,地址 可查看
dnf config-manager --add-repo http://mirrors.huaweicloud.com/docker-ce/linux/centos/docker-ce.repo
dnf install -y docker-ce systemctl start docker systemctl enable docker docker -v