当前位置:网站首页>Configure Yum proxy
Configure Yum proxy
2022-06-24 12:45:00 【Chen Bucheng I】
One . explain
Many intranet environments cannot be used yum
Two . To configure
1. install nginx
2. To configure
server {
listen 808;
# Ban multipart range function
max_ranges 1;
server_name 1.1.1.1;
# Local address
server_tokens off;
location /
{
access_log /var/log/mirrors.log;
proxy_pass http://mirrors.aliyun.com;
}
}
3. add to yum agent ( Intranet machines )
vim /etc/yum.conf
proxy=http://1.1.1.1:808
边栏推荐
- 文本转语音功能上线,可以体验专业播音员的服务,诚邀试用
- [2021 techo youth dry goods sorting post, there is always one you are interested in]
- Babbitt | metauniverse daily must read: 618 scores have been announced. How much contribution has the digital collection made behind this satisfactory answer
- Remote terminal RTU slope monitoring and early warning
- A flaw in R markdown: folders cannot have Chinese
- [2022 national tournament simulation] BigBen -- determinant, Du Jiao sieve
- Continuous testing | making testing more free: practicing automated execution of use cases in coding
- Use txvideoeditor to add watermark and export video card at 99%? No successful failed callback?
- Pinduoduo press the user accelerator key
- Making daily menu applet with micro build low code
猜你喜欢
Parse NC format file and GRB format file dependent package edu ucar. API learning of netcdfall
QT -- the qtabwidget supports dragging tabbar items
Opencv learning notes -- Separation of color channels and multi-channel mixing
Opencv learning notes - Discrete Fourier transform
Codereview tool chain for micro medicine
文本转语音功能上线,可以体验专业播音员的服务,诚邀试用
关于被黑数据库那些事
How can a shell script (.Sh file) not automatically close or flash back after execution?
【数据挖掘】期末复习(样卷题目+少量知识点)
【数据库】期末复习(计科版)
随机推荐
Kubernetes practical skill: entering container netns
【概率论期末抱佛脚】概念+公式(不含参数估计)
Ghost, a synonym for blog system
Engage in audio and video development? Several things I have to say about SRT live broadcast protocol
Jenkins pipeline syntax
The opportunity to teach cloud development a lesson has finally come!
Five minutes to develop your own code generator
What should music website SEO do?
解析nc格式文件,GRB格式文件的依赖包edu.ucar.netcdfAll的api 学习
Easynvr user login is modified to share the modification process of ip+ user name restriction
巴比特 | 元宇宙每日必读:618成绩已然揭晓,在这份还算满意的答卷背后,数字藏品做出了多少贡献?...
IOMMU (VII) -vfio and mdev
Opencv learning notes - Discrete Fourier transform
短信服務sms
Istio practical skills: implement header based authorization
How can a shell script (.Sh file) not automatically close or flash back after execution?
使用开源工具 k8tz 优雅设置 Kubernetes Pod 时区
Automatic reconstruction of pod after modifying resource object
申请MIMIC数据库失败怎么办?从失败到成功的经验分享给你~
Fbnet/fbnetv2/fbnetv3: Facebook's lightweight network exploration in NAS | lightweight network