上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页
摘要: 用kubeadm的方法安装kubelet后,运行systemctl status kubelet 发现kubelet服务启动失败,错误代码255。 kubelet.service: main process exited, code=exited, status=255/n/a 检查了Swap已经关 阅读全文
posted @ 2020-02-10 22:16 small_lei_it 阅读(5780) 评论(0) 推荐(0) 编辑
摘要: 命令:ntpdate ntp1.aliyun.com 阅读全文
posted @ 2020-02-08 21:37 small_lei_it 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 有时候我们需要umount某个挂载目录时会遇到如下问题: 1 2 [root@localhost /]# umount /data/ umount.nfs: /data: device is busy 通过这条命令查看: 1 2 3 4 [root@localhost /]# fuser -m -v 阅读全文
posted @ 2020-02-06 14:26 small_lei_it 阅读(858) 评论(0) 推荐(0) 编辑
摘要: 输入 w !sudo tee % 后,在输入q退出,在打开文件时,文件已经被修改 阅读全文
posted @ 2020-01-31 15:50 small_lei_it 阅读(5794) 评论(0) 推荐(0) 编辑
摘要: 如:(这是一个url,截取最后一部分。现在要取 - 后面部分内容)8a59e88177ad5e70-20170317120301AB9E.plist12b8d5c26d83a17f-20170308173008D5DD.plist 这时需要 split_part 函数,如: -- url 一共3个 阅读全文
posted @ 2020-01-22 11:03 small_lei_it 阅读(3384) 评论(0) 推荐(0) 编辑
摘要: 1. 查找配置文件 # find / -name pg_hba.conf # find / -name postgresql.conf 2.修改 2.1 修改pg_hba.conf 查找IPv4 local connections 修改默认的 host all all 127.0.0.1/32 tr 阅读全文
posted @ 2020-01-21 14:14 small_lei_it 阅读(686) 评论(0) 推荐(0) 编辑
摘要: 命令: netstat -tln|grep 8081 阅读全文
posted @ 2020-01-14 09:56 small_lei_it 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: 在重启云主机(系统)之后,执行 nginx -t 是OK的,然而在执行 nginx -s reload 的时候报错 nginx: [error] invalid PID number “” in “/run/nginx.pid” 经过查找,找到http://www.cnblogs.com/yuqia 阅读全文
posted @ 2020-01-07 18:13 small_lei_it 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 1.首先查看linux系统 cat /proc/version Linux version 4.9.59-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #104 阅读全文
posted @ 2019-11-22 16:20 small_lei_it 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 在ubuntu系统下使用pip 命令安装包时,出现以下类似错误提示: error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/ 那么,要用root权限,可以用sudo表示用root权限执行,在命令前面加 阅读全文
posted @ 2019-11-22 15:33 small_lei_it 阅读(3939) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页