Use external device (optical drive) to install and update library

  
on Linux 1. Mount the CD-ROM drive (directory does not exist, create) mount -t auto /dev/cdrom /mnt/cdrom2. Modify the index file, specify to read the local file vi /etc /yum.repos.d/CentOS-Media.repo adds file:///mnt/cdrom/3 to node baseurl. Install with yum (install openssl 32-bit version) yum --disablerepo=* --enablerepo=c6-media Install openssl-devel-1.0.0-20.el6_2.5.i686.rpm can also enter the directory /mnt/cdrom/Packages to force the installation of rpm -ivh glibc-devel-2.12-1.80.el6.i686.rpm --force - -nodeps4. Uninstall the optical drive

umount /mnt/cdrom

Copyright © Windows knowledge All Rights Reserved