摘要: 1. 在http节点下,加入upstream节点。 upstream linuxidc { server 10.0.6.108:7080; server 10.0.0.85:8980; } 2. 将server节点下的location节点中的proxy_pass配置为:http:// + upstr 阅读全文
posted @ 2019-10-11 14:28 信方 阅读(11291) 评论(0) 推荐(0) 编辑
摘要: #pip源# 清华大学https://pypi.tuna.tsinghua.edu.cn/simple/https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/临时使用pip install -i https://pypi.tuna.tsinghua 阅读全文
posted @ 2019-10-11 12:20 信方 阅读(334) 评论(0) 推荐(0) 编辑
摘要: #1.安装插件yum install -y yum-plugin-downloadonly createrepo rsync #2.创建仓库目录mkdir -p /mirrors/centos#3.下载文件或上传文件yum install nginx -y --downloadonly --down 阅读全文
posted @ 2019-10-11 11:05 信方 阅读(2850) 评论(0) 推荐(0) 编辑