不同版本的通用包: 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