yum install -y wget yum install -y vim 强烈建议先运行screen,防止ssh中断 apt-get install screen (debian) yum -y install screen (centos) screen -S amh 更新curl为curl-7.49.1 更新php-5.3.29,php-5.4.45,php-5.5.36,php-5.6.22,php-7.07 Centos 5 .x 和 Centos 6.x安装脚本 wget http://www.sxsay.com/amh/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log ---------------------------------------------------------------------------------------- Centos 7.x安装脚本 请先运行ifconfig,要是功能不全,请先yum安装 yum -y install net-tools.x86_64 然后再运行安装脚本 wget http://www.sxsay.com/amh/7/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log