01 2023 档案

摘要:查看磁盘空间时,执行 df -h 时,命令 hang 住了,一直没有反应! 这种问题,大概率是由于 mount 的目录被删除了,但是没有提前执行 umount 操作,因此报错! 解决方案: 查看 /etc/fstab 文件中是否有 mount 相关的目录,使用 umount -l 命令卸载无效挂载目 阅读全文
posted @ 2023-01-31 13:42 John_2011 阅读(74) 评论(0) 推荐(0) 编辑
摘要:方案一: 全局安装n npm install -g n 安装最新稳定版 node n stable 安装最新版本 node n latest 安装某个具体node版本 n 14.16.1 删除某个版本 n rm 14.16.1 查看安装路径 n which 14.16.1 切换版本输入n回车 出现n 阅读全文
posted @ 2023-01-29 17:03 John_2011 阅读(5456) 评论(0) 推荐(1) 编辑
摘要:备份系统镜像源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载阿里镜像源 wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirror 阅读全文
posted @ 2023-01-16 16:25 John_2011 阅读(498) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示