会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sky_cheng
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2025年2月5日
linux清除用户锁定次数,Linux使用PAM锁定多次登陆失败的用户
摘要: 一、修改如下文件 /etc/pam.d/sshd (远程ssh) /etc/pam.d/login (终端) 在第一行下即#%PAM-1.0的下面添加: auth required pam_tally2.so deny=3 unlock_time=600 even_deny_root root_un
阅读全文
posted @ 2025-02-05 13:57 sky_cheng
阅读(23)
评论(0)
推荐(0)
编辑
2025年1月2日
lsync服务使用hlim用户进行同步配置
摘要: 一、首先两台服务器做hlim用户的免密ssh登录 su - hlim ssh-keygen -t rsa ssh-keygen -t rsa -f /home/hlim/.ssh/id_rsa -P "" 在目标服务器上执行,将另外一台服务器的/home/hlim/.ssh/id_rsa.pub内容
阅读全文
posted @ 2025-01-02 11:48 sky_cheng
阅读(3)
评论(0)
推荐(0)
编辑
2024年12月26日
linux下硬盘安装以及扩容
摘要: 分区数据盘 fdisk /dev/vdb创建物理卷PVpvcreate /dev/vdb1 查看物理卷pv pvs 创建卷组VGvgcreate vghome /dev/vdb1 或者加入vghome卷组vgextend vghome /dev/vdb1 查看卷组 vgs 一、使用lvextend命
阅读全文
posted @ 2024-12-26 16:10 sky_cheng
阅读(9)
评论(0)
推荐(0)
编辑
2024年12月2日
git push 报错 Updates were rejected because the tip of your current branch is behind
摘要: [root@localhost newccdeploy]# git push Username for 'https://172.28.17.127': xxxx Password for 'https://xxxxx@172.28.17.127': To https://172.28.17.127
阅读全文
posted @ 2024-12-02 10:25 sky_cheng
阅读(78)
评论(0)
推荐(0)
编辑
2024年11月21日
jenkins构建后,执行远程服务器shell报错详细日志的详细显示设置
摘要: 一、在项目配置-构建后操作-Send build artifacts over SSH里的SSH Server中的高级,勾选Verbose output in console即可打印具体报错信息 构建后,控制台即可输出详细报错信息,帮助定位错误
阅读全文
posted @ 2024-11-21 11:42 sky_cheng
阅读(134)
评论(0)
推荐(0)
编辑
2024年11月16日
docker运行rabbitmq,mq用户以及vhost的持久化方法
摘要: 一、编写dockerfile文件,配置需要的插件 vim package/dockerfile-rabbitmq.yaml FROM rabbitmq:3.8.5 WORKDIR /var/lib/rabbitmq COPY rabbitmq_delayed_message_exchange-3.8
阅读全文
posted @ 2024-11-16 22:37 sky_cheng
阅读(57)
评论(0)
推荐(0)
编辑
2024年11月7日
zabbix 使用自带mysql监控模板监控mysql数据库
摘要: 一、目标主机安装zabbix-agent2服务 wget https://repo.zabbix.com/zabbix/7.0/centos/8/x86_64/zabbix-agent2-7.0.5-release1.el8.x86_64.rpm rpm -Uvh https://repo.zabb
阅读全文
posted @ 2024-11-07 16:40 sky_cheng
阅读(387)
评论(0)
推荐(0)
编辑
2024年11月3日
zabbbix的web检测介绍
摘要: 一、创建web检测场景后,Zabbix 自动添加以下监控项进行监控,将它们链接到所选应用程序 1、监控项 key: web.test.in[Scenario,,bps] :整个场景的下载速度(每秒字节数)的信息 类型:Numeric(float) 2、监控项 key: web.test.fail[S
阅读全文
posted @ 2024-11-03 13:21 sky_cheng
阅读(21)
评论(0)
推荐(0)
编辑
2024年11月1日
firewalld ERROR: 'python-nftables' failed: internal:0:0-0: Error: No such file or directory
摘要: 执行firewall-cmd --reload时报错:ERROR: 'python-nftables' failed: internal:0:0-0: Error: No such file or directory ERROR: 'python-nftables' failed: internal
阅读全文
posted @ 2024-11-01 23:54 sky_cheng
阅读(131)
评论(0)
推荐(0)
编辑
2024年10月29日
firewalld通过文件方式添加自定义服务策略以及富规则策略
摘要: 一、firewall-cmd介绍 1、firewalld保留的策略服务文件在/usr/lib/firewalld/services/目录下 2、通过firwall-cmd命令设置的策略在/etc/firewalld/目录下 通过--get-services查看所有保留服务 [root@localho
阅读全文
posted @ 2024-10-29 14:54 sky_cheng
阅读(90)
评论(0)
推荐(0)
编辑
下一页