2023年9月5日
摘要: -- sql执行频率 (Com_select 频率最高) SHOW GLOBAL STATUS LIKE 'Com_______' -- 慢查询日志-- OFF 关闭 ON打开-- etc/mysql.conf-- slow_query_log=1-- long_query_time=2SHOW V 阅读全文
posted @ 2023-09-05 11:16 biind 阅读(2) 评论(0) 推荐(0) 编辑
  2023年9月3日
摘要: yum -y install httpd-tools ab -n 1000 -c 100 -p ~/postfile -T application/x-www-form-urlencoded http://192.168.0.102:8080/test/test ab -n 1000 -c 100 阅读全文
posted @ 2023-09-03 08:50 biind 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 主机名vim /etc/hostnamenode1.itcast.cnnode2.itcast.cn Hosts映射vim /etc/hosts192.168.0.140 node1 node1.itcast.cn192.168.0.141 node2 node2.itcast.cn 192.168 阅读全文
posted @ 2023-09-03 08:22 biind 阅读(6) 评论(0) 推荐(0) 编辑
  2023年8月23日
摘要: 定位背景:记录java的接口,是否开启事务,分析问题。 @Transactional(rollbackFor = Exception.class) SHOW FULL PROCESSLIST; SELECT * FROM `business_bed` SHOW GLOBAL STATUS LIKE 阅读全文
posted @ 2023-08-23 16:38 biind 阅读(13) 评论(0) 推荐(0) 编辑
  2023年8月17日
摘要: docker pull mysql:8.0.16 docker run \ -p 3306:3306 \ -e MYSQL_ROOT_PASSWORD=123456 \ -v /home/docker/mysql/conf:/etc/mysql/ \ -v /home/docker/mysql/da 阅读全文
posted @ 2023-08-17 12:36 biind 阅读(12) 评论(0) 推荐(0) 编辑
  2023年8月8日
摘要: ping www.baidu.com 下载方式1wget https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png下载方式2curl -O https://www.baidu.com/img/PCtm_d9c8750bed 阅读全文
posted @ 2023-08-08 20:55 biind 阅读(28) 评论(0) 推荐(0) 编辑
  2023年8月6日
摘要: Dockerfile FROM nginx LABEL company=com.ligy LABEL by=ligenyun COPY dist/ /usr/share/nginx/html/ docker-compose.yml version: '3' services: ui2: contai 阅读全文
posted @ 2023-08-06 17:16 biind 阅读(46) 评论(0) 推荐(0) 编辑
  2023年3月2日
摘要: 1.准备vue打包后的dist 2.部署docker 1.准备vue打包后的dist a:1个dist目录;1个Dockerfile 文件。内容如下: FROM nginxCOPY dist/ /usr/share/nginx/html/ 说明:自动拉nginx 最新版本镜像,生成vue镜像 2.部 阅读全文
posted @ 2023-03-02 09:05 biind 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 软件: 1.xftp 2.VM vistualBox 目录: 1.本地jar包准备 2.docker部署 1.本地jar包准备 2.docker部署 a.两个文件:jar + Dockerfile Dockerfile 名字唯一,只能这个取名 文件1:jar包;文件2:内容如下。 FROM open 阅读全文
posted @ 2023-03-02 07:01 biind 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1.mysql 2.redis PS:熟悉基本docker使用命令 images ps pull run exec rm rmi tag push start restart stop 1.mysql #安装最新版本docker pull mysql#安装指定版本docker pull mysql: 阅读全文
posted @ 2023-03-02 06:31 biind 阅读(20) 评论(0) 推荐(0) 编辑