由于安全性需要,web服务环境需要离线进行配置。
所需要安装的服务有node.js,php,java web
Install Node.js with Standard Binary Packages
Go to the official Node.js download page and download either the 32-bit or 64-bit Linux binary file, depending on your system type.
You can determine the CPU architecture of your server with these commands:
You can download this file from the browser or from the console. The latter is shown below (Note: the specific Node.js version might be different for you):
From a console window, go to the directory to which the Node.js binary was downloaded, and then execute the following command to install the Node.js binary package in “/usr/local/”:
You should now have both node and npm installed in “/usr/local/bin”. You can check this typing: