不同版本的通用包: yum install -y kernel kernel-headers lrzsz gcc gcc-c++ make vim automake autoconf ncurses-devel lsof net-tools epel-release vim bash-completion kernel-devel sysstat mlocate bzip2 cmake pcre-devel zlib zlib-devel openssl-devel readline-devel iptables-services iptables-utils git
centos7: yum install -y kernel kernel-headers lrzsz gcc gcc-c++ make vim automake autoconf ncurses-devel lsof net-tools epel-release vim bash-completion kernel-devel sysstat mlocate bzip2 cmake pcre-devel zlib zlib-devel openssl-devel readline-devel iptables-services iptables-utils git wget curl dos2unix libcurl libcurl-devel telnet psmisc
centos7: yum install -y kernel kernel-headers lrzsz gcc gcc-c++ make vim automake autoconf ncurses-devel lsof net-tools epel-release vim bash-completion kernel-devel sysstat mlocate bzip2 cmake pcre-devel zlib zlib-devel openssl-devel readline-devel iptables-services iptables-utils git wget curl dos2unix libcurl libcurl-devel telnet psmisc
centos6: yum install -y kernel kernel-headers lrzsz gcc gcc-c++ make vim automake autoconf ncurses-devel lsof epel-release kernel-devel sysstat mlocate bzip2 cmake pcre-devel zlib zlib-devel openssl-devel readline-devel git wget curl dos2unix libcurl libcurl-devel telnet psmisc
centos6: yum install -y bash-completion
yum方式安装LAMP环境
# yum install httpd mariadb-server mariadb php php-mysql php-fpm
本文转自ting2junshui51CTO博客,原文链接: http://blog.51cto.com/ting2junshui/1853759,如需转载请自行联系原作者