file:///media/cdrom/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /media/cdrom/repod

[root@linuxprobe ~]# yum install httpd
Loaded plugins: langpacks, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
file:///media/cdrom/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /media/cdrom/repodata/repomd.xml"
Trying other mirror.


解决[root@linuxprobe ~]# mount /dev/cdrom /media/cdrom
mount: special device /dev/cdrom does not exist

[root@linuxprobe ~]# mount /dev/cdrom /media/cdrom

mount: /dev/sr0 is write-protected, mounting read-only





你可能感兴趣的:(linux运维学习)