当前位置:网站首页>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 functionmax_ranges 1;server_name 1.1.1.1;# Local addressserver_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
边栏推荐
- 解析nc格式文件,GRB格式文件的依赖包edu.ucar.netcdfAll的api 学习
- 实现领域驱动设计 - 使用ABP框架 - 创建实体
- Opencv learning notes - loading and saving images
- Examples of AES and RSA encryption operations implemented by php7.1
- Discussion on redis communication protocol
- VaR in PHP_ export、print_ r、var_ Differences in dump debugging
- Kubernetes practical skill: entering container netns
- [log service CLS] Tencent cloud log service CLS accesses CDN
- Opencv learning notes - Discrete Fourier transform
- Difference between X12 830 and 862 messages
猜你喜欢

《回归故里》阅读笔记

Parse NC format file and GRB format file dependent package edu ucar. API learning of netcdfall
![[2022 national tournament simulation] BigBen -- determinant, Du Jiao sieve](/img/ec/6c6e3d878e2a05a6e7a4ca336ae134.jpg)
[2022 national tournament simulation] BigBen -- determinant, Du Jiao sieve

Opencv learning notes - loading and saving images

Opencv learning notes -- Separation of color channels and multi-channel mixing

Babbitt | metauniverse daily must read: 618 scores have been announced. How much contribution has the digital collection made behind this satisfactory answer

Who said that "programmers are useless without computers? The big brother around me disagrees! It's true

从《梦华录》的争议性,谈谈数字版权作品的价值泡沫
[mysql_16] variables, process control and cursors
Cloud native database: the outlet of the database, you can also take off
随机推荐
MySQL 外键影响
Kubernetes practical technique: setting kernel parameters for pod
【概率论期末抱佛脚】概念+公式(不含参数估计)
Use go to process millions of requests per minute
Examples of AES and RSA encryption operations implemented by php7.1
如何高效的分析online.log
Ghost, a synonym for blog system
A flaw in R markdown: folders cannot have Chinese
The opportunity to teach cloud development a lesson has finally come!
Tencent released credit risk control results safely: it has helped banks lend more than 100 billion yuan
Concept + formula (excluding parameter estimation)
简述聚类分析
WPF from zero to 1 tutorial details, suitable for novices on the road
VaR in PHP_ export、print_ r、var_ Differences in dump debugging
Babbitt | metauniverse daily must read: 618 scores have been announced. How much contribution has the digital collection made behind this satisfactory answer
Opencv learning notes - matrix normalization normalize() function
How to check the situation that the national standard platform easygbs equipment video cannot be accessed by grabbing packets?
Parse NC format file and GRB format file dependent package edu ucar. API learning of netcdfall
Install MySQL in docker and modify my CNF profile
[highlights] summary of award-winning activities of Tencent cloud documents