Bigfix Agent Installation Prerequisite for RedHat
Before installing the client on Red Hat Enterprise Linux 6 or later, ensure you have:
1. Disabled the SELinux process
status of the SELinux can be checked by using the command getenforce.
[root@RHEL6.8 ~]# getenforce
Enforcing
To disable the SELinux feature you need to edit the /etc/selinux/config file. Change the value of SELINUX from enforcing to disabled and save the file. After changing the value you need to reboot the server.
[root@RHEL6.8 ~]# cat /etc/selinux/config
.
.
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
~
[root@RHEL6.8 ~]# vi /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted ~
[root@RHEL6.8 ~]# reboot Broadcast message from root@RHEL6.8 (/dev/pts/0) at 11:49 ... The system is going down for reboot NOW! [root@RHEL6.8 ~]#
Once the server is rebooted these changes will come into effect which can be verified using the command getenforce and its output should be disabled.
[root@RHEL6.8 ~]# getenforce Disabled
2. Installed the Athena library (libXaw package) that is used by the user interface component of the client.
[root@RHEL6.8 ~]# rpm -ivh /home/SW/libXaw-1.0.11-2.el6.x86_64.rpm warning: /home/SW/libXaw-1.0.11-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY error: Failed dependencies: libXmu.so.6()(64bit) is needed by libXaw-1.0.11-2.el6.x86_64 libXpm.so.4()(64bit) is needed by libXaw-1.0.11-2.el6.x86_64
To resolve above dependencies, install the libXmu-1.1.1-2.el6.x86_64.rpm and libXpm-3.5.10-2.el6.x86_64.rpm RMPs also.
[root@RHEL6.8 ~]# rpm -ivh /home/SW/libXmu-1.1.1-2.el6.x86_64.rpm warning: /home/SW/libXmu-1.1.1-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Preparing... ########################################### [100%] 1:libXmu ########################################### [100%] [root@RHEL6.8 ~]# rpm -ivh /home/SW/libXpm-3.5.10-2.el6.x86_64.rpm warning: /home/SW/libXpm-3.5.10-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Preparing... ########################################### [100%] 1:libXpm ########################################### [100%] [root@RHEL6.8 ~]# rpm -ivh /home/SW/libXaw-1.0.11-2.el6.x86_64.rpm warning: /home/SW/libXaw-1.0.11-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Preparing... ########################################### [100%] 1:libXaw ########################################### [100%]
Bigfix Agent Installation
1. Download the corresponding BigFix client RPM file to the Red Hat computer.
Navigate to http://support.bigfix.com/bes/release/9.5/patch8/
Scroll down to the agent, locate the correct agent for your operating system and click on download on the right side as shown below:
2. Install the RPM by running the command
[root@RHEL6.8 ~]# rpm -ivh /home/SW/BESAgent-9.5.8.38-rhe6.x86_64.rpm Preparing... ########################################### [100%] 1:BESAgent ########################################### [100%]
Create a directory called BESClient under /etc/opt/
[root@RHEL6.8 ~]# mkdir /etc/opt/BESClient [root@RHEL6.8 ~]# ll /etc/opt/ total 4 drwxr-xr-x 2 root root 4096 Jun 28 12:05 BESClient
3. Copy your actionsite masthead to the client computer
Copy your actionsite masthead to the client computer and place it on the computer at the following location:
/etc/opt/BESClient/actionsite.afxm.
[root@RHEL6.8 ~]# ll /etc/opt/BESClient/ total 56 -rw-r--r-- 1 root root 54118 Jun 28 12:06 ActionSite.afxm
4. Start theBigFix client by running the command
[root@RHEL6.8 ~]# /etc/init.d/besclient start Starting IBM BigFix: BESClient: [FAILED] [root@RHEL6.8 ~]# service besclient start Starting IBM BigFix: BESClient: [FAILED]
Starting of besclient is being failed because of the incorrect file name of actionsite masthead. Please note that file name should be in small letters i. e. actionsite.afxm. Rename the file name from ActionSite.afxm to actionsite.afxm.
[root@RHEL6.8 BESClient]# mv /etc/opt/BESClient/ActionSite.afxm /etc/opt/BESClient/actionsite.afxm [root@RHEL6.8 ~]# ll /etc/opt/BESClient/ total 56 -rw-r--r-- 1 root root 54118 Jun 28 12:06 actionsite.afxm
Now start the besclient service using the below command and check the service status.
[root@RHEL6.8 BESClient]# /etc/init.d/besclient start Starting IBM BigFix: BESClient: [ OK ] [root@RHEL6.8 ~]# /etc/init.d/besclient status BESClient (pid 3404) is running...
Note: I have done the above installation on RHEL 6.8, 64-bit.