搭建本地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;
}
}
本文来自博客园,作者:zk01,转载请注明原文链接:https://www.cnblogs.com/zhangxiaokui/p/16088408.html

浙公网安备 33010602011771号