Use this procedure to install Carbon Black EDR on the production server by using the Yum cache.
Prerequisites
Important: You must install the same OS on the production server as you installed on the caching server. RHEL and CentOS Yum require unique packages for each OS type and version. Any difference in the caching server OS build and the production OS build can result in a high probability of failure.
Procedure
- Install the appropriate OS on the production server by following OS vendor or internal procedures.
- Install the Carbon Black EDR License RPM.
- Copy the Carbon Black-provided RPM file to the production server.
carbon-black-release-<customer dependent>.x86_64.rpm
- Log into the production server console.
- Change directory to the location of the RPM.
- Install the RPM package:
#rpm -ivh carbon-black-release-<customer dependent>.x86_64.rpm
- Create a Yum cache directory structure and add the base architecture and release version directories to /var/cache/yum:
#mkdir -p /var/cache/yum/<basearch>/<releasever>/
Example:
#mkdir -p /var/cache/yum/x86_64/7/
- To populate the production server’s Yum cache, extract the Yum cache archive file (yumcache.tar.gz) to the appropriate directory:
#tar -xvzf yumcache.tar.gz -C
/var/cache/yum/<basearch>/<releasever>/
Example:
#tar -xvzf yumcache.tar.gz -C /var/cache/yum/x86_64/6/
- Update /etc/yum.conf by adding
cachedir=/var/cache/yum/$basearch/$releasever
in the [main]
section of the file.
- If you are using RHEL8/CENTOS8, use the cache command line option to disable some prerequisite modules:
yum -C -y module disable postgresql redis python38
- Install cb-enterprise using the cache switch:
#yum install -C cb-enterprise
- Follow the remaining Carbon Black EDR server installation procedures beginning at step 6 in Installing and Initializing the Server.