快速搭建NODEJS + Requirejs
1. 系统:CentOS 64位(查看系统位数请执行命令:getconf LONG_BIT)
2. Down 文件 https://nodejs.org/download/
wget https://nodejs.org/dist/v0.12.5/node-v0.12.5.tar.gz
3. 编译NODEJS
tar -xvf node-* cd node* yum install gcc-c++ yum install python ./configure make install
whereis node
node -v
4. 安装Requirejs
npm install requirejs -g
npm install -g yo grunt-cli bower
npm i yo -g
npm i yeoman/generator-webapp
npm i yeoman/generator-mocha
---------------------------------------------------------------------------------
Kind Regards,
HaiTao Niu
JavaScript developer :)
ORACLE Certified Database Administrator - 10g
SUN Certified Applocation Developer - Java 6
Ring Building,No.28,ZhongGuanCun Software Park, No.8 Dong Bei Wang West Road, Haidian District, Beijing P.R.China 100193
E-mail: 1648500@qq.com