上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
摘要: 阅读全文
posted @ 2023-08-14 09:28 LB_运维技术 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 一、IPTABLES四表五链学习: (1)Filter表:是iptables的默认表,它有以下三种内建链(chains): INPUT链 – 处理来自外部的数据。 OUTPUT链 – 处理向外发送的数据。 FORWARD链 – 将数据转发到本机的其他网卡设备上。 (2)NAT表:NAT表有三种内建链 阅读全文
posted @ 2023-08-11 01:51 LB_运维技术 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 现象: openssh升级后造成 登录 出现-bash: ulimit: open files 解决方案: (1) # vim /etc/pam.d/login ==>session required pam_limits.so (2) # vi /etc/ssh/sshd_config ==>Us 阅读全文
posted @ 2023-08-01 08:45 LB_运维技术 阅读(214) 评论(0) 推荐(0) 编辑
摘要: # iptables -t nat -A PREROUTING -p udp --dport 314 -j DNAT --to-destination 本机IP:3140 # cp -a /etc/sysconfig/iptables.rules /etc/sysconfig/iptables.ru 阅读全文
posted @ 2023-07-25 22:09 LB_运维技术 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 解决方案: # grep --color -i "wheel" /etc/group | awk -F: '{print $4}' 阅读全文
posted @ 2023-07-13 23:36 LB_运维技术 阅读(148) 评论(0) 推荐(0) 编辑
摘要: (1)、防火墙概念 防火墙(Firewall)是一个架设在互联网与企业内网之间的信息安全系统,根据企业预定的策略来监控往来的传输。 防火墙可能是一台专属的网络设备或是运行于主机上来检查各个网络接口上的网络传输。它是目前最重要的一种网络防护设备,从专业角度来说,防火墙是位于两个(或多个)网络间,实行网 阅读全文
posted @ 2023-07-05 08:50 LB_运维技术 阅读(2378) 评论(0) 推荐(0) 编辑
摘要: 例如: # df -h | awk '{ print strftime("%Y.%m.%d %H:%M:%S",systime())"\t" $0; fflush() }' 阅读全文
posted @ 2023-06-28 16:48 LB_运维技术 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 锁定用户 passwd -l 用户名 usermod -L 用户名 解锁用户 passwd -u 用户名 usermod -U 用户名 查看账户状态 passwd -S 用户名 阅读全文
posted @ 2023-06-25 09:10 LB_运维技术 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 问题现象: 解决方案: 解决办法:设置为30s覆盖到配置文件中echo 30 > /proc/sys/kernel/watchdog_thresh 查看tail -1 /proc/sys/kernel/watchdog_thresh30临时生效sysctl -w kernel.watchdog_th 阅读全文
posted @ 2023-06-13 17:55 LB_运维技术 阅读(1911) 评论(0) 推荐(0) 编辑
摘要: 解决方案: (1)设置PasswordAuthentication为yes [root@VM-4-3-centos libin]# vim /etc/ssh/sshd_config 修改后的配置: PasswordAuthentication yes (2)重启sshd服务 [root@VM-4-3 阅读全文
posted @ 2023-06-13 17:49 LB_运维技术 阅读(174) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页