前言 nginx和fastcgi的通信方式有两种,一种是TCP的方式,一种是unix socke方式。两种方式各有优缺点,这里先给出两种的配置方法,然后再对性能、安全性等做出总结。 TCP是使用TCP端口连接127.0.0.1:9000Socket是使用unix domain socket连接套接字 ...
分类:
其他好文 时间:
2018-06-02 14:55:20
阅读次数:
196
```bash reset74.sh Step1. configure temporary yum repo mount /dev/sr0 /mnt rm f /etc/yum.repos.d/ .repo cat /etc/yum.repos.d/base.repo /etc/ntp.conf / ...
分类:
其他好文 时间:
2018-06-02 12:21:54
阅读次数:
185
报错:Source not found for GeneratedMethodAccessor127.invoke(Object, Object[]) line: not available 我在使用ssm框架,从前台向数据库插入值时引起了这个错误,现在总结一下错误原因(本人总结的问题原因只是我遇到 ...
分类:
数据库 时间:
2018-06-02 00:40:43
阅读次数:
333
The only thing I can think of is that event is in fact window.event and it makes itself available when some event dispatches and Event...but that woul ...
分类:
编程语言 时间:
2018-05-31 12:53:03
阅读次数:
299
SAPNET 原文:http://www.cnblogs.com/qiangsheng/archive/2008/03/17/1109823.html SAPNet is the intranet portal of SAP that provides a role-based and person ...
分类:
Web程序 时间:
2018-05-30 13:57:17
阅读次数:
229
DEBUG 2018-05-30 08:43:26,091 org.springframework.jdbc.datasource.DataSourceTransactionManager: Rolling back JDBC transaction on Connection [com.mysql ...
分类:
Web程序 时间:
2018-05-30 10:50:49
阅读次数:
323
2. 利用keepalived实现高可靠配置(HA) 2.1. 高可靠概念 HA(High Available):高可用性集群,是保证业务连续性的有效解决方案,一般有两个或两个以上的节点,且分为活动节点及备用节点。 2.2. 高可靠软件keepalived keepalive是一款可以实现高可靠的软 ...
分类:
其他好文 时间:
2018-05-29 20:34:53
阅读次数:
224
一、JAVA中获取JVM的信息 原理,利用JavaSDK自带的ManagementFactory类来获取。 二、获取信息 1、获取进程ID 2、获取ManagementFactory.getRuntimeMXBean()的其它信息 3、获取操作系统信息 ...
分类:
编程语言 时间:
2018-05-29 19:01:07
阅读次数:
460
安装sshpass的时候,报了如下错误: 更改软件源之后也无效。直到看到StackOverFlow上的一个问题:https://stackoverflow.com/questions/25329501/installing-openssh-on-centos/42632851#42632851?ne ...
分类:
其他好文 时间:
2018-05-29 17:42:57
阅读次数:
957
[toc] Kubelet Node Allocatable Kubelet Node Allocatable用来为Kube组件和System进程预留资源,从而保证当节点出现满负荷时也能保证Kube和System进程有足够的资源。 目前支持cpu, memory, ephemeral storage ...
分类:
其他好文 时间:
2018-05-28 16:14:09
阅读次数:
590