Installing pycrypto

If you installed OpsCenter by the Installer-No Services installer, tarball, or RPM package and intend to use encryption for configuration values, install the pycrypto library.

If you installed OpsCenter by the Installer-No Services installer, tarball, or RPM package and intend to use encryption for configuration values, install the pycrypto library. The pycrypto library dependency is automatically included in the Debian package install.

Procedure

Follow these instructions to install pycrypto.
  • RHEL 6:
yum install gmp-devel
pip install pycrypto
  • RHEL 5:
# install python26 if not already done
yum install python26

# install pip if needed - following instructions from: https://pip.pypa.io/en/latest/installing.html
wget https://bootstrap.pypa.io/get-pip.py
python26 get-pip.py

# need gmp-devel
yum install gmp-devel

# gcc compiler and libraries if needed
yum groupinstall "Development tools"

# python headers for development to compile pycrypto
yum install python26-devel

# finally install pycrypto
pip install pycrypto