摘要: 1、查看kafka的topic详细信息 bin/kafka-topics.sh --zookeeper 127.0.0.1:2181 --topic test --describe 配置delete.topic.enable=true,重启kafka服务就可以了 直接通过命令删除,如果命令删除不掉, 阅读全文
posted @ 2018-09-05 23:14 水中的火柴盒 阅读(2850) 评论(0) 推荐(1) 编辑
摘要: iptables -I INPUT -p tcp --dport 8080 -j ACCEPT 阅读全文
posted @ 2018-09-04 14:54 水中的火柴盒 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 参考文档:https://www.2cto.com/ask/question/4598 location = /index.html { add_header Cache-Control "no-cache, no-store"; } no-cache, no-store可以只设置一个no-cach 阅读全文
posted @ 2018-08-31 16:29 水中的火柴盒 阅读(2739) 评论(0) 推荐(0) 编辑
摘要: 参考文档: https://www.cnblogs.com/hark0623/p/5715726.html https://www.cnblogs.com/fqfanqi/p/7900758.html 未完 阅读全文
posted @ 2018-08-24 15:06 水中的火柴盒 阅读(1340) 评论(0) 推荐(0) 编辑
摘要: 这就要注意了 阅读全文
posted @ 2018-07-31 19:35 水中的火柴盒 阅读(135) 评论(0) 推荐(0) 编辑
摘要: k8s集群环境:三台机器,一台master,三个node(每台都安装node服务) 问题藐视:重启的时候,发现master的服务都能正常启动,但是就是不好使,看/var/log/message日志也没有报错, 阅读全文
posted @ 2018-07-27 21:15 水中的火柴盒 阅读(1130) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/magerguo/article/details/49636231 阅读全文
posted @ 2018-07-25 13:07 水中的火柴盒 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 因为u盘量产,一个u盘两启,所以linux需要访问多个cdrom(一个物理光驱,一个虚拟光驱),本来一位无法使用,看了看/dev目录下面, [root@linux-node3 cdrom]$ ll /dev/ crw-rw 1 root cdrom 21, 1 Jul 17 18:41 sg1crw 阅读全文
posted @ 2018-07-21 10:50 水中的火柴盒 阅读(1349) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/kepa520/article/details/50222049 查看网卡UUID nmcli con show 查看mac地址 nmcli device show [interface] 阅读全文
posted @ 2018-07-20 14:58 水中的火柴盒 阅读(6248) 评论(0) 推荐(0) 编辑
摘要: server { listen 80 default_server; listen [::]:80 default_server; server_name _; root /usr/share/nginx/html; # Load configuration fil... 阅读全文
posted @ 2018-07-17 16:31 水中的火柴盒 阅读(4359) 评论(0) 推荐(0) 编辑