1.根据访问IP统计UV awk '{print $1}' access.log|sort | uniq -c |wc -l 2.统计访问URL统计PV awk '{print $7}' access.log|wc -l 3.查询访问最频繁的URL awk '{print $7}' access.l ...
分类:
其他好文 时间:
2020-05-28 13:09:14
阅读次数:
60
小伟刚毕业时面的第一家公司就被面试官给问住了... 如何理解Java中的自动拆箱和自动装箱? 自动拆箱?自动装箱?什么鬼,听都没听过啊,这...这..知识盲区... 回到家后小伟赶紧查资料,我透,这不就是问基本类型跟封装类型吗,面试官整啥名词呢... 别问结果,问就是没过。 1、 什么是自动装箱,自 ...
分类:
编程语言 时间:
2020-05-28 00:35:52
阅读次数:
85
说明 strrchr ( string $haystack , mixed $needle ) : string 该函数返回 haystack 字符串中的一部分,这部分以 needle 的最后出现位置开始,直到 haystack 末尾。https://www.bzd6688.com/daliship ...
分类:
其他好文 时间:
2020-05-27 18:54:27
阅读次数:
84
In this Document Goal Fix References Applies to: Oracle Net Services - Version 10.2.0.3 to 11.2.0.3 [Release 10.2 to 11.2]Information in this document ...
分类:
数据库 时间:
2020-05-27 12:09:38
阅读次数:
85
字面意思 xxx表已存在. 在使用laravel 写同步结构的时候 最好习惯性写个if语句判定是否存在 // 判断数据表是否存在 Schema::hasTable('table'); // 判断数据表是否有该列 Schema::hasColumn('table', 'column'); 实例: pu ...
分类:
数据库 时间:
2020-05-27 10:34:04
阅读次数:
93
安装步骤 添加Nginx到YUM源 sudo rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 安装Nginx sudo yum install -y ...
分类:
其他好文 时间:
2020-05-26 01:07:35
阅读次数:
100
说明 str_pad ( string $input , int $pad_length [, string $pad_string = " " [, int $pad_type = STR_PAD_RIGHT ]] ) : string 该函数返回 input 被从左端、右端或者同时两端被填充到制 ...
分类:
其他好文 时间:
2020-05-25 19:20:22
阅读次数:
62
1、查看是否已经安装了vsftpd vsftpd -version 2、安装vsftpd(CentOS7) yum install -y vsftpd 3、新建FTP目录 创建的FTP目录如下: /data/KodServer/data/User/tomas/home 4、创建新用户 ftpname ...
分类:
其他好文 时间:
2020-05-25 15:54:59
阅读次数:
93
查看表中字段的结构信息 可以用来查看表中字段的注释等,比如 select table_name,column_name,column_comment from information_schema.columns where table_schema ='表所在的库' and table_name ...
分类:
数据库 时间:
2020-05-25 12:11:59
阅读次数:
80
inotify 监控简单shell for foo in /proc/*/fd/*; do readlink -f $foo; done | grep inotify | sort | uniq -c | sort -nr 一个很不错的script #!/bin/sh ? # Get the pro ...
分类:
其他好文 时间:
2020-05-25 12:10:58
阅读次数:
73