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
本文出自 “ubuntu” 博客,请务必保留此出处http://thankinglove.blog.51cto.com/2311485/1791783
原文地址:http://thankinglove.blog.51cto.com/2311485/1791783