随笔分类 - Linux
摘要:1、关闭系统自带的防火墙并禁止开机自启; ~]# systemctl stop firewalld && systemctl disable firewalld 2、安装 iptables 相关软件包; ~]# yum install iptables iptables-services 3、启动
阅读全文
摘要:命令示例: sshpass -p "buray" scp -o StrictHostKeyChecking=no root@192.168.1.100:/root/test/test ./ 前提条件: 需要安装sshpass yum install sshpass
阅读全文
摘要:Centos 7 默认是没有装在ipvs模块的; 开机自动装载: vim /etc/sysconfig/modules/ipvs.modules ipvs_mods_dir="/usr/lib/modules/$(uname -r)/kernel/net/netfilter/ipvs" for mo
阅读全文
摘要:配置文件路径:/etc/security/limits.conf 常用参数调整: * soft nofile 65536 * hard nofile 102400 * soft nproc 65535 * hard nproc 655350 * soft memlock unlimited * ha
阅读全文
摘要:其中获得了最多人气和 CentOS 市场份额的两个发行版是 Rocky Linux 和 Alma Linux。 Rocky Linux 是由 Gregory M. Kurtzer 创建的,他是 CentOS 的最初的创建者。 Alma Linux 是由 CloudLinux 创建的,它是一家提供了基
阅读全文