摘要:
kafka安装和简单测试 # 安装zookeeper(apache-zookeeper-3.5.6-bin)https://archive.apache.org/dist/zookeeper/zookeeper-3.5.6/apache-zookeeper-3.5.6-bin.tar.gz # 安装 阅读全文
2019年12月11日 #
2019年12月10日 #
摘要:
准备工作 1、安装TortoiseSVN,在安装时需要安装svn命令行工具; 2、拉取svn代码; svn co https://svn.myserver.cn/svn/myproject1\trunk 3、生成日志文件 3.1 按照指定日期生成 svn log -v --xml -r {2019- 阅读全文
2019年12月3日 #
摘要:
// java.net.URLEncoder对中文的编码和解码String str = URLEncoder.encode("测试字符串", "utf-8");str = java.net.URLDecoder.decode(str, "UTF-8");System.out.println("str 阅读全文
2019年11月29日 #
摘要:
引入mod_proxy_wstunnel.so模块,使其可以解析ws、wss协议 LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so 配置代理路径跳转 ProxyPass "/myapp.ws" "ws://58.58.58. 阅读全文
2019年11月21日 #
摘要:
function get_cert_info($domain){ $context = stream_context_create(['ssl' => [ 'capture_peer_cert' => true, 'capture_peer_cert_chain' => true, ], ]); $client = stream_socket_client("ssl://".$domain.":4 阅读全文
2019年11月7日 #
摘要:
问题 最近有个项目,运算量比较大,服务器经常报 504 Gateway Time-out 解决方案 fastcgi_connect_timeout 默认值是 60 第一次尝试修改为 120 ,仍然报504 第二次直接修改为 300, 不在报504 通过监控发现,程序运算耗时接近4分钟 阅读全文
2019年10月23日 #
摘要:
转载:https://www.cnblogs.com/lfxiao/p/9519759.html 查看分区#fdisk -l 增加分区(默认值回车)#fdisk /dev/sdapnp3w 重启#reboot 格式化新增分区#mkfs.ext3 /dev/sda3 建立挂载目录#mkdir /dat 阅读全文
摘要:
查看所有表的字符集 SELECT table_name, table_type, engine, version, table_collation FROM information_schema.tables WHERE table_schema = 'test_db11' ORDER BY tab 阅读全文
摘要:
转载:https://mp.weixin.qq.com/s/us1b8gLbS5djEAFnTlQyGQ 1.杀死所有正在运行的容器 docker kill $(docker ps -a -q) 2.删除所有已经停止的容器 docker rm $(docker ps -a -q) 3.删除所有镜像 阅读全文
2019年10月22日 #
摘要:
https://www.runoob.com/docker/docker-install-mysql.html #docker search mysql #docker pull mysql:5.6 #docker images |grep mysql #docker run -p 3306:330 阅读全文