本帖最后由 zangcf 于 2016-8-10 06:18 编辑
参考https://github.com/webrtc/apprtc
nstall grunt by first installing npm. npm is distributed as part of nodejs. sudo apt-get install nodejs
sudo npm install -g npm-->这一步时间非常长,可能和nodejs的网络有关系
On Ubuntu 14.04 the default packages installs /usr/bin/nodejs but the /usr/bin/node executable is required for grunt. This is installed on some Ubuntu package sets; if it is missing, you can add this by installing the nodejs-legacy package, sudo apt-get install nodejs-legacyIt is easiest to install a shared version of grunt-cli from npm using the -g flag. This will allow you access the gruntcommand from /usr/local/bin. More information can be found on gruntjs Getting Started. sudo npm -g install grunt-cli
全部完成之后,做一次磁盘快照
|