配置一个外网yum源及常用命令

root用户执行 适用于有外网权限的机器

配置一个外网的yum源, 安装了telnet vim net-tools 命令

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

curl -o /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.reposudo

yum clean all

yum makecache

yum install -y telnet vim net-tools

相关推荐
无足鸟ICT2 小时前
【RHCA+】RPM包命名规则
linux·运维·服务器
User_芊芊君子2 小时前
KFS异构同步_260条链路DDL自动转换解析
数据库·ai·大模型
xiancai_xianyu2 小时前
Text2SQL落地生产库前,SQL要过哪三道闸
前端·数据库·sql·sql注入·text2sql·ai agent开发·企业级ai框架
小羊没烦恼!3 小时前
T-SQL查询进阶--理解SQL SERVER中的分区表
服务器·开发语言·前端·javascript·html
Zucker n3 小时前
一款适合研究生科研工作安排的日历
linux·数据库·python
xixingzhe23 小时前
Nginx 看懂请求耗时瓶颈
服务器·前端·nginx
Sharewinfo_BJ3 小时前
Power BI沿袭视图详解:从看懂链路到做影响分析
数据库·数据分析·智信bi·上北智信
l1t4 小时前
DeepSeek总结的 DuckDB 2.0 中更简洁的变量语法
数据库·sql
荒--4 小时前
Ubuntu软件包查询,弹框下载文件
运维·服务器·ubuntu