dstat的默認(rèn)選項(xiàng) 與許多命令一樣,dstat命令有默認(rèn)選項(xiàng),執(zhí)行dstat命令不加任何參數(shù),它默認(rèn)會收集-cpu-、-disk-、-net-...
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allo...
vim nginx.conf: HTTP模塊(無cdn節(jié)點(diǎn)) #定義一個(gè)名為allips的limit_req_zone用來存儲session,大...
#獲取用戶真實(shí)IP,并賦值給變量$clientRealIP map $http_x_forwarded_for $clientRealIp { ...
log_format mylog '$proxy_add_x_forwarded_for - $remote_user [$time_lo...
cd /etc/nginx/conf.d vimblockip.conf allow 103.69.71.161; allow 45.199.1...
vim/etc/sysctl.conf net.ipv4.ip_forward = 0 net.ipv4.conf.default.rp_fil...
vim /etc/security/limits.conf * soft nproc 1000000 * hard nproc 1000000 ...
1、修改/etc/security/limits.conf,添加 root soft nofile 65535 root hard nofile...