sky_cheng

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
统计
 

2025年2月5日

摘要: 一、修改如下文件 /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 阅读(68) 评论(0) 推荐(0) 编辑
 

2025年1月2日

摘要: 一、首先两台服务器做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日

摘要: 分区数据盘 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 阅读(11) 评论(0) 推荐(0) 编辑
 

2024年12月2日

摘要: [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 阅读(93) 评论(0) 推荐(0) 编辑
 

2024年11月21日

摘要: 一、在项目配置-构建后操作-Send build artifacts over SSH里的SSH Server中的高级,勾选Verbose output in console即可打印具体报错信息 构建后,控制台即可输出详细报错信息,帮助定位错误 阅读全文
posted @ 2024-11-21 11:42 sky_cheng 阅读(184) 评论(0) 推荐(0) 编辑
 

2024年11月16日

摘要: 一、编写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 阅读(71) 评论(0) 推荐(0) 编辑
 

2024年11月7日

摘要: 一、目标主机安装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 阅读(503) 评论(0) 推荐(0) 编辑
 

2024年11月3日

摘要: 一、创建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 阅读(33) 评论(0) 推荐(0) 编辑
 

2024年11月1日

摘要: 执行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 阅读(167) 评论(0) 推荐(0) 编辑
 

2024年10月29日

摘要: 一、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 阅读(118) 评论(0) 推荐(0) 编辑
 
 
点击右上角即可分享
微信分享提示