The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
When installing online, the installer connects to the Internet and downloads missing packages. If the device or VM onto which you are installing cannot access the Internet, you must manually load these packages onto the device where you are installing the product.
This chapter describes a process that puts the packages where the installer can find them.
Note You must have root permission to perform the following instructions.
Step 1 Create a /media
directory.
Step 2 Mount either the physical CentOS DVD or the.iso file.
.iso file: mount -t iso9660 -o loop <iso_filename.iso> /media
Step 3 From the /media/Packages
directory, execute the following rpm
command to install the following packages. Repeat the command for each package.
rpm -i libedit-<version>.x86_64.rpm
rpm -i openssh-clients-<version>.x86_64.rpm
rpm -i libxml2-python-<version>.x86_64.rpm
rpm -i deltarpm-<version>.x86_64.rpm
rpm -i python-<version>.x86_64.rpm
rpm -i createrepo-<version>.noarch.rpm
Example: rpm -i libedit-2.11-4.20080712cvs.1.el6.x86_64.rpm
Step 4 Create a localrepo
directory in the root directory.
Step 5 Copy all packages from /media/Packages
to /localrepo
.
cp /media/Packages/* /root/localrepo
Step 6 If configuring HA, download the following CentOS libraries to /root/localrepo
. Retrieve these from an EPEL mirror, such as can be found on https://fedoraproject.org/wiki/EPEL.
ansible-<version>.noarch.rpm
libyaml-<version>.x86_64.rpm
python-crypto-<version>.x86_64.rpm
python-httplib-<version>.noarch.rpm
python-jinja-<version>.x86_64.rpm
python-keyczar-<version>.noarch.rpm
PyYAML-<version>.x86_64.rpm
sshpass-<version>.x86_64.rpm
Step 7 Create a yum local repository.
Step 8 Go to the yum configuration directory.
Step 9 Create a configuration file to define the yum localrepo
directory.
vi /etc/yum.repos.d/local-repo.repo
baseurl=file:///root/localrepo/
Step 10 Disable all *.repo
files in the /etc/yum.repos.d
directory except for the local-repo.repo
file you created. This step forces the installer to use only /root/localrepo
.
Open each *.repo file and change all instances of enabled=1 to enabled=0. To find a list of the files you need to edit, enter the following.
Step 11 Update the repository so that yum knows which repository directory and file to use.
Step 12 Run the installer by following all instructions in the Online Installation chapter. This process creates an epel.repo
file /etc/yum.repos.d
directory and sets enabled=1. This causes the installation to fail since it does not check /root/localrepo
thereafter. When prompted whether to continue, select “no” to stop the installation.
Step 13 Disable the epel.repo
file from being used by the installer.
Change each such instance to enabled=0
Step 14 Rerun the installation by following all instructions in the Online Installation chapter.