Get the App
SLTechnology News&Howtos  ›  Servers  › 

Optimize linux download source

Shulou Source: shulou.com Published: 2022-06-03 05:26:01 10月04日 Update

Step one:

(1) under the condition of ensuring that the host can connect to the network normally, configure the host DNS and perform related resolution, ping www.baidu.com

PING www.a.shifen.com (39.156.66.14) 56 (84) bytes of data.

64 bytes from 39.156.66.14 (39.156.66.14): icmp_seq=1 ttl=128 time=6.03 ms

64 bytes from 39.156.66.14 (39.156.66.14): icmp_seq=2 ttl=128 time=6.16 ms

64 bytes from 39.156.66.14 (39.156.66.14): icmp_seq=3 ttl=128 time=6.13 ms

Step 2:

In China, I choose Aliyun software website.

Mirrors.aliyun.com

(1) the update command is as follows:

Centos7:

Curl-o / etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

Note: because there is no wget command in Cetos7 by default, select curl

(2) Software developed by developers:

Normative verification: base warehouse requirements

Epel warehouse requires Extra Packages for Enterprise Linux (EPEL)

With the new epel warehouse: curl-o / etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

Install related software: yum install-y vim tree nc nmap dos2unix wget lrzsz bash-completion net-tools

Note:

This blog is only for the company without yum customized source, pure rookie point of view, please smile and pass, very grateful

Tags: Warehouse software host command situation development selection personnel company premise blog just god website network normative angle rookie Ali guarantee Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Linux MySQL Huawei Docker