Centos在安装Lamp或Lnmp环境时,经常会出现一些问题,提示缺少一些依赖文件,现解决方法如下:
#!/bin/bash #install_packages yum install -y epel-release wget vim-enhanced yum install -y gcc gcc-c++ ncurses-devel perl perl-Module-Install.noarch \ libxml2-devel openssl openssl-devel bzip2 bzip2-devel libpng libpng-devel libjpeg\ libjpeg-devel curl-devel freetype freetype-devel libmcrypt-devel perl-devel\ libtool-ltdl-devel pcre pcre-devel openldap openldap-devel
转载于:https://blog.51cto.com/thankinglove/1791783