上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: mongo 固定集合有几个特性: 自动丢弃历史数据 不能删除数据 不能修改成长度不一致的数据 既然不能修改成长度不一致的,其实可以你的数据加一个删除状态,默认0,删除后就改成1,这样就达到类似删除的效果 阅读全文
posted @ 2020-10-09 11:00 Binz 阅读(174) 评论(0) 推荐(0)
摘要: 前提:有A、B、C、D四台服务器,都在同一个网段,ABC不可联网,D可连接互联网。 在D安装代理软件 yum -y install tinyproxy 修改默认端口 vim /etc/tinyproxy/tinyproxy.conf Port 18899 #默认8888 #Allow 127.0.0 阅读全文
posted @ 2020-09-13 01:49 Binz 阅读(1359) 评论(0) 推荐(0)
摘要: seata 服务降成1.2即可解决 阅读全文
posted @ 2020-09-03 15:17 Binz 阅读(3320) 评论(0) 推荐(0)
摘要: mysql5.7以前的操作是,可以正常删除数据 DELETE FROM table1 WHERE id IN ( SELECT * FROM ( SELECT id FROM table1 WHERE id < 30 ) a ) mysql5.7的操作需要微调一下,因为mysql5.7的sql优化后 阅读全文
posted @ 2020-08-17 15:49 Binz 阅读(113) 评论(0) 推荐(0)
摘要: 需要有java、maven、springboot、阿里云域名使用经验、以及拥有一个域名 pom文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi= 阅读全文
posted @ 2020-05-28 18:14 Binz 阅读(1194) 评论(0) 推荐(0)
摘要: 拉取镜像 https://gitea.io/zh-cn/ docker pull gitea/gitea 如果遇到拉取镜像超时,请更换源 https://www.cnblogs.com/binz/p/11790948.html 文章底部有更换源说明 创建目录 mkdir -p /home/docke 阅读全文
posted @ 2020-05-27 11:27 Binz 阅读(2707) 评论(0) 推荐(0)
摘要: 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 阅读(1356) 评论(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 阅读(361) 评论(0) 推荐(0)
摘要: systemctl enable nginx #设置自启动 systemctl disable nginx #停止自启动ls /usr/lib/systemd/system #查看自启动列表 阅读全文
posted @ 2020-05-14 14:14 Binz 阅读(262) 评论(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 阅读(157) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页