一、安装依赖软件
安装 make
yum -y install automake autoconf libtool make
安装 gcc
# 有的地方说还要安装 g++,我没有装好像也没问题
yum install -y gcc.x86_64
安装 libxml
yum install libxml2-devel.x86_64
安装 openssl
yum install openssl-devel.x86_64
安装 bzip2
yum install bzip2-devel.x86_64
安装 curl
yum install libcurl-devel.x86_64
安装 gdbm
yum install gdbm-devel.x86_64
安装 freetype
yum install freetype-devel.x86_64
安装 libdb
yum install libdb-devel.x86_64
安装 webp, xpm,jpeg 库
yum install -y libwebp-devel.x86_64 libXpm-devel.x86_64 libjpeg-turbo-devel.x86_64
安装 ldap
yum install -y openldap-devel.x86_64
安装 Sqlite3
yum -y install