RedHat Linux RHEL6???????YUM?
???????????? ???????[ 2015/8/13 10:58:18 ] ??????????????
????YUM??Yellow dog Updater Modified????????????yellow dog??????а???????Terra Soft?з?????pythonд????????????yup(yellow dog updater)???????????Linux@Duke?????????и???????д?????yum???????????????????????/???rpm???????rpm????????????????????????????????????yum???????????п????repository????????壬???????????????????http??ftp????????????????????????????rpm??header?? header??????rpm???????????????????????????????????????????.???????????Щ header????????????????????????????μ?????
????????????rpm?????????????????????????????yum???rpm?????yum??????????????rpm?????????repository??????????????RHEL??yum????????????????????????????????????????yum????Щ?????????????????YUM???????????????????????????Red Hat Enterprise Linux Server release 6.6???鳡???????????汾??Linux???в??
????????????????????
?????????????????????????????vSphere Client?????????????“??????”——>“???”——>“CD/DVD??????”?????????????ISO??????????????????????????????????????????????????????????????????????????鷳?????????????????????????????
????[root@getlnx06 ~]# mkdir /mnt/cdrom
????[root@getlnx06 ~]# mount -t iso9660 /dev/cdrom /mnt/cdrom
????mount: block device /dev/sr0 is write-protected?? mounting read-only
????[root@getlnx06 ~]#
???????????????YUM?
[root@getlnx06 ~]# cd /etc/yum.repos.d/
[root@getlnx06 yum.repos.d]# ls
redhat.repo rhel-source.repo
[root@getlnx06 yum.repos.d]touch rhel-media.repo
[root@getlnx06 yum.repos.d]# vi rhel-media.repo
[media]
name=Red Hat Enterprise Linux 6.6
baseurl=file:///mnt/cdrom
enabled=1
gpgcheck=1
gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release
???????yum?????????
[root@getlnx06 yum.repos.d]# yum clean all
Loaded plugins: product-id?? security?? subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Cleaning repos: media
Cleaning up Everything
[root@getlnx06 yum.repos.d]# yum install ftp
????С????
??????yum??????????????????????yum???????????п???????????
[root@getlnx06 yum.repos.d]# yum clean all
Loaded plugins: product-id?? security?? subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Error: File contains no section headers.
file: file:///etc/yum.repos.d/rhel-media.repo?? line: 1
'name=Red Hat Enterprise Linux 6.6
'
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11