Installing proxychains on Centos

yum  install tor
nano  install-proxychains.sh

and copy/paste following text

#!/bin/sh
# Usage:
#   wget -O- https://gist.githubusercontent.com/ifduyue/dea03b4e139c5758ca114770027cf65c/raw/install-proxychains-ng.sh | sudo bash -s

set -eu

version=4.12
wget https://github.com/rofl0r/proxychains-ng/archive/v$version.tar.gz
tar xf v$version.tar.gz

(cd proxychains-ng-$version
 ./configure
 make
 make install
 [[ -f /etc/proxychains.conf ]] || cp src/proxychains.conf /etc/proxychains.conf
)

rm -rf v$version.tar.gz proxychains-ng-$version

Ref: https://gist.githubusercontent.com/ifduyue/dea03b4e139c5758ca114770027cf65c/raw/1ecf5c8a0842526618b84eccd607d939c54b7720/install-proxychains-ng.sh

Apply 775 permissions on that .sh file and run.

This should work on root user account, but if you want it for a user as well then

cp /etc/proxychains.conf /usr/local/etc/proxychains.conf 

And give a user permission to access proxychains.conf file

chown username  /usr/local/etc/proxychains.conf

To test proxychains installation

wget -qO- http://ipecho.net/plain ; echo 

Prints your server ip

proxychains4 wget -qO- http://ipecho.net/plain ; echo

This will print proxy ip