摘要: windows 调用服务: services.msc windows更深入的了解: https://brianbondy.com/blog/100/understanding-windows-at-a-deeper-level-sessions-window-stations-and-desktop 阅读全文
posted @ 2021-12-17 20:12 mmgithub123 阅读(166) 评论(0) 推荐(0)
摘要: 官网: https://kafka.apache.org/quickstart install: wget --no-check-certificate https://dlcdn.apache.org/kafka/3.0.0/kafka_2.13-3.0.0.tgz (scala版本2.13,ka 阅读全文
posted @ 2021-12-17 19:12 mmgithub123 阅读(119) 评论(0) 推荐(0)
摘要: wget https://archive.apache.org/dist/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz tar -zxvf apache-zookeeper-3.6.3-bin.tar.gz bin/zkSer 阅读全文
posted @ 2021-12-17 17:07 mmgithub123 阅读(33) 评论(0) 推荐(0)
摘要: 安装: rpm -ivh jdk-8u191-linux-x64.rpm 配置/etc/profile #javaexport JAVA_HOME=/usr/java/defaultexport PATH=$JAVA_HOME/bin:$PATHexport CLASSPATH=.:$JAVA_HO 阅读全文
posted @ 2021-12-17 16:44 mmgithub123 阅读(25) 评论(0) 推荐(0)
摘要: 故障案例:服务器重启了,但设定了systemctl enable mongod 但mongo还是没有自动和机器重启,systemd日志报: ExecStart=/usr/local/mongodb/bin/mongod -f /etc/mongod.conf (code=exited, status 阅读全文
posted @ 2021-12-17 14:45 mmgithub123 阅读(278) 评论(0) 推荐(0)
摘要: make test 时需要: 安装一下8.5或者最新的tcl 1 2 3 4 5 6 [root@etcd3 tmp]# wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz [root@etcd3 tmp]# tar xzvf 阅读全文
posted @ 2021-12-17 14:25 mmgithub123 阅读(116) 评论(0) 推荐(0)
摘要: shell返回值与异常处理: $?是接收上一条函数的执行结果,在例一中,$?接收test函数的执行结果,执行结果其实就是其返回值,就是return 传出来的数值(return只能是数字,不能是字符串之类的),如果函数中没有显式调用return返回出来状态,那么系统会使用函数中最后一条shell指令的 阅读全文
posted @ 2021-12-17 13:36 mmgithub123 阅读(246) 评论(0) 推荐(0)