摘要: 运行scp命令按tap键,提示:Cannot change locale UTF-8,并且后面的提示是乱码。 应该是之前将中文设置中文的问题。 解决方法: 在/etc/environment加入(没有就新建): LC_ALL=en_US.UTF-8LANG=en_US.UTF-8运行: source 阅读全文
posted @ 2024-12-30 17:59 augustine23 阅读(430) 评论(0) 推荐(0)
摘要: 运行以下命令: [root@k8s-master ~]# crictl config runtime-endpoint unix:///run/containerd/containerd.sock [root@k8s-master ~]# crictl config image-endpoint u 阅读全文
posted @ 2024-12-13 15:12 augustine23 阅读(46) 评论(0) 推荐(0)
摘要: [root@k8s-master test]# yum install -y bash-completion [root@k8s-master test]# source /usr/share/bash-completion/bash_completion [root@k8s-master test 阅读全文
posted @ 2024-11-15 16:05 augustine23 阅读(22) 评论(0) 推荐(0)
摘要: 输入crictl images提示 [root@k8s-node1 ~]# crictl imagesWARN[0000] image connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/cont 阅读全文
posted @ 2024-11-15 15:43 augustine23 阅读(643) 评论(0) 推荐(0)
摘要: 通用的命令 ifdown ens33 关闭网卡名叫ens33的网卡 ifup ens33 开启网卡名叫ens33的网卡 查看IP地址 ip a Centos8和RockyLinux 管理网卡新命令 nmcli connection和c都可以 1、重载网卡 ,重启网卡之前一定要重新载入一下配置文件,不 阅读全文
posted @ 2024-11-09 16:35 augustine23 阅读(2266) 评论(1) 推荐(0)
摘要: 近日,公司电脑需要修改计算机名(无域控),随意在网上找了一篇修改代码,正常操作右击脚本管理员运行,输入计算机名可正常修改,但是如果运行后不输入计算机名直接点确认,则会造成计算机重启后无法登陆,提示指定的域不存在或无法联系,刚好公司也有这种坑货的存在。虽然不知道其他值需不需要修改,但是这脚本最后两项D 阅读全文
posted @ 2022-09-24 11:03 augustine23 阅读(453) 评论(0) 推荐(0)