1.nginx:
location / {root /usr/local/Kylin-Server-V10-SP3-General-Release-2303-X86_64;autoindex on;autoindex_localtime on;autoindex_exact_size off;
}
注:指定到镜像的包名
2.修改yum源地址
cd /etc/yum.repos.d/vim kylin_x86_64.repo
注: --enabled设置为1
3.重建yum缓存
yum clean allyum makecacheyum repolist