8 年前

KAFKA - While recording the replica LEO, the partition

疑难杂症   kafka  

Kafka报错: datacenter,11] hasn't been created. (kafka.server.ReplicaManager) [2017-03-30 15:45:46,583] WARN [Replica Manager on Broker 1]: While recording the replica LEO, the partition [lytx2-datacen…

8 年前

python 使用ssh隧道连接mysql

Shell/Python   sshtunnel  

环境 数据库只允许内网访问 服务器公网SSH访问 模块安装 pip install sshtunnel -i https://pypi.doubanio.com/simple/ pip install MySQL-python==1.2.5 -i https://pypi.doubanio.com/simple/ 方法 #!/usr/bin/python #_*_coding:utf-8_…

8 年前

pycurl监控http响应时间

运维监控   站点监控  

pycurl 的一些响应信息 参考文档 pycurl.NAMELOOKUP_TIME 域名解析时间 pycurl.CONNECT_TIME 远程服务器连接时间 pycurl.PRETRANSFER_TIME 连接上后到开始传输时的时间 pycurl.STARTTRANSFER_TIME 接收到第一个字节的时间 pycurl.TOTAL_TIME…

8 年前

MySQL 报错收集整理

MySQL 报错   疑难杂症  

一、MySQL5.6开始提供新特性GTID模式 Warning: Using a password on the command line interface can be insecure. Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transac…

8 年前

RAR for Linux 安装使用方法

rar for linux  

下载安装 wget http://www.rarlab.com/rar/rarlinux-x64-5.4.0.tar.gz tar zxvf rarlinux-x64-5.4.0.tar.gz -c /usr/local/rar ln -s /usr/local/rar/rar /usr/bin/rar ln -s /usr/local/rar/unrar /usr/bin/unrar…