#dns_web_logs install sudo apt-get update sudo apt-get install python3-pip export LC_ALL=C pip3 install dnslib pip3 install coloredlogs pip3 install flask apt-get install tmux 然后直接运行 python3 dns_web_log.py 剩下参考:http://www.cnblogs.com/yangxiaodi/p/8449086.html