当前位置:网站首页>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
边栏推荐
- Dingding, Feishu, and enterprise wechat: different business approaches
- Codereview tool chain for micro medicine
- OpenGL es shared context for multi-threaded rendering
- JS和TS中常用特殊字符
- 钉钉、飞书、企业微信:迥异的商业门道
- Five minutes to develop your own code generator
- [redisson] analysis of semaphore lock source code
- Easynvr user login is modified to share the modification process of ip+ user name restriction
- How do websites and we media tap user needs? Deeply expose the secrets behind the keywords!
- Use the object selection tool to quickly create a selection in Adobe Photoshop
猜你喜欢

Opencv learning notes - loading and saving images

QT -- the qtabwidget supports dragging tabbar items

Parse NC format file and GRB format file dependent package edu ucar. API learning of netcdfall

使用开源工具 k8tz 优雅设置 Kubernetes Pod 时区

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

WPF从零到1教程详解,适合新手上路

WPF from zero to 1 tutorial details, suitable for novices on the road

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

MySQL 外键影响
Cloud native database: the outlet of the database, you can also take off
随机推荐
[live broadcast of celebrities] elastic observability workshop
Pipeline shared library
Hardware enterprise website ranking, 8 commonly used processes
Process of solving easydss virtual live video jam and instability problems by replacing push-pull stream Library
About Adobe Photoshop adjusting selection
[2022 national tournament simulation] BigBen -- determinant, Du Jiao sieve
How does Argo family bucket make Devops easier?
Examples of AES and RSA encryption operations implemented by php7.1
[mysql_16] variables, process control and cursors
Concentrate on research preparation, Tencent cloud, see you next year!
Automatic reconstruction of pod after modifying resource object
The text to voice function is available online. You can experience the services of professional broadcasters. We sincerely invite you to try it out
巴比特 | 元宇宙每日必读:618成绩已然揭晓,在这份还算满意的答卷背后,数字藏品做出了多少贡献?...
实现领域驱动设计 - 使用ABP框架 - 创建实体
[tke] GPU node NVIDIA Tesla driver reinstallation
【2022国赛模拟】摆(bigben)——行列式、杜教筛
Use the open source tool k8tz to gracefully set the kubernetes pod time zone
Istio Troubleshooting: uneven grpc service load
what the fuck! I'm flattered. He actually wrote down the answers to the redis interview questions that big companies often ask!
[programming navigation] the practical code summarized by foreign great God, learned in 30 seconds!