To install a Linux sensor on an Amazon Linux 2 Graviton EC2 instance, perform the following procedure.
Procedure
- Extract the contents of the Amazon installer package into a temporary directory.
- Extract the contents of sysroot-glibc-2.28.tar.gz at /opt/glibc-2.28:
$ cd <temporary directory>
$ sudo mkdir -p /opt/glibc-2.28
$ sudo tar -xf sysroot-glibc-2.28.tar.gz -C /opt/glibc-2.28
- Install the RPM package:
$ sudo rpm -i --nodeps cb-psc-install/cb-psc-sensor-<BUILD-NUMBER>.al2.aarch64.rpm
- Update the cfg.ini file with the v3.x+ company registration code:
$ sudo /opt/carbonblack/psc/bin/cbagentd -d ‘<COMPANY_CODE>’
- Start the agent:
$ systemctl start cbagentd