oracle linux 配置本地yum,oracle linux配置本地光盘yum源
mkdir -p /mnt/cdrom/
mount /dev/sr0 /mnt/cdrom
[[email?protected] yum.repos.d]# cat local.repo
[Server]
name=Server
baseurl=file:///mnt/cdrom
enabled=1
gpgcheck=0
驗證yum
[[email?protected] yum.repos.d]# yum repolist
Loaded plugins: langpacks, ulninfo
Server | 3.6 kB 00:00:00
(1/2): Server/group_gz | 141 kB 00:00:00
(2/2): Server/primary_db | 5.0 MB 00:00:00
repo id repo name status
Server Server 5,210
ol7_UEKR5/x86_64 Latest Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7Server (x86_64) 183
ol7_latest/x86_64 Oracle Linux 7Server Latest (x86_64) 15,970
repolist: 21,363
原文:https://www.cnblogs.com/omsql/p/11965600.html
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的oracle linux 配置本地yum,oracle linux配置本地光盘yum源的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux用冒泡排序程序,利用双向走动法
- 下一篇: linux 其他常用命令