上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 1、拉取镜像 docker pull sjqzhang/go-fastdfs 2、创建挂载目录 mkdir -p /home/dockerdata/gofastdfs/data 3、运行容器 docker run -d --restart=always --name gofastdfs -v /ho 阅读全文
posted @ 2020-05-18 18:20 Binz 阅读(1182) 评论(0) 推荐(0) 编辑
摘要: 内存前十:ps aux | head -1; ps aux | sort -k4nr | head -10 ip连接数统计: netstat -tun | awk '{print $5}' | cut -d: -f1 |sort | uniq -c | sort -n 端口占用:lsof -i:80 阅读全文
posted @ 2020-05-15 14:32 Binz 阅读(332) 评论(0) 推荐(0) 编辑
摘要: systemctl enable nginx #设置自启动 systemctl disable nginx #停止自启动ls /usr/lib/systemd/system #查看自启动列表 阅读全文
posted @ 2020-05-14 14:14 Binz 阅读(252) 评论(0) 推荐(0) 编辑
摘要: centos7 yum install epel-release yum update yum install -y nginx #安装stream模块,如果需要 yum install nginx-mod-stream -y# systemctl start nginx.service 启动ngi 阅读全文
posted @ 2020-05-14 14:07 Binz 阅读(146) 评论(0) 推荐(0) 编辑
摘要: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl start firewalld #启动 firewall firewall-cmd - 阅读全文
posted @ 2020-05-14 11:49 Binz 阅读(259) 评论(0) 推荐(0) 编辑
摘要: seata docker部署:https://www.cnblogs.com/binz/p/12841125.html nacos docker部署:https://www.cnblogs.com/binz/p/12295346.html 此配置基于seata.1.2集成,安装也请安装1.2版本se 阅读全文
posted @ 2020-05-09 16:48 Binz 阅读(1550) 评论(0) 推荐(0) 编辑
摘要: 服务端及源码下载地址:https://seata.apache.org/zh-cn 项目地址: https://github.com/seata/seata 项目官网: https://seata.io/zh-cn/docs/overview/what-is-seata.html 重要bug提示:s 阅读全文
posted @ 2020-05-07 10:03 Binz 阅读(7850) 评论(0) 推荐(1) 编辑
摘要: 1、链式调用方式 服务A 事务方法的最后一行 调用服务B事务方法, 服务B事务方法的最后一行 调用服务C事务方法 因为都是每个方法的最后一行,从上往下执行,如果有任何一个服务出现问题,那么整条链路都会回滚事物 2、通过mq自己手动回滚业务(补偿事务(TCC)) 比如订单提交,可以先在订单服务完成订单 阅读全文
posted @ 2020-04-29 11:52 Binz 阅读(984) 评论(1) 推荐(0) 编辑
摘要: //访问url : http://www.mca.gov.cn/article/sj/xzqh/2020/2020/202003301019.html //打开控制台console执行以下代码 var script = document.createElement('script');script. 阅读全文
posted @ 2020-04-24 15:09 Binz 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: 拉镜像 docker pull registry.cn-hangzhou.aliyuncs.com/anoy/yapi 创建挂载目录 mkdir -p /data/yapi/mongodata 运行专用mongo docker run --restart always -v /data/yapi/m 阅读全文
posted @ 2020-04-12 12:26 Binz 阅读(6141) 评论(6) 推荐(2) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页