上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页
摘要: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc required"make[1]: *** [ 阅读全文
posted @ 2017-10-10 11:13 三驾马车 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1.安装GCC[root@rekfan.com opt]# rpm -ivh cpp-4.1.2-48.el5.i386.rpm[root@rekfan.com opt]# rpm -ivh kernel-headers-2.6.18-194.el5.i386.rpm[root@rekfan.com 阅读全文
posted @ 2017-10-10 11:11 三驾马车 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 准备:1、下载Jrebel的离线安装包,版本是6.4.3版本。 2、下载Jrebel的破解补丁包,同样也是针对6.4.3版本的 Jrebel离线安装包官网下载地址:https://plugins.jetbrains.com/idea/plugin/4441-jrebel-for-intellij J 阅读全文
posted @ 2017-09-15 16:07 三驾马车 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 安装 ntp 在 /etc/ntp.conf 中配置 [plain] view plain copy restrict 127.0.0.1 //给予本机所有权限 restrict -6 ::1 //不大明白,针对IPV6吗? restrict 192.168.1.0 mask 255.255.255 阅读全文
posted @ 2017-09-03 23:52 三驾马车 阅读(756) 评论(0) 推荐(0) 编辑
摘要: 4. Redis的配置 4.1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no 4.2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件,可以通过pidfile指定 pidfil 阅读全文
posted @ 2017-08-30 18:04 三驾马车 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 1. 官网(https://redis.io/download)下载稳定版安装包 3.0.7或3.2或4.1; 2. 复制到部署服务器 /opt/redis4,解压 tar zxvf redis-4.0.1.tar.gz; 3. 编译:cd redis-4.0.1,执行命令make; 4. 安装:c 阅读全文
posted @ 2017-08-30 14:57 三驾马车 阅读(175) 评论(1) 推荐(0) 编辑
摘要: 查看状态:iptables -L -n 方法1.使用iptables开放如下端口/sbin/iptables -I INPUT -p tcp --dport 8000 -j ACCEPT保存/etc/rc.d/init.d/iptables save重启服务service iptables rest 阅读全文
posted @ 2017-08-30 14:37 三驾马车 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 先到IDEA官方网站下载IDEA并运行。 1. 到网站 http://idea.lanyus.com/ 获取注册码。 2.填入下面的license server: http://intellij.mandroid.cn/ http://idea.imsxm.com/ http://idea.iteb 阅读全文
posted @ 2017-08-14 08:45 三驾马车 阅读(118) 评论(0) 推荐(0) 编辑
摘要: MQ框架非常之多,比较流行的有RabbitMq、ActiveMq、ZeroMq、kafka。这几种MQ到底应该选择哪个?要根据自己项目的业务场景和需求。下面我列出这些MQ之间的对比数据和资料。 第一部分:RabbitMQ,ActiveMq,ZeroMq比较 1、 TPS比较 一 ZeroMq 最好, 阅读全文
posted @ 2017-08-13 08:45 三驾马车 阅读(368) 评论(0) 推荐(0) 编辑
摘要: Spring中处理JSON请求通常使用@RequestBody和@ResponseBody注解,针对JSON请求加解密和过滤字符串,Spring提供了RequestBodyAdvice和ResponseBodyAdvice两个接口 具体使用 1、解密: 2、加密: 注解类: 默认是true,我这边使 阅读全文
posted @ 2017-07-27 14:47 三驾马车 阅读(475) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页