一、配置yun源 cd /home wget https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm 二、安装node curl -sL https://rpm.nodesource.com/setup_10.x | bash - yum install -y nodejs 用这个查看node版本 node -v npm版本 npm -v