This document provides the required packages for installing an agent on CentOS 7.9.
Before you install the agent, you must install and configure required packages listed in this document.
Google recommends running the commands one by one to make sure each action is run successfully.
Install and configure required packages
To install and configure required packages, follow these steps:
Run the following commands to install Linux packages:
Before you install a remote agent, make sure you have completed all the required configurations.
To install a remote agent, follow these steps:
In the platform, go to Settings>Advanced>Remote Agents.
On the Remote Agents page, click addAdd> click Manual installation.
Enter an agent name and select an environment.
Click Next.
Select an option to download the agent.
Download the agent to your machine.
Enter an email address to send download to the configured email address. Make sure you have configured the email integration to the correct environment.
Optional: Click Add environment contact to add a contact person for the environment.
The following files are downloaded:
.env: Siemplify environment variables
SiemplifyAgent_Centos.sh: Installer script file
Click Next.
Store the installer command in a secure location.
Use WinSCP (or a similar tool) to copy the files to the machine where you want to install the agent.
Sign in to the machine using SSH with your username and password.
Run the following command to set the permissions:
sudo chmod +x SiemplifyAgent_Centos.sh
Run the installer command you saved earlier to install the agent.
Return to the installation process on your platform and then click Next. A confirmation message for agent connection appears.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-10 UTC."],[[["\u003cp\u003eThis document details the prerequisites and step-by-step instructions for creating an agent with an installer on CentOS 7.9 for Google SecOps SOAR.\u003c/p\u003e\n"],["\u003cp\u003eThe installation process involves installing various Linux packages, starting necessary services, and installing specific versions of Python (2.7.18, 3.7.4, and 3.11.8) and OpenSSL 3.0.7.\u003c/p\u003e\n"],["\u003cp\u003eSymlinks need to be created for the installed Python versions, and pip must be configured for Python 2, Python 3, and Python 3.11.\u003c/p\u003e\n"],["\u003cp\u003eFor users integrating with Microsoft SQL, there are specific steps to install the required MsOdbc SQL driver utilities.\u003c/p\u003e\n"],["\u003cp\u003eInstalling a Remote Agent involves obtaining an agent package from the platform, copying it to the target machine, setting execution permissions on the installer script, running the script, and confirming the connection in the platform's wizard.\u003c/p\u003e\n"]]],[],null,["Create an agent using an installer for CentOS \nSupported in: \nGoogle secops [SOAR](/chronicle/docs/secops/google-secops-soar-toc) \nThis document provides the required packages for installing an agent on CentOS 7.9.\nBefore you install the agent, you must install and configure required packages listed in this document.\n\nGoogle recommends running the commands one by one to make sure each action is run successfully.\n| **Note:** To install these packages, you must have superuser privileges. To make sure some dependencies remain accessible to non-root users, don't change the root user's `umask` from the default value of `0022`.\n\nInstall and configure required packages\n\nTo install and configure required packages, follow these steps:\n\n1. Run the following commands to install Linux packages: \n\n yum update -y\n yum groupinstall -y 'development tools'\n yum install bzip2-devel -y\n yum install sqlite -y\n yum install libffi-devel -y\n yum install gcc -y\n yum install gcc-c++ -y\n yum install python-devel -y\n yum install python3-devel -y\n yum install zlib-devel -y\n yum install openssl-devel -y\n yum install epel-release -y\n yum install perl-core -y\n yum update -y\n yum install supervisor -y\n yum install at -y\n yum install sharutils -y\n\n2. Run the following commands to start the `atd` service: \n\n systemctl start atd\n systemctl enable atd\n\n3. Run the following commands to install Python 2.7.18: \n\n cd /usr/src/\n yum install wget -y\n wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz\n tar -xzf Python-2.7.18.tgz\n cd Python-2.7.18\n ./configure --prefix=/usr/local --enable-unicode=ucs4\n make\n make altinstall\n\n4. Install OpenSSL 3.0.7.\n\n Run the following commands to install OpenSSL 3.0.7:\n**Important:** Keep the shell session open until you've completed the final step. \n\n cd /usr/local/src\n wget https://www.openssl.org/source/openssl-3.0.7.tar.gz\n tar -xf openssl-3.0.7.tar.gz\n cd openssl-3.0.7\n ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib\n make -j$((`nproc`+1))\n make install\n cd /etc/ld.so.conf.d/\n echo /usr/local/ssl/lib64 \u003e openssl-3.0.7.conf\n ldconfig -v\n echo PATH=\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ssl/bin\" \u003e /etc/environment\n source /etc/environment\n ln -sf /usr/local/ssl/bin/openssl /usr/bin/openssl\n export LDFLAGS=\"$LDFLAGS -L/usr/local/ssl/lib64\"\n export LD_LIBRARY_PATH=/usr/local/ssl/lib64\n\n5. Run the following commands to install Python 3.7.4:\n\n cd /usr/src\n wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz\n tar xzf Python-3.7.4.tgz\n cd Python-3.7.4\n make clean\n ./configure --prefix=/usr/local --enable-unicode=ucs4 --with-openssl=/usr/local/ssl\n make\n make altinstall\n\n6. Run the following commands to install Python 3.11.8:\n\n```bash\ncd /usr/src\nwget http://www.python.org/ftp/python/3.11.8/Python-3.11.8.tgz\ntar xzf Python-3.11.8.tgz\ncd Python-3.11.8\nmake clean\n./configure --prefix=/usr/local --enable-unicode=ucs4 --with-openssl=/usr/local/ssl\nmake\nmake altinstall\n```\n7. Run the following commands to create symlinks to specific Python files: \n\n ln -s /usr/local/bin/python2.7 /usr/local/bin/python2\n ln -s /usr/local/bin/python3.7 /usr/local/bin/python3\n\n8. Run the following commands to configure `pip`: \n\n wget -O get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py\n /usr/local/bin/python2 get-pip.py\n /usr/local/bin/python3 get-pip.py\n /usr/local/bin/pip2 install --upgrade pip\n /usr/local/bin/pip3 install --upgrade pip\n wget -O get-pip-3.11.py https://bootstrap.pypa.io/get-pip.py\n /usr/local/bin/python3.11 get-pip-3.11.py\n /usr/local/bin/python3.11 -m pip install --upgrade pip\n\n9. Optional: If you're using Microsoft SQL Integration, run the following commands to install **MsOdbc SQL driver utils**: \n\n yum -y remove unixODBC unixODBC-devel\n rpm -Uvh --replacepkgs https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm\n yum install -y msodbcsql-13.0.1.0-1 mssql-tools-14.0.2.0-1 unixODBC-utf16-devel\n ln -sfn /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp\n ln -sfn /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd\n\nInstall a remote agent\n\nBefore you install a remote agent, make sure you have completed all the [required configurations](#reqpackagescentos).\n\nTo install a remote agent, follow these steps:\n\n1. In the platform, go to **Settings** \\\u003e **Advanced** \\\u003e **Remote Agents**.\n2. On the **Remote Agents** page, click add**Add** \\\u003e click **Manual installation**.\n3. Enter an agent name and select an environment.\n4. Click **Next**.\n5. Select an option to download the agent.\n\n - Download the agent to your machine.\n - Enter an email address to send download to the configured email address. Make sure you have configured the email integration to the correct environment.\n6. Optional: Click **Add environment contact** to add a contact person for the environment.\n\n The following files are downloaded:\n - `.env`: Siemplify environment variables\n - `SiemplifyAgent_Centos.sh`: Installer script file\n7. Click **Next**.\n8. Store the installer command in a secure location.\n9. Use **WinSCP** (or a similar tool) to copy the files to the machine where you want to install the agent.\n10. Sign in to the machine using SSH with your username and password.\n11. Run the following command to set the permissions:\n`sudo chmod +x SiemplifyAgent_Centos.sh`\n12. Run the installer command you saved earlier to install the agent.\n13. Return to the installation process on your platform and then click **Next**. A confirmation message for agent connection appears.\n\n**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/google-security-operations-2)"]]