Note: This article applies to CentOS 7.9

Agent Installation Prerequisites

Please input the following into your server. It is recommended to run the commands one by one to make sure each action is run successfully.

LINUX PACKAGES

yum update -y
yum groupinstall -y 'development tools'
yum install bzip2-devel -y
yum install sqlite -y
yum install libffi-devel -y
yum install gcc -y
yum install gcc-c++ -y
yum install python-devel -y
yum install python3-devel -y
yum install zlib-devel -y
yum install openssl-devel -y
yum install epel-release -y
yum update -y
yum install supervisor -y
yum install at -y
yum install sharutils -y

START SERVICES

systemctl start atd
systemctl enable atd

PYTHON 2.7.14 INSTALLATION

cd /usr/src/
yum install wget -y
wget https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgz
tar -xzf Python-2.7.14.tgz
cd Python-2.7.14
./configure --prefix=/usr/local --enable-unicode=ucs4
make
make altinstall

PYTHON 3.7.4 INSTALLATION

cd /usr/src
wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz
tar xzf Python-3.7.4.tgz
cd Python-3.7.4
./configure --prefix=/usr/local --enable-unicode=ucs4
make
make altinstall

Create symlinks to the specific Python files

ln -s /usr/local/bin/python2.7 /usr/local/bin/python2
ln -s /usr/local/bin/python3.7 /usr/local/bin/python3

Configure pip

wget -O get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.py
/usr/local/bin/python2 get-pip.py
/usr/local/bin/python3 get-pip.py
/usr/local/bin/pip2 install --upgrade pip
/usr/local/bin/pip3 install --upgrade pip

Using Microsoft SQL integration (Optional)

For those using Microsoft SQL Integration, perform the following steps:

MsOdbc Sql Driver utils

yum -y remove unixODBC unixODBC-devel
rpm -Uvh --replacepkgs https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
yum install -y msodbcsql-13.0.1.0-1 mssql-tools-14.0.2.0-1 unixODBC-utf16-devel
ln -sfn /opt/mssql-tools/bin/bcp-13.0.1.0 /usr/bin/bcp
ln -sfn /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd

To install a Remote Agent:

  1. Make sure you have installed all the prerequisites as detailed above.
  2. In the platform, navigate to Settings > Advanced > Remote Agents.
  3. Click the plus icon on the top right of the screen to open the Installation process.
  4. Click on the Manual installation link.
  5. In the first step, add the name of the Agent and choose the environment it will be associated with. Click Next.
  6. In the second step, you can either choose to download the Agent package onto your machine, or you can add in an email address. Alternatively you can click on Add environment contact which will automatically add in the email of the Contact Person for that environment. Click Next. The package is either downloaded onto your computer or a link is sent by email depending on what you have chosen. (Make sure you have configured the Email Integration to the correct environment)
  1. Clicking on the link downloads the following 3 zipped files to the required machine:
    • env: Siemplify environment variables
    • SiemplifyAgent_Centos.sh: Installer script file
  2. Copy over the Installer command that is on the screen and save it for later.
  3. Using WinSCP or a similar tool, copy these files over to the machine you want to install the agent on.
  4. Log in to the machine that you want to install the agent on using SSH.
  5. Enter your username and password.
  6. Set the execution permissions on the file with the following command:
    sudo chmod +x SiemplifyAgent_Centos.sh
  7. Install the agent using the saved command from the Agent Installation screen (from Step 8 above)
  8. When the script finishes, it will be clearly marked as finished.
  9. Return to the Wizard in the Siemplify platform and click “Next”. You will receive a confirmation message that your Agent is connected.