会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
small_lei_it
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
21
下一页
2020年2月10日
kubelet服务启动失败,错误代码255
摘要: 用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
阅读(6006)
评论(0)
推荐(0)
2020年2月8日
服务器时间设置
摘要: 命令:ntpdate ntp1.aliyun.com
阅读全文
posted @ 2020-02-08 21:37 small_lei_it
阅读(472)
评论(0)
推荐(0)
2020年2月6日
解决umount.nfs: /data: device is busy 问题
摘要: 有时候我们需要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
阅读(931)
评论(0)
推荐(0)
2020年1月31日
vim修改权限: E45: 已设定选项 'readonly' (请加 ! 强制执行)
摘要: 输入 w !sudo tee % 后,在输入q退出,在打开文件时,文件已经被修改
阅读全文
posted @ 2020-01-31 15:50 small_lei_it
阅读(6140)
评论(0)
推荐(0)
2020年1月22日
Postgresql 截取字符串
摘要: 如:(这是一个url,截取最后一部分。现在要取 - 后面部分内容)8a59e88177ad5e70-20170317120301AB9E.plist12b8d5c26d83a17f-20170308173008D5DD.plist 这时需要 split_part 函数,如: -- url 一共3个
阅读全文
posted @ 2020-01-22 11:03 small_lei_it
阅读(3438)
评论(0)
推荐(0)
2020年1月21日
Linux 修改PostgreSQL外部访问白名单
摘要: 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
阅读(741)
评论(0)
推荐(0)
2020年1月14日
Linux系统下查看某个端口被监听,
摘要: 命令: netstat -tln|grep 8081
阅读全文
posted @ 2020-01-14 09:56 small_lei_it
阅读(1295)
评论(0)
推荐(0)
2020年1月7日
nginx: [error] invalid PID number "" in "/run/nginx.pid"
摘要: 在重启云主机(系统)之后,执行 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
阅读(952)
评论(0)
推荐(0)
2019年11月22日
Ubuntu系统安装nginx
摘要: 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
阅读(328)
评论(0)
推荐(0)
error: [Errno 13] Permission denied: '/usr/local/lib/处理方法
摘要: 在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
阅读(4045)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
21
下一页
公告