摘要:
有必要说明一下。网速统计中的几个单位的换算。 KB/s && Kbps kbps 中的 p 是 per 的缩写,意思就是 “每”。 kbps = kb/s KB/s 中的 B 是 Byte (字节数) kb/s 中的 b 是 bit (位数) 计算机中 1Byte = 8bit 所以 1KB/s = 阅读全文
摘要:
由于是游戏业务,环境主要是Nginx+Tomcat+Java Program gps脚本环境以及效果图如下: #!/bin/bash function Printf (){ if [ $1 == 1 ];then printf '%-50s\n' "+ + + +" shift 1 fi print 阅读全文
摘要:
设置 Linux 服务器防火墙脚本,Web_iptables.sh 通过内网可访问服务器所有开放端口 给跳板机开放sshd端口连接服务器 信任ip 所有端口均开放 开放部分端口供外部访问 #!/bin/bash #Intranet_network=`ifconfig eth1 |grep "inet 阅读全文
摘要:
@echo off ::netsh ipsec static set policy name=7road assign=n net time /setsntp:pool.ntp.org net stop w32time net start w32time w32tm /resync w32tm /r 阅读全文