Symptom When try to delete container, it failed to remove and reportd below error: Solution 1. Find out which process has mounted this busy mountpoint: /var/lib/docker/overlay…
Here's a summary of the ways to call external programs and the advantages and disadvantages of each: os.system("some_command with args") passes the command and argum…
C10k problem How to configure operating systems and write code to support thousands of clients is what we called C10k problem Candidates: Django It is a high-level Python Web …
The reason is MySQL v 5.7 or higher generates a temporary random password after installation and stored that in mysql error log file, located at /var/log/mysqld.log for an ins…
Sphinx is a tool that makes it easy to create intelligent and beautiful documentation. It was originally created for the Python documentation, and it has excellent facilities …
There is a new feature in Celery4.x which introduce a Promise like style async method which can retrieve result asynchronicly. But I nerver make it works with RabbitMQ backend…
类似于sosreport之类的module可以从/usr/lib//site-packages/直接导入并加以使用 e.g: import sos.policyredhat, 但是自己创建的package直接放入/usr/lib//site-packages/ 并不能直接import,提示module不存在错误。要使第三方创建的模块被其他pytho…
最近败了一个Netgear6900,原装Netgear固件运行很稳定,但可玩性不高,可惜了这个双核1G的CPU和256M内存,忍耐不住刷了梅林固件。基于华硕和网件基本采用同一个解决方案开发,使用网件的硬件稍作修改用华硕的固件也可以刷,基于第三方定制开发的华硕固件,叫做梅林(Merlin)。 原始的梅林固件来自于:A custom firmware …
中国电信安装宽带允许自己自购光猫,现将光猫安装设置方法描述如下,全部以中兴光猫为例,在中兴F412和F420上实验通过。 将光纤口插入光猫的光纤口在光猫的任意一网口上连接笔记本或者电脑,找到光猫的默认终端配置地址,一般在光猫的外壳上有标识,例如:192.168.1.1设置电脑或笔记本的ip在光猫默认配置地址一致的子网内,比如上述192.168.1.…
It spent me several hours to find out the root cause why the importing operation failed while importing 'a.b.c' module. I wrote a function in init.py in 'a' package, I plan to…