会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
libin-linux
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
26
下一页
2023年3月13日
Linux 命令行使用if语句进行判断
摘要: 说明: 可以配合ansible进行批量实现 例1: 判断ntp是否启动 systemctl is-active ntpd.service &>/dev/null; if [ $? == 0 ]; then echo "ntp-ok"; else echo "ntp-no" | xargs ;fi s
阅读全文
posted @ 2023-03-13 16:13 LB_运维技术
阅读(350)
评论(0)
推荐(0)
2023年3月12日
Linux kernel: hpet1: lost 18 rtc interrupts 报错
摘要: 问题:Linux kernel: hpet1: lost 18 rtc interrupts 报错 解决方案:在 GRUB_CMDLINE_LINUX_DEFAULT="quiet hpet=disable" 添加hpet=disable # cat /etc/default/grub GRUB_T
阅读全文
posted @ 2023-03-12 00:16 LB_运维技术
阅读(1283)
评论(0)
推荐(0)
2023年3月11日
Bclinux yum源无法使用
摘要: 内网yum源案例: 问题现象: 解决方案: 将enable=1 修改为enabled=0 问题即可解决 [root@localhost cloudman]# vi /etc/yum/pluginconf.d/license-manager.conf [main]enabled=0
阅读全文
posted @ 2023-03-11 23:08 LB_运维技术
阅读(667)
评论(0)
推荐(0)
2023年3月10日
Linux grep 常用手段
摘要: 1、过滤一个文件信息时,不要空格和#开头 # grep -Ev '^$|^#' 文件 grep -Ev '^#|^$' /etc/ntp.conf | grep "server" | xargs grep -Ev '^#|^$' /etc/chrony.conf | grep "server" |
阅读全文
posted @ 2023-03-10 15:46 LB_运维技术
阅读(75)
评论(0)
推荐(0)
find命令 查看常用
摘要: 1、查找/下 以.out结尾的文件 # find /* -type f -name "*.out" 2、查看 / 下所有 的含有 zookeeper的文件 # find /* -name "zookeeper" 3、不查看 / 下所有 的含有 zookeeper的文件 # find /* ! -na
阅读全文
posted @ 2023-03-10 11:34 LB_运维技术
阅读(36)
评论(0)
推荐(0)
2023年3月9日
Linux crond计划任务时间同步
摘要: # crontab -l# 查看现有的时间服务器* * * * * chronyc sources -v >>/tmp/time.log 2>&1# 查看时间服务器状态#* * * * * chronyc sourcestats -v >>/tmp/time.log 2>&1# 每隔2秒,使用 nt
阅读全文
posted @ 2023-03-09 17:40 LB_运维技术
阅读(86)
评论(0)
推荐(0)
2023年2月7日
linux系统 修改密码显示 passwd:模块未知
摘要: 故障现象 原因分析 安装strace命令进行跟踪 # yum install -y strace 抓取报错日志 # strace -o passwd.log passwd 查看日志,发现/usr/lib64/security 目录中没有pam_passwdqc.so # cat passwd.log
阅读全文
posted @ 2023-02-07 17:20 LB_运维技术
阅读(3864)
评论(0)
推荐(0)
2023年2月6日
linux 系统不能正常进行ftp连接
摘要: 解决方案: # cp /lib64/security/pam_listfile.so /lib/security/ # service vsftpd restart
阅读全文
posted @ 2023-02-06 18:02 LB_运维技术
阅读(70)
评论(0)
推荐(0)
2023年2月3日
startproc:exit status of parent of /usr/sbin/sshd: 255
摘要: 记录一次suse系统sshd服务无法启动根据报错解决方案:
阅读全文
posted @ 2023-02-03 15:44 LB_运维技术
阅读(168)
评论(0)
推荐(0)
2023年1月29日
Linux strace安装包网址
摘要: https://sourceforge.net/projects/strace/ 安装与使用 (1)tar xvJf strace-4.8.tar.xz(2)cd strace-4.8(3)./configure (4)make(5)make install(6)/home/cloudman/str
阅读全文
posted @ 2023-01-29 19:38 LB_运维技术
阅读(436)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
26
下一页
公告