需求分析 现有一数据库中user表中有一字段(gbs),是记录用户使用流量的,实时呈现用户使用的总流量。现需要将此字段统计出每天、每月用户增加的流量。 数据库结构 考虑到数据库和服务器的负载,采用每7天一个星期展现的形式,最多展现7天流量记录,每月总计流量,最多12个月,且每星期和每月的字段循环使用…
win7 桌面 快捷方式箭头 去除 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres…
nginx方法 1:在http段加入如下: rewrite_log on; error_log logs/xxxerror.log notice; 注意两点:1)在http字段加,反正我试了一下,在配置文件的开始位置,nginx会报rewrite_log 是一个不识别的变量。 2)注意 error_…
在/usr/local/nginx/conf中加入thinkphp.conf,内容如下: if ( !-e $request_filename) { rewrite ^/index.php(.*)$ /index.php?s=$1 last; rewrite ^(.*)$ /index.php?s=…
包含如下: tcping
下载链接 windows: 来源页面:http://www.elifulkerson.com/projects/ Linux: 来源页面:http://linuxco.de/tcping/tcping.html yum install -y tcptraceroute&…
# 查找命令所属软件包 [root@bogon msls31]# yum whatprovides yum-config-manager Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cach…
在centos 6.5 mini 版的基础上安装,由于是使用vmware克隆虚拟机,先解决network问题,参考CentOS Linux解决Device eth0 does not seem to be present 首先安装gnome桌面 yum groupinstall desktop 然后…
在yum update 之后,ssh上去显示的是一堆中文,感觉很奇怪,没准有翻译不正确,而且不利于英语学习,所以还是打算改成中文 编辑/etc/sysconfig/i18n这个文件,原内容如下: LANG="zh_CN.UTF-8" 修改为: LANG="en_US.UTF-8" 重新启动即可!
在VMware里克隆出来的CentOS Linux。。 ifconfig...没有看到eth0.。然后重启网卡又报下面错误。 故障现象: service network restart Shutting down loopback insterface: &nbs…