This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./kafka-consumer-groups.sh --new-consumer --bootstrap-server localhost:9092 --list | |
./kafka-consumer-groups.sh --new-consumer --bootstrap-server localhost:9092 --group Lbs --describe | |
./kafka-console-consumer.sh --zookeeper localhost:2181 --topic lbs.location | |
./kafka-topics.sh --zookeeper localhost:2181 --list | |
./kafka-topics.sh --zookeeper localhost:2181 --describe --topic lbs.location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 不使用共享密钥 | |
vim /etc/ppp/options | |
plugin L2TP.ppp | |
l2tpnoipsec | |
# 添加静态路由 | |
sudo /sbin/route add -net 168.100.0.0/16 -interface ppp0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find / -name ".DS_Store" -depth -exec rm {} \; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#复制XML文件到resources目录并保持目标结构 | |
find . -name '*.xml' -exec gcp --parents \{\} ../resources \; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 查看服务启动日志 | |
journalctl -u nexus.service | |
# 查看ubuntu版本 | |
sudo lsb_release -a |