安装gcc
yum install -y epel-release
yum install -y centos-release-scl scl-utils-build
yum install -y devtoolset-8-gcc.x86_64 devtoolset-8-gcc-c++.x86_64 devtoolset-8-gcc-plugin-devel.x86_64
ln -sf /opt/rh/devtoolset-8/root/usr/bin/* /usr/bin/
gcc -v
安装perl
wget https://www.cpan.org/src/5.0/perl-5.28.0.tar.gz
tar -xvzf perl-5.28.0.tar.gz
mv perl-5.28.0 /usr/local/perl
./Configure -des -Dprefix=/usr/local/perl
make && make install
perl -version
make clean
安装openssl
openssl verison
wget https://www.openssl.org/source/openssl-1.1.1i.tar.gz
tar -xvzf openssl-1.1.1i.tar.gz
cd openssl-1.1.1i
./config shared --prefix=/usr/local/openssl --openssldir=/usr/local/openssl
make && make install
make clean
which openssl
ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
echo