摘要:
sudo apt-get install node sudo apt-get install npm 查看版本 node -v npm -v 切换淘宝镜像 npm config set registry http://registry.npm.taobao.org/ 安装n模块 sudo npm i 阅读全文
摘要:
1、备份本地yum源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2、获取阿里yum源 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirr 阅读全文