Supervisord-使用文档

环境依赖 # python2.7版本 # supervisord支持include功能 安装 # 建议最新版本 pip install supervisor==4.1.0 配置 # /root/.virtualenvs/test/bin/echo_supervisord_conf # 如果是virtual……

阅读全文

Mysql-5.7-json测试

创建表 /* create table json_table ( id int unsigned primary key auto_increment comment '主键', json_info json comment 'json数据', json_id int generated always as (json_info -> '$.id') comment 'json……

阅读全文

Mysql-8.0安装文档

mysql8.0安装文档 安装 wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.23-1.el6.x86_64.rpm-bundle.tar tar xvf mysql-8.0.23-1.el6.x86_64.rpm-bundle.tar # yum install mysql-community-{server,client,common,libs}-* yum install *rpm 初始化 mysqld --initialize chown -R mysql: /var/lib/mysql 改密码 mysql_secure_installation # shell> grep 'temporary password' /var/log/mysqld.log # mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass4!'; 参考 https://learnku.com/articles/38466……

阅读全文

Linux-硬盘io测试

硬盘io测试 高IO写测试 # 64k写 mkdir /data1/disk-io fio -name iops -rw=write -bs=64k -runtime=60 -iodepth 32 -filename /data1/disk-io/test.bin -ioengine libaio -direct=1 -size=1g # 查看结果 iostat -x 1 Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await r_await w_await svctm %util nvme1n1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00……

阅读全文