摘要: 1. 备份旧的配置文件 1 cd /etc/yum.repos.d/ # 进入文件夹 2 mv CentOS-Base.repo CentOS-Base.repo_back # 备份原始配置文件 2. 下载阿里源的文件 1 wget -O CentOS-Base.repo http://mirror 阅读全文
posted @ 2022-09-27 18:39 叶森白 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 1. 查看当前源 npm config get registry 2. 更换npm源为国内淘宝镜像 npm config set registry http://registry.npm.taobao.org/ 3. 更换npm源为国内npm官方镜像 npm config set registry 阅读全文
posted @ 2022-09-27 18:20 叶森白 阅读(4528) 评论(0) 推荐(0) 编辑