大苹果
linux node的编译安装
linux下编译安装node:yuminstallgccyuminstallgcc-c++yuminstallopenssl*yuminstall-ybzip2*yum-yinstallpython./configure--prefix=/usr/local/nodemake&&makeinstallln-s/usr/local/node/bin/*/usr/local/bincd/usr/local/node/lib/node_modules/npm./configuremake&&makeinstall2、修改profile文件:#vi/etc/profile在里面加入:exportPATH="$PATH:/opt/au1200_rm/build_tools/bin"让环境变量立即生效需要执行如下命令:#source/etc/profileln-s/usr/bin/npm/usr/local/node/bin/npm
node,linux,源码编译
41164
7年前