搭建本地yum源

yum install yum-utils -y
只下载不安装:
yumdownloader --resolve --destdir=/tmp/zk/ openssl-libs-1.0.2k

同步yum源到本地:
reposync -r epel -p /opt/local_epel

server {
    listen       81;
    server_name  localhost;

    location / {
        autoindex on;
        autoindex_exact_size off;
        autoindex_localtime on;
        root   /data/soft;
        index  index.html index.htm;
    }
}

  

 
 
posted @ 2022-07-15 20:47  zk01  阅读(40)  评论(0编辑  收藏  举报