- 博客(14)
- 资源 (4)
- 收藏
- 关注
原创 使用Let’s Encrypt将WordPress改造为Https访问
本文链接:https://www.kxylqc.com/index.php/2016/06/20/wphttps/ 来源:我的网站Pasenger's Home 1.获取证书 git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt ./letsencrypt-auto certonly –
2016-06-21 07:32:43
2586
原创 Spring RestTemplate结果中文乱码解决方案
restTemplate = new RestTemplate(); List> converterList = restTemplate.getMessageConverters(); converterList.remove(1); //移除StringHttpMessageConverter HttpMessageConverter converter = new StringHtt
2016-05-19 13:47:56
2469
原创 FreeRadius安装与配置
freeradius简介 详见官网http://freeradius.org freeradius安装 ./configure --prefix=/opt/freeradius-server --with-openssl-includes=/usr/local/include/ --with-openssl-libraries=/usr/local/lib64 --with-rl
2016-05-04 08:44:01
3100
原创 WiFi-Portal认证中的坑:iOS9.3.1弹出portal慢+认证失败问题
问题现象 直观现象 在iOS 9.3.1版本下,弹出portal页面很慢,portal认证完成后,切出portal会断网。 微观现象 在portal认证过程中,portal右上角的“取消”按钮一直未变成“完成”,切出或关闭portal页面后,手机会立即断开wifi连接。 分析结果 经过和华为的人员抓包分析,此问题是由于iOS和某些app兼容性问题,导致iOS在portal认真过
2016-05-04 08:34:17
10386
原创 WiFi-Portal认证中的坑:osx portal页面无法和portal server通信问题
来来回回测试几天,终于解决了问题,但是还是没时间找出原因,先简单描述一下吧。 硬件环境 华为AC+AP 问题现象 osx系统连接ssid后,自动弹出的portal页面中无法和portal服务器通信,导致点击任何按钮都无效,抓包看是ajax未调用。 ajax调用失败时XMLHttpRequest.status = 0 在windows、ios、android系统下正常。 解决方
2016-05-04 08:22:11
2082
原创 redis-3.0集群安装
1. 下载redis最新版 2. 安装redis 解压后: make & make install 安装集群需要的依赖环境: yum install ruby yum install rubygems gem install redis 3. 拷贝配置文件到根目录
2015-11-26 16:05:36
530
原创 php xdebug配置
[xdebug] zend_extension="D:\apps\php-5.5.23\ext\php_xdebug-2.3.2-5.5-vc11-x86_64.dll" xdebug.remote_enable = On xdebug.remote_handler = dbgp xdebug.remote_host= localhost xdebug.remote_port = 901
2015-11-26 16:03:30
492
原创 php redis插件安装
下载phpredis https://github.com/phpredis/phpredis解压 安装 cd phpredis-develop /opt/php/bin/phpize ./configure --with-php-config=/opt/php/bin/php-config make make install配置php.ini 增加extension=redi
2015-11-26 16:02:51
769
原创 Kafka集群安装
1. zookeeper配置 zoo.cfg: dataDir=/opt/zookeeper-3.4.6/data server.1=10.8.122.26:2888:3888 server.2=10.8.122.27:2888:3888 server.3=10.8.122.28:2888:3888 2. 启动zo
2015-11-26 16:01:34
379
原创 Nginx运行php的配置
server { listen 8001; server_name localhost; set $root_path /Users/pasenger/Code/github/php/phalcon/tutorial/public; root $root_path; #acces
2015-05-06 20:36:26
590
原创 MySQL Cluster安装
1. 准备环境 采用二进制包进行安装 安装包名称为:mysql-cluster-gpl-7.4.4-linux-glibc2.5-x86_64.tar.gz 关闭防火墙: service iptables stop 关闭防火墙开机启动 chkconfig iptables off 2. 添加用户和组 groupadd mysql useradd mysql mysql
2015-05-06 20:35:29
555
原创 logback性能调优测试
1. RollingFileAppender 配置: class="ch.qos.logback.core.rolling.RollingFileAppender"> false --> --> %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{32} %L - %msg %n -->
2014-08-15 11:53:56
6097
原创 Redis sentinel集群实验
1. 环境搭建 1.1. 主机配置 虚拟机四台 系统centos 6.5 IP分配: 主节点:192.168.100.131 从节点:192.168.100.132,192.168.100.13,192.168.100.13 1.2. 配置主从节点 1.2.1. 主节点配置 同单节点配置即可:
2014-05-16 22:07:18
829
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅