首页 > 系统相关 >CentOS 7.9 arm64架构配置在线yum源 —— 筑梦之路

CentOS 7.9 arm64架构配置在线yum源 —— 筑梦之路

时间:2024-07-14 13:30:40浏览次数:18  
标签:云源 CentOS cat repo yum arm64

阿里云源

cat < CentOS-aliyun.repo <<'EOF'
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
baseurl=http://mirrors.aliyun.com/centos-altarch/$releasever/os/$basearch/
gpgcheck=0
gpgkey=http://mirrors.aliyun.com/centos-altarch/7/os/$basearch/RPM-GPG-KEY-CentOS-7

#released updates 
[updates]
name=CentOS-$releasever - Updates
baseurl=http://mirrors.aliyun.com/centos-altarch/$releasever/updates/$basearch/
gpgcheck=0
gpgkey=http://mirrors.aliyun.com/centos-altarch/7/os/$basearch/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://mirrors.aliyun.com/centos-altarch/$releasever/extras/$basearch/
gpgcheck=0
gpgkey=http://mirrors.aliyun.com/centos-altarch/7/os/$basearch/RPM-GPG-KEY-CentOS-7
enabled=1

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirrors.aliyun.com/centos-altarch/$releasever/centosplus/$basearch/
gpgcheck=0
enabled=0
gpgkey=http://mirrors.aliyun.com/centos-altarch/7/os/$basearch/RPM-GPG-KEY-CentOS-7
EOF

标签:云源,CentOS,cat,repo,yum,arm64
From: https://blog.csdn.net/qq_34777982/article/details/140362539

相关文章

  • CentOS 7.9虚拟机无法主机之间copy文件
    问题:将文件从主机复制到虚拟机时报错:Errorwhengettinginformationforfile“//tmp/VMwareDnD/***/.”:Nosuchfileordirectory解决方法:重新安装VMwaretools查看并卸载预装的“open-vm-tools”包yumlistinstalled|grepopen-vm-*yumremoveopen-vm-toolsre......
  • Burp Suite Professional 2024.6 for macOS x64 & ARM64 - 领先的 Web 渗透测试软件
    BurpSuiteProfessional2024.6formacOSx64&ARM64-领先的Web渗透测试软件世界排名第一的Web渗透测试工具包请访问原文链接:https://sysin.org/blog/burp-suite-pro-mac/,查看最新版。原创作品,转载请保留出处。BurpSuiteProfessionalTheworld’s#1webpenetrat......
  • 建设yum源仓库
     1、服务器端:挂载镜像mkdir/root/isomount/dev/cdrom/root/iso创建一个本地目录存储RPM包:sudomkdir-p/var/www/html/repo复制镜像到创建的目录cp/root/iso/Packages/*/var/www/html/repo/安装yum及相关软件包sudoyuminstallcreaterepoyum-utils创建YUM仓......
  • centos7 镜像仓库都失效了,怎么办?
    1、centos7镜像仓库都失效了,怎么办?背景:我刚才使用yum命令安装软件是,失败了。错误信息如下: 很明显,就是http://mirrorlist.centos.org无法访问到,出现了404。原因:CentOSLinux7的生命周期(EOL)于2024年6月30日终止。了解红帽帮助您轻松迁移的选项,包括支持第三方Linux......
  • 腾讯云服务器Centos7数据盘挂载
    背景:新购进一台服务器,初始化磁盘50G,还剩余一个200G的数据盘未使用,现想将其挂在使用一、前置条件1.已购买腾讯云服务器,并登录到服务器。2.已创建一块数据盘。3.已将数据盘格式化为文件系统并进行分区。二、数据盘挂载流程1.登录腾讯云官网,进入控制台,找到“云服务器CVM”模......
  • CentOS9设置静态IP
    CentOS9默认使用NetworkManager来管理网络配置,因此与CentOS7及以前版本的网络配置方式有所不同。以下是设置静态IP的详细步骤:一、确定网络接口名称首先,你需要确定你的网络接口名称。nmclid命令来查看所有网络接口的列表。在输出中,找到网络接口名称,这里为ens160[root@......
  • CentOS 乱码问题解决
    首先要区别3个概:编码集、字符集、字体是完全不同的东西,我们要解决的是字符集问题。当一个系统初始化完毕后,会生成一个/usr/lib/locale/locale-archive文件,这个是字符集二进制文件,是系统不同语言运行的核心,通过命令locale-a可以看到当前文件中支持的语言locale命令可以......
  • 无法解析主机:mirrorlist.centos.org Centos 7
    从2024年7月1日起,在CentOS7上,请切换到Vault存档存储库:vi/etc/yum.repos.d/CentOS-Base.repo复制/粘贴以下内容并注意您的操作系统版本。如果需要,请更改。此配置中的版本为7.9.2009:[base]name=CentOS-$releasever-Basebaseurl=http://vault.centos.org/7.9.......
  • 运维系列:centos7 防火墙开放端口
    centos7防火墙开放端口centos7防火墙开放端口步骤1:检查firewalld状态步骤2:开放端口步骤3:重新加载防火墙规则步骤4:确认端口是否已开放centos7防火墙开放端口在CentOS7上,开放端口通常通过firewalld服务来实现。下面是开放端口的一般步骤:步骤1:检查......
  • sshd管理限制登录配置(centos7.9)
    背景情况:为了公网的主机,被无限的密码爆破,需要对主机的ssh进行安装加固1、首先要禁用root的远程登录和修改ssh的端口vi /etc/ssh/sshd_config#修改端口,不适用22端口作为ssh的登录端口Port10000#修改ssh的root远程登录禁用PermitRootLoginno2、新加一个管理用户,配置免密sudo......