介绍一个强大的分析网络的shell脚本,此脚本是从EZHTTP拆分出来的,觉得有必要单独介绍下。脚本运行效果截图:此脚本包含的功能有:1、实时监控任意网卡的流量2、统计10秒内平均流量3、统计每个端口在10秒内的平均流量,基于客户端和服务端端口统计。可以看出哪些端口占流量比较大,对于web服务器,一般是80端口。其它端口受到攻击时,也有可能其它端口流量比较大。所以此功能可以帮助我们端口流量是否正常。4、统计在10s内占用带宽最大的前10个ip。此项功能可以帮助我们来查出是否有...
2016-01-12 /
2170 次浏览 /
系统运维
安装PPTP脚本------------------------------------------------------------------ #!/bin/bash yum -y update wget -c http://dl.fedoraproject.org/pub/epel/7/x86_64/p/pptpd-1.4.0-2.el7.x86_64.rpmyum -y install pptpd-1.4.0-2.el7.x86_64....
2016-01-12 /
2412 次浏览 /
系统运维
CentOS6.7系统优化加强牢固脚本 #!/bin/bash# author wangqd# description:this is a centos6.7 optimization script# processname: 升级系统,精简服务,安装基本配置,记录bash执行时间,安全配置,su加固,ssh优化,iptables设置,时间同步 系统优化#检查是否为root用户;if [ $(id -u) != "0" ];thenecho...
2016-01-12 /
2310 次浏览 /
脚本编程
APACHE中限制IP连接数与IP并发数和流量控制实现方法,如果只限制连接数据我们可以直接使用limit,如果要限制其它的需要使用其它第三方模块了使用mod_limitipconn模块限制IP并发连接数安装:?1234wget http://dominia.org/djao/limit/mod_limitipconn-0.24.tar.bz2tar jxvf mod_limitipconn-0.24.tar.bz2cd mod_limitipconn-0.24/usr/loc...
2016-01-11 /
2263 次浏览 /
系统运维
How to Set Up the Minecraft Control Panel Multicraft On CentOS 7This article describes in detail how you can install the Multicraft control panel for Minecraft on your Linux server. In particular we focus on a Multicraft setup on CentOS 7 o...
2016-01-10 /
3973 次浏览 /
系统运维
本篇文章已加密,请输入密码后查看。...
2016-01-08 /
1982 次浏览 /
系统运维
本篇文章已加密,请输入密码后查看。...
2016-01-07 /
2188 次浏览 /
系统运维
PHP终于要迎接PHP7的时代了,现在的稳定版本是PHP5.6,而PHP官方表示终止PHP5.7及PHP6发布,下一个PHP版本是7。PHP7开发版的源代码以phpng已经在git上公布也有一段时间了,简单介绍一下在CentOS7安装phpng的方法。前期准备查看bison及re2c安装PHP7需要bison及re2c。# rpm -qa | grep bison
bison-2.7-4.el7.x86_64
# rpm -qa | grep re2c
安装re2c...
2016-01-05 /
1939 次浏览 /
系统运维
Centos 7 PHP7环境配置 LNMP (centos7+nginx+MySQL5.7.9+PHP7)首先更新系统软件$ yum update安装nginx1.安装nginx源$ yum localinstall http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm2.安装nginx$ ...
2016-01-05 /
2366 次浏览 /
系统运维
Database ConfigurationownCloud requires a database in which administrative data is stored. The following databases are currently supported:MySQL / MariaDBSQLitePostgreSQLOracleThe MySQL or MariaDB databases are the recommended database engi...
2016-01-02 /
4286 次浏览 /
容器虚拟化