代码拉取完成,页面将自动刷新
centos7 begin========================================================
没有ifconfig -> yum install net-tools
重启ssd服务 -> systemctl restart sshd.service
关闭selinux -> vi /etc/sysconfig/selinux添加SELINUX=disabled
关闭防火墙 -> systemctl stop firewalld
systemctl disable firewalld.service
TCP连接数 -> vi /etc/security/limits.conf添加俩行
* soft nofile 1024000
* hard nofile 1024000
-> vi /etc/pam.d/login添加一行
session required /lib/security/pam_limits.so
-> vi /etc/sysctl.conf添加一行
net.ipv4.ip_local_port_range = 1024 65000
centos7 end==========================================================
ulimit -b unlimited
ulimit -c unlimited
ulimit -d unlimited
ulimit -e unlimited
ulimit -f unlimited
ulimit -i unlimited
ulimit -l unlimited
ulimit -m unlimited
ulimit -n unlimited
ulimit -p unlimited
ulimit -q unlimited
ulimit -r unlimited
ulimit -s unlimited
ulimit -t unlimited
ulimit -u unlimited
ulimit -v unlimited
ulimit -x unlimited
* soft core unlimited
* soft data unlimited
* soft fsize unlimited
* soft memlock unlimited
* soft nofile unlimited
* soft rss unlimited
* soft stack unlimited
* soft cpu unlimited
* soft nproc unlimited
* soft as unlimited
* soft maxlogins unlimited
* soft maxsyslogins unlimited
* soft priority unlimited
* soft locks unlimited
* soft sigpending unlimited
* soft msgqueue unlimited
* soft nice unlimited
* soft rtprio unlimited
* hard core unlimited
* hard data unlimited
* hard fsize unlimited
* hard memlock unlimited
* hard nofile 1024000
* hard rss unlimited
* hard stack unlimited
* hard cpu unlimited
* hard nproc unlimited
* hard as unlimited
* hard maxlogins unlimited
* hard maxsyslogins unlimited
* hard priority unlimited
* hard locks unlimited
* hard sigpending unlimited
* hard msgqueue unlimited
* hard nice unlimited
* hard rtprio unlimited
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1200
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.tcp_max_tw_buckets = 5000
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。