1. cat /proc/version 查看发行版,Redhat,centos 等系统才是用 yum;ubuntu,Debian 等系统是用 apt