当前位置:网站首页>Install local sources using yum
Install local sources using yum
2022-07-03 09:38:00 【zhyg_ three hundred and twenty-one】
Use yum Install local source
After we install some downloaded *.rpm Packet time , Always install in sequence , In this case , use yum It may be more convenient to install locally .
Set up local yum Source installation .
1、 install createrepo
Put the files to be made into a directory , for example :/home/yumsource Under the table of contents
Download Online createrepo Installation package , install , After completion, create a local source library by command
$createrepo –v /home/yumsource
After the execution is completed, it will be in /home/yumsource Lower generation repodata Catalog
2、 establish repoconfig.repo
take /etc/yum.repo.d Catalog backup , Delete files in directory , Create a new file repoconfig.repo, Content
[mySourcebase]
name=localbase
baseurl=file:///home/yumsource
enable=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
3、 Use yum download
have access to yum Local software installed
边栏推荐
- [kotlin learning] classes, objects and interfaces - define class inheritance structure
- Leetcode daily question (2090. K radius subarray averages)
- Jetson Nano 自定义启动图标kernel Logo cboot logo
- 解决Editor.md上传图片获取不到图片地址问题
- WARNING: You are using pip version 21.3.1; however, version 22.0.3 is available. Prompt to upgrade pip
- Spark 结构化流写入Hudi 实践
- Flink学习笔记(十)Flink容错机制
- Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 4 --blinker_ DHT_ WiFi (lighting technology app control + temperature and humidity data app display)
- LeetCode每日一题(931. Minimum Falling Path Sum)
- Flink learning notes (VIII) multi stream conversion
猜你喜欢

Construction of simple database learning environment

Nodemcu-esp8266 development (vscode+platformio+arduino framework): Part 2 --blinker_ Hello_ WiFi (lighting technology - Mobile App control routine)

CATIA automation object architecture - detailed explanation of application objects (I) document/settingcontrollers

Win10安装ELK

PolyWorks script development learning notes (III) -treeview advanced operation

Apply for domain name binding IP to open port 80 record

Spark overview

Win10 quick screenshot

Hudi 数据管理和存储概述

Difference of EOF
随机推荐
Quickly use markdown to edit articles
Word segmentation in full-text indexing
Jestson nano downloads updated kernel and DTB from TFTP server
IDEA 中使用 Hudi
The number of weak characters in the game (1996)
Modify idea code
LeetCode每日一题(1362. Closest Divisors)
Vscode Arduino installation Library
Construction and test of TFTP server under unbuntu (Debian)
用Redis实现分布式锁
Flink learning notes (10) Flink fault tolerance mechanism
307. Range Sum Query - Mutable
LeetCode每日一题(1162. As Far from Land as Possible)
Hudi 数据管理和存储概述
[CSDN]C1训练题解析_第三部分_JS基础
CATIA automation object architecture - detailed explanation of application objects (III) systemservice
Hudi学习笔记(三) 核心概念剖析
Common formulas of probability theory
Starting from 0, use pnpm to build a demo managed by monorepo
Implementing distributed lock with redis