摘要:
下载 https://grafana.com/grafana/download 安装 systemctl enable grafana-server.service systemctl start grafana-server.service 浏览器打开 ip:3000 reference: htt 阅读全文
摘要:
userparameter_mysql.conf /var/lib/zabbix/my.cnf zabbix_get 在本地使用前需在zabbix_agentd.conf配置文件中Server项添加本机ip 127.0.0.1 zabbix_get -s 127.0.0.1 -p 10050 -k 阅读全文
摘要:
pip install jupyterlabpip install requestspip install lxmlpip install beautifulsoup4pip install pandaspip install matplotlib cd C:\Users\E2124\Pycharm 阅读全文
摘要:
关闭指定名称进程 ps -ef| grep -i mysql|grep -v grep | awk '{print $2}'|xargs kill -9 rpm -Uvh --force --nodeps *.rpm vim ~/.ssh/authorized_keys for i in {6..9 阅读全文
摘要:
#开启binloglog_bin=/data/binlog/mysql-bin #主库进行备份innobackupex --defaults-file=/etc/my.cnf --socket=/data/binlog/mysql.sock --stream=tar /backup/xtraback 阅读全文
摘要:
安装 pip3 install supervisor-4.2.1-py2.py3-none-any.whl https://blog.csdn.net/xyang81/article/details/51555473 阅读全文
摘要:
fdisk -lpvcreate /dev/sdavgcreate datavg /dev/sda lvcreate -L 5G -n lv_mysql datavglvcreate -L 5G -n lv_errlog datavglvcreate -L 10G -n lv_binlog data 阅读全文
摘要:
mgrDetection.sh #!/bin/bash export PATH=$PATH:/mysqlrouter/bin/ cd /mysqlrouter/scripts/ # check whether mysql router is runnning,if not start it. pnu 阅读全文
摘要:
本文所演示的多主MGR三个节点均部署在同一台虚拟机,所以需先搭建MySQL多实例具体步骤可参考本人另一篇blog #所有节点执行 #安装MGR插件 修改server_id,server_uuid确保同一复制组的各个服务器的值都不一样 chown -R mysql:mysql /mysql insta 阅读全文
摘要:
下载源文件:https://www.zabbix.com/download_sourcesyum install -y gcc pcre* groupadd --system zabbix useradd --system -g zabbix -d /zabbix -s /sbin/nologin 阅读全文