一、安装redis 1、下载redis包 wget http://download.redis.io/releases/redis-3.2.1.tar.gz 2、解压redis包到/opt下 tar -zxvf /home/redis-3.2.1.tar.gz -C /opt 3、安装并测试redi ...
分类:
其他好文 时间:
2017-05-08 00:22:58
阅读次数:
260
@Transactional事务加上 ,然后就是会报 Lock wait timeout exceeded; try restarting transaction,代码里面有多个增删改 。 解决:@Transactional(readOnly = false) ...
分类:
编程语言 时间:
2017-05-06 15:54:30
阅读次数:
126
1、错误描写叙述 三月 15, 2015 6:50:23 下午 org.apache.catalina.core.StandardContext filterStart 严重: Exception starting filter struts2 java.lang.NoClassDefFoundEr ...
分类:
编程语言 时间:
2017-05-05 20:56:16
阅读次数:
227
[root@iZ25m1box8cZ zabbix]# /etc/init.d/zabbix_server start Starting zabbix_server (via systemctl): [ OK ] [root@iZ25m1box8cZ ~]# ps -ef|grep zabbix r ...
分类:
系统相关 时间:
2017-05-05 18:24:00
阅读次数:
3980
Substring with Concatenation of All Words You are given a string, s, and a list of words, words, that are all of the same length. Find all starting in ...
分类:
其他好文 时间:
2017-05-01 12:50:12
阅读次数:
146
前言:測试过程中,须要在Linux环境下配置免安装版本号的Tomcat。以下列出具体步骤,希望对大家有帮助。 一、下载免安装版Tomcat 打开Tomcat主页http://tomcat.apache.org/。下载Tomcat免安装版。我这里下载的是apache-tomcat-7.0.2.tar. ...
分类:
系统相关 时间:
2017-05-01 11:07:15
阅读次数:
235
刚装完MySQL,启动时报如下错误:StartingMySQL.Managerofpid-filequitwithoutupdatingfile.[FAILED]解决Linux下MySQL启动错误StartingMySQL.Managerofpid-filequitwithoutupdatingfile.[FAILED]依次尝试了从谷歌找到的各种方法,发现只要执行如下MySQL初始化命令即可解决:/us..
分类:
数据库 时间:
2017-04-30 23:03:33
阅读次数:
241
题目: You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a c ...
分类:
编程语言 时间:
2017-04-29 17:34:03
阅读次数:
240
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege ...
分类:
移动开发 时间:
2017-04-29 12:50:32
阅读次数:
223
之前有一位朋友咨询我,Impala中怎样实现将多列转为一行,事实上Impala中自带函数能够实现,不用自己定义函数。 以下我開始演示: -bash-4.1$ impala-shell Starting Impala Shell without Kerberos authentication Conn ...
分类:
其他好文 时间:
2017-04-29 11:00:59
阅读次数:
217