rockylinux换源 安装xfce

sed -e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \
-i.bak \
/etc/yum.repos.d/rocky-*.repo

dnf makecache

 

sed -e 's|^mirrorlist=|#mirrorlist=|g' \
-e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=http://192.168.2.40:8081/repository/rocky-proxy/rockylinux|g' \
-i.bak \
/etc/yum.repos.d/rocky.repo

 

 

rocky linux 安装xfce

sudo dnf --enablerepo=epel group -y install "Xfce" "base-x" && sudo systemctl restart gdm

 

posted @ 2024-10-15 10:56  wolbo  阅读(35)  评论(0编辑  收藏  举报