Anchor | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
...
- Red Hat Enterprise Linux 6.x and 7.x
- CentOS 7.x - Everything distribution DVD only.
The Standard distribution DVD of CentOS 7.x does not contain theglibc.i686
package so the Everything distribution DVD is mandatory if no internet connection is available.
There are several different solutions for installing glibc.i686 without Internet connection. This document explains some of them. For more information, please contact your system administrator or refer to the administrator's guide for the Linux distribution installed on your CHARON host system.
...
|
Alternatively, the following rpm command can be used:
# rpm -qa | grep glibc | grep i686 |
If the command reports nothing, the package is not installed.
...
|
By default /dev/cdrom
is linked to /dev/sr0
.
...
Switch to the directory containing the packages. This directory depends on your Linux distribution.
Example:
# cd /media/cdrom/Packages/
.
Locate the target "
glibc.i686
" package and the package on which it depends:# ls -l glibc*i686* nss-softokn-freebl*
.
Install the "
glibc.i686
" package and any others on which it depends (package versions may differ):
Example / Red Hat Enterprise Linux 7.2:# rpm -i glibc-
2.17-105.el7
.i686.rpm nss-softokn-freebl-3.16.2.3-13.el7_1.i686.rpm.
Example / CentOS7:
# rpm -i glibc-2.17-157.el7.i686.rpm nss-softokn-freebl-3.16.2.3-14.4.el7.i686.rpm
.
- IfInfo If the command returns a warning message related to RSA/SHA256 signature, please ignore it. The successful installation of the package can be checked using the "
- Ifyum list installed glibc.i686
" command.If the installation command above reports additional unsatisfied dependencies, add the corresponding packages to the above command line.
.
Umount the CD-ROM or ISO file if necessary:
# cd -
# umount /media/cdrom
...
# yum-config-manager --disable media_cdrom |
...
Using this method, installing other packages could require the gpg check to be disabled. To do so:
either add the
--nogpgcheck
parameter to theyum install
commands.
Example:# yum --nogpgcheck install <package>
.
- or disable the GPG check for the repository in the
/etc/yum.repos.d/media_cdrom.repo
file, by adding thegpgcheck=0
line
...
- or disable the GPG check in the
/etc/yum.conf
file, replacing thegpgcheck=1
line bygpgcheck=0
.
Example / CentOS 7:
... ... ...
|
The c7-media
repository is a default repository on CentOS 7.x pointing to the /media/cdrom
folder. Please refer to the administrator's documentation for more information.
...