These days I am working on a certificate issue. During the debug session, I got a trick about how to retrieve the certificate from a server without using a browser. This is convenient in non-GUI environment, for example, shell environment.… Read More
Kubernetes pod termination events
A few days ago I was assigned a user story to investigate the upgrade of our application in Kubernetes environment without breaking the application servicing customers. One key point in this story is to find out how the Kubernetes pods terminates.… Read More
simple zookeeper shell commands
A few days ago I encountered an issue in a Kafka cluster. Each Kafka instances in the cluster constantly reported the below error logs: [2021-02-01 21:59:59,952] ERROR [KafkaApi-2] Number of alive brokers ‘0’ does not meet the required replication factor… Read More
setup robot framework environment
Robot Framework is widely used in our company to do webapp automation testing. This post lists the required steps to setup the environment for the robot framework. 1. Install pyenv pyenv is an excellent tool to switch python between multiple… Read More
install chrome in ubuntu and rhel linux
Chrome is an excellent web browser nowadays. It is widely used by normal users and web developers in Microsoft Windows OS. Sometimes, it is also desirable to use Chrome in Linux OS. This post describes the steps to install Chrome… Read More
pypi mirror from aliyun
When I use ‘pip install xxx’ command to install a python package, the pip command will download the package from https://pypi.org/simple and then install it. However, downloading packages from the URL https://pypi.org/simple is relatively slow from China. I recommend to use… Read More
raw.githubusercontent.com的DNS记录被污染了
今天晚上我在自己的Ubuntu系统上,执行如下命令,想安装pyenv工具: curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash 结果遇到错误,报connection refused。 curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused