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 
python2 get-pip.py
python3 get-pip.py
pip2 install --upgrade pip
pip3 install --upgrade pip

Using MSSQL integration (Optional)
For those using MSSQL 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

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment