安装nodejs sudo git clone https://github.com/nodejs/node.git 安装apache 安装http服务器 sudo npm i -g http-server 运行 http-server