分类 "Linux" 下的文章

1、统计baidu蜘蛛每秒并发,按时间排序grep -i "Baiduspider" access.log | awk '{print $4}' | sort | uniq -c | sort -t":" -k3,42、统计baidu蜘蛛每秒并发,按并发量排序,取前100grep -i "Baiduspider" access.log |

场景:被登录服务器:A本地客户端:B被登录服务器A操作:1、A开启免密登录功能vim /etc/ssh/sshd_config 如下三行注释去掉 RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys2、重启ssh服务service sshd restart3、创建必要文

下载CentOS6/Debian6/Ubuntu14 ShadowsocksR一键部署管理脚本:wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/ssr.sh授权并执行脚本chmod +x ssr.sh sh ssr.sh如上图出现管理界面后,输入数字1来安装SSR服务

wget -q -O - http://linux.dell.com/repo/hardware/Linux_Repository_15.07.00/bootstrap.cgi | bash yum install srvadmin-all -y /opt/dell/srvadmin/sbin/srvadmin-services.sh start iptables -I INPUT -s 访

添加zabbix yum仓库rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm安装zabbix-agentyum install zabbix-agent -y修改zabbix-agent内信息vim /etc/zabbix/zabbix_agentd.conf S

关闭IPV6cat << EOF > /etc/modprobe.d/ipv6.conf alias net-pf-10 off options ipv6 disable=1 EOF echo "NETWORKING_IPV6=off" >>/etc/sysconfig/network chkconfig ip6tables off echo &q