cat access.log|grep “request\”:\”/****/show/singlepage-****.action” |wc -l
tomcat 禁止root启动
2018-12-09 by Jinyang | No Comments | Filed in 技术相关[root@localhost tomcat-6.0.36_1]# vi bin/startup.sh #!/bin/sh if [ “root” == “$USER” ] then echo “can’t start with user ‘root’,retry after change user!” exit 1 fi
openssl dhparam -out dhparam-1024.pem 1024
2018-12-08 by Jinyang | No Comments | Filed in 技术相关java 1. 7 不支持高强度的dhparam
会报: java. lang. RuntimeException: Could not generate DH keypair 的异常错误。
降级下强度可以解决。
升级到1.8更好。
步骤:
1. 生成新的1024位的dhparam文件: openssl dhparam -out dhparam-1024.pem 1024
2. 修改nginx中:ssl_dhparam /文件目录/dhparam-1024.pem; 并重启nginx
即可。
bootstrap modal 模式弹窗自适应高度并支持滚动条 不让滚动条透到下一层主界面
2018-11-24 by Jinyang | No Comments | Filed in 技术相关某弹出层 使用 bootstrap modal 实现 , 实际使用中 内容为ajax动态加载 当长度大于页面的一屏时 弹窗上滑动时 弹窗内容不动 弹窗下面的主界面却在滑动, 尝试了各种方法,下面的这个最为优雅。 $('#mendian').on('show.bs.modal', function () { $('.modal .modal-body').css('overflow-y', 'auto'); $('.modal .modal-body').css('max-height', $(window).height() * 0.8); });
routerOS NAT 转发 ADSL公网IP的某端口到内网某1个机器
2018-11-19 by Jinyang | No Comments | Filed in 技术相关/ip firewall nat add chain=dstnat protocol=tcp dst-port=*** dst-address-type=local action=dst-nat to-addresses=192.168.88.*** to-ports=80
MikroTik RB450Gx4 RouterOS V6 带来高效稳定的网络
2018-11-10 by Jinyang | 1 Comment | Filed in 技术相关家里一直是只有无线网络 好几年了 虽然不稳定 但也能凑乎。
在家办公这几个月 就无法忍受不稳定的无线网络了 正在ssh进行重要操作 回车下去网络断了 真的是能急死人 ,
家里用的零元购的斐讯K2路由器 刷的梅林系统 每天定时重启一次 但也还是没办法解决书房和次卧的网络信息问题 ,当作服务器使用的台式机也是使用的无线网卡 也存在不够稳定的现象。
分离路由和无线,让路由就是路由 无线就是无线 各司其职 是改造的目的,选型比较了若干方案,开源的RouterOS看样子大家都比较推荐,于是买入
Nat 转发 到台式机 ,飞快。
// 待有空完善。
BenJiao.com Bid History(10 Bidders:, 38 Bids)
2018-10-28 by Jinyang | No Comments | Filed in 技术相关BenJiao.com Bid History(10 Bidders:, 38 Bids)
Bidder | Bid | Date | Time |
---|---|---|---|
first1
High Bid
|
$350.00 | Oct 27 | 13:17:24 |
DefendOr6 | $330.00 | Oct 27 | 13:15:46 |
first1 | $310.00 | Oct 27 | 13:11:12 |
nameword | $290.00 | Oct 27 | 13:09:09 |
first1 | $270.00 | Oct 27 | 13:07:38 |
DefendOr6 | $250.00 | Oct 27 | 13:06:55 |
first1 | $230.00 | Oct 27 | 13:03:53 |
nameword
P
|
$210.00 | Oct 27 | 13:02:48 |
DefendOr6 | $204.00 | Oct 27 | 13:02:48 |
nameword
P
|
$194.00 | Oct 27 | 13:00:07 |
first1 | $194.00 | Oct 27 | 13:00:07 |
nameword | $184.00 | Oct 27 | 12:57:48 |
DefendOr6 | $174.00 | Oct 27 | 12:57:22 |
nameword | $164.00 | Oct 27 | 12:20:22 |
Alibackorders
P
|
$157.00 | Oct 27 | 12:20:22 |
Alibackorders
P
|
$154.00 | Oct 27 | 12:20:07 |
nameword | $144.00 | Oct 27 | 12:20:07 |
Alibackorders
P
|
$134.00 | Oct 27 | 11:55:40 |
nameword | $124.00 | Oct 27 | 11:55:39 |
Alibackorders | $114.00 | Oct 27 | 10:35:20 |
DefendOr6
P
|
$104.00 | Oct 27 | 09:34:59 |
nameword | $99.00 | Oct 27 | 09:34:59 |
DefendOr6 | $94.00 | Oct 27 | 09:23:38 |
nameword | $89.00 | Oct 27 | 08:13:26 |
first1 | $84.00 | Oct 27 | 06:33:25 |
nameword | $79.00 | Oct 27 | 03:47:30 |
SanPinDai
P
|
$78.00 | Oct 27 | 03:47:30 |
SanPinDai | $74.00 | Oct 26 | 23:08:34 |
first1 | $69.00 | Oct 24 | 21:39:18 |
bosskk | $64.00 | Oct 24 | 15:04:32 |
Alibackorders | $59.00 | Oct 24 | 12:02:37 |
wisely | $59.00 | Oct 24 | 12:02:37 |
WithoutAlias | $59.00 | Oct 24 | 12:02:37 |
first1 | $59.00 | Oct 24 | 12:02:37 |
danny9 | $59.00 | Oct 24 | 12:02:37 |
jiuzhe | $59.00 | Oct 24 | 12:02:37 |
nameword | $59.00 | Oct 24 | 12:02:37 |
DefendOr6 | $59.00 | Oct 24 | 12:02:37 |
Zaiti.com Bid History(24 Bidders:, 76 Bids)
2018-10-27 by Jinyang | No Comments | Filed in 技术相关Bidder | Bid | Date | Time |
---|---|---|---|
first1
High Bid
|
$1,577.00 | Oct 26 | 12:55:51 |
168888
P
|
$1,555.00 | Oct 26 | 12:55:51 |
168888
P
|
$1,527.00 | Oct 26 | 12:54:49 |
first1 | $1,477.00 | Oct 26 | 12:54:49 |
168888
P
|
$1,427.00 | Oct 26 | 12:54:09 |
first1 | $1,377.00 | Oct 26 | 12:54:09 |
168888
P
|
$1,327.00 | Oct 26 | 12:53:06 |
first1 | $1,277.00 | Oct 26 | 12:53:06 |
168888
P
|
$1,227.00 | Oct 26 | 11:31:16 |
Alibackorders | $1,177.00 | Oct 26 | 11:31:16 |
168888
P
|
$1,060.00 | Oct 26 | 11:28:18 |
Alibackorders | $1,010.00 | Oct 26 | 11:28:18 |
168888
P
|
$860.00 | Oct 26 | 11:26:59 |
Alibackorders | $810.00 | Oct 26 | 11:26:59 |
168888
P
|
$760.00 | Oct 26 | 10:01:22 |
nameword | $710.00 | Oct 26 | 10:01:22 |
168888
P
|
$660.00 | Oct 26 | 09:55:29 |
nameword | $610.00 | Oct 26 | 09:55:29 |
168888
P
|
$560.00 | Oct 26 | 09:41:39 |
nameword | $510.00 | Oct 26 | 09:41:39 |
168888
P
|
$485.00 | Oct 26 | 09:40:45 |
nameword | $465.00 | Oct 26 | 09:40:45 |
168888
P
|
$445.00 | Oct 26 | 09:32:48 |
Affiliate | $425.00 | Oct 26 | 09:32:48 |
168888
P
|
$405.00 | Oct 26 | 09:02:09 |
drop320 | $385.00 | Oct 26 | 09:02:09 |
168888
P
|
$365.00 | Oct 26 | 08:56:53 |
first1 | $345.00 | Oct 26 | 08:56:53 |
168888 | $325.00 | Oct 26 | 08:06:03 |
Alibackorders
P
|
$305.00 | Oct 26 | 08:05:49 |
168888 | $305.00 | Oct 26 | 08:05:49 |
Alibackorders
P
|
$285.00 | Oct 26 | 08:02:07 |
168888 | $265.00 | Oct 26 | 08:02:07 |
Alibackorders | $245.00 | Oct 26 | 07:06:47 |
first1 | $225.00 | Oct 26 | 02:47:42 |
Alibackorders
P
|
$205.00 | Oct 26 | 02:37:16 |
first1 | $204.00 | Oct 26 | 02:37:16 |
Alibackorders | $194.00 | Oct 26 | 02:26:43 |
first1 | $184.00 | Oct 25 | 08:09:44 |
Affiliate | $174.00 | Oct 25 | 05:31:53 |
first1 | $164.00 | Oct 24 | 23:01:52 |
Alibackorders | $154.00 | Oct 24 | 20:47:28 |
first1 | $144.00 | Oct 24 | 18:11:15 |
Alibackorders | $134.00 | Oct 24 | 09:35:07 |
Affiliate | $124.00 | Oct 24 | 08:40:13 |
first1 | $114.00 | Oct 23 | 23:46:24 |
nameword
P
|
$109.00 | Oct 23 | 23:46:24 |
nameword | $104.00 | Oct 23 | 22:23:12 |
first1 | $99.00 | Oct 23 | 22:13:21 |
nameword | $94.00 | Oct 23 | 21:21:24 |
first1 | $89.00 | Oct 23 | 21:09:06 |
nameword | $84.00 | Oct 23 | 20:40:46 |
Alibackorders
P
|
$79.00 | Oct 23 | 20:35:19 |
nameword | $79.00 | Oct 23 | 20:35:19 |
Alibackorders | $74.00 | Oct 23 | 19:23:04 |
bosskk | $69.00 | Oct 23 | 18:04:26 |
ecawen | $64.00 | Oct 23 | 12:50:49 |
zhuhewsc | $59.00 | Oct 23 | 12:08:29 |
Alibackorders | $59.00 | Oct 23 | 12:08:29 |
8820351 | $59.00 | Oct 23 | 12:08:29 |
jiuzhe | $59.00 | Oct 23 | 12:08:29 |
szdomains | $59.00 | Oct 23 | 12:08:29 |
first1 | $59.00 | Oct 23 | 12:08:29 |
yijiebackorder | $59.00 | Oct 23 | 12:08:29 |
WithoutAlias | $59.00 | Oct 23 | 12:08:29 |
primerlloc | $59.00 | Oct 23 | 12:08:29 |
nameword | $59.00 | Oct 23 | 12:08:29 |
justdropped | $59.00 | Oct 23 | 12:08:29 |
DefendOr6 | $59.00 | Oct 23 | 12:08:29 |
BadReligion | $59.00 | Oct 23 | 12:08:29 |
tintin | $59.00 | Oct 23 | 12:08:29 |
Jokers | $59.00 | Oct 23 | 12:08:29 |
skippy | $59.00 | Oct 23 | 12:08:29 |
mike000 | $59.00 | Oct 23 | 12:08:29 |
somealias | $59.00 | Oct 23 | 12:08:29 |
global | $59.00 | Oct 23 | 12:08:29 |
nginx access log format
2018-10-17 by Jinyang | No Comments | Filed in 技术相关https://grafana.com/dashboards/2292
log_format main '{"@timestamp":"$time_iso8601",'
'"@source":"$server_addr",'
'"hostname":"$hostname",'
'"ip":"$http_x_forwarded_for",'
'"client":"$remote_addr",'
'"request_method":"$request_method",'
'"scheme":"$scheme",'
'"domain":"$server_name",'
'"referer":"$http_referer",'
'"request":"$request_uri",'
'"args":"$args",'
'"size":$body_bytes_sent,'
'"status": $status,'
'"responsetime":$request_time,'
'"upstreamtime":"$upstream_response_time",'
'"upstreamaddr":"$upstream_addr",'
'"http_user_agent":"$http_user_agent",'
'"https":"$https"'
'}';