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