首页 文章 精选 留言 我的

精选列表

搜索[三大系统],共10000篇文章
优秀的个人博客,低调大师

MeEdu v4.0 版本上线,在线教育点播系统

v4.0将MIT协议切换为BSD-3协议。 新增 ✅一键升级命令(升级更加简单) ✅公安网备案配置 ✅微信公众号PC扫码登录(非开放平台) ✅微信JSAPI支付 ✅后台对用户发送站内消息 ✅腾讯云自适应转码播放支持 ✅后台用户详情增加用户视频观看记录列表 ✅微信浏览器内的网页分享自定义标题,描述,图片 优化 ✅优化注册业务代码 ✅默认队列驱动改为sync ✅优化课程价格文案 ✅优化阿里云和腾讯云播放器播放界面按空格键暂停/重新播放 ✅前端依赖更新 ✅优化社交登录业务逻辑代码 ✅微信公众号事件的eventKey支持正则 ✅优化手机号强制绑定 ✅优化公告H5界面 修复 ✅修复因删除视频导致课程404 ✅修复H5密码重置发送验证码失败 ✅修复微信公众号关注事件消息回复bug ✅修复阿里云视频清晰度切换 ✅课程价格为0的附件下载bug ✅修复阿里云点播无法上传视频到非上海区域 移除 ✅移除后台缓存配置 ✅Github社交登录 ✅微信开放平台社交登录 ✅移除后台视频列表(放到了课程子目录下) Github:https://github.com/Qsnh/meedu Gitee:https://gitee.com/myteng/MeEdu 官网:https://meedu.vip

优秀的个人博客,低调大师

Grafana 7.5.0 和 7.5.1 发布,系统指标监控与分析平台

Grafana 是一个功能丰富的指标标准仪表板和图形编辑器,用于分析和监控 Graphite、Elasticsearch、OpenTSDB、Prometheus 和 InfluxDB。 Grafana 7.5.0版本更新如下: Features and enhancements Alerting:在 InfluxDB 中添加了在连字符中包含别名的功能。#32262 CloudWatch:使用最新版本的 aws sdk。#32217 Bug 修复 Alerting:在 InfluxDB 中添加了在连字符中包含别名的功能。#32224 DashboardSettings:修复了标签列表不更新的问题。#3224 DashboardSettings:修复了标签列表不更新的问题。#32189 Loki:修复在标签浏览器中的文本搜索。 更新说明:https://github.com/grafana/grafana/releases/tag/v7.5.0 7.5.1版本更新如下: Bug 修复 MSSQL:修复了无法通过升级 go-mssqldb 依赖项实现的 panic。#32347 更新说明:https://github.com/grafana/grafana/releases/tag/v7.5.1 下载地址

优秀的个人博客,低调大师

Linux系统集群架构线上项目配置实战(二)

写在前面 前面介绍了项目的整体情况与初始化服务器环境优化配置方面的内容,由于实际生产需求不一样,优化配置的点也不一样,仅供大家参考! 01配置SSH免密登录 分发服务器使用全网备份服务器 首先创建分发用户 [root@centos ~]# useradd fenfa -u 999 [root@centos ~]# echo "123456"|passwd --stdin fenfa Changing password for user fenfa. passwd: all authentication tokens updated successfully. [root@centos ~]# /bin/cp /etc/sudoers /etc/sudoers.bak [root@centos ~]# echo "fenfa ALL=(root) NOPASSWD:/usr/bin/rsync" >>/etc/sudoers [root@centos ~]# tail -1 /etc/sudoers fenfa ALL=(root) NOPASSWD:/usr/bin/rsync 切换到fenfa用户创建密钥 02配置expect批量分发工具 安装配置expect服务 [root@centos ~]$ yum install expect* -y 编写脚本 执行脚本结果如下 [fenfa@centos ~]$ sh fenfa_key.sh 10.0.0.1 [ OK ] 10.0.0.2 [ OK ] 10.0.0.3 [ OK ] 10.0.0.4 [ OK ] 10.0.0.5 [ OK ] 10.0.0.6 [ OK ] 10.0.0.7 [ OK ] 10.0.0.8 [ OK ] 10.0.0.9 [ OK ] 10.0.0.10[ OK ] 10.0.0.11[ OK ] 10.0.0.12[ OK ] 10.0.0.13 [ OK ] 10.0.0.14[ OK ] 切换到分发用户下查看是否分发成功 [root@centos ~]# su - fenfa [fenfa@centos ~]$ ll /home/fenfa/.ssh/ total 4 -rw------- 1 fenfa fenfa 602 Sep 21 12:14 authorized_keys 根据上面的脚本编写分以hosts文件脚本 脚本执行结果如下 sh fenfa_file.sh host.list /etc/ [fenfa@centos ~]$ ll /etc/host.list -rw-rw-r-- 1 fenfa fenfa 131 Sep 16 12:45 /etc/host.list 只需要将host.list文件替换成你所需要分发的文件就OK了, 03前端反向代理及管理后台服务器的配置 前端nginx反向代理服务器配置 安装所需的依赖包 [root@centos ~]# yum install pcre-devel zlib-devle openssl-devel gcc-c++ –y 编译安装nginx cd /download/tools/ wget http://nginx.org/download/nginx-1.12.1.tar.gz tar zxf nginx-1.12.1.tar.gz cd nginx-1.12.1 ./configure --prefix=/app/nginx-1.12.1 make && make install [root@centos ~]# cd /app/ [root@centos app]# ln -s nginx-1.12.1 nginx [root@centos ~]# cd /app/nginx/conf/ [root@centos conf]# mkdir extra [root@centos conf]# cp nginx.conf nginx.conf.bak 在nginx.conf文件后增加下面的配置 include extra/*.conf; [root@centos ~]# cd /app/nginx/conf/extra/ [root@centos extra]# vim admin.mingongge.conf # # HTTPS server configuration # server { listen 80; server_name admin.mingongge.com; location / { proxy_pass http://10.0.0.6:8080; proxy_connect_timeout 600; proxy_read_timeout 600; proxy_send_timeout 600; } } [root@centos extra]# vim shangjia.mingongge.conf # # HTTPS server configuration # server { listen 80; server_name shangjia.mingongge.com; location / { proxy_pass http://10.0.0.7:8080; proxy_connect_timeout 600; proxy_read_timeout 600; proxy_send_timeout 600; } } 业务平台管理后台admin.mingongge.com JDK Tomcat环境安装 tar zxf apache-tomcat-8.5.9.tar.gz mv apache-tomcat-8.5.9 /usr/local/tomcat tar zxf jdk-8u111-linux-x64.tar.gz -C /usr/local/ cd /usr/local/ ln -s jdk1.8.0_111 jdk cat >>/etc/profile <<EOF export JAVA_HOME=/usr/local/jdk1.8.0_111 export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export PATH=$JAVA_HOME/bin:$PATH export CATALINA_HOME=/usr/local/apache-tomcat-8.5.9 EOF [root@centos local]# source /etc/profile [root@centos local]# java -version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) JDK Tomcat环境配置 <Context path="" docBase="/www/admin" debug="0" reloadable="true" crossContext="true" /> echo "this is the admin.mingongge.com" >/www/admin/index.html /usr/local/tomcat/bin/startup.sh 商家管理后台 shangjia.mingongge.com JDK Tomcat环境安装请参考前面的步骤 <Context path="" docBase="/www/shangjia" debug="0" reloadable="true" crossContext="true" /> echo "this is the shangjia.mingongge.com" >/www/shangjia/index.html /usr/local/tomcat/bin/startup.sh 测试反向代理 [root@centos ~]# curl http://admin.mingongge.com this is the admin.mingongge.com [root@centos ~]# curl http://shangjia.mingongge.com this is the shangjia.mingongge.com 模拟用户访问

优秀的个人博客,低调大师

Linux系统集群架构线上项目配置实战(三)

写在前面 前面介绍了分发文件管理、前端反向代理与管理后台服务器的配置操作,今天介绍下前端负载与APP服务器(用户与商家)、官网、FTP服务器的配置操作 01前端负载均衡配置 安装所需的依赖包 yum install pcre-devel zlib-devle openssl-devel gcc-c++ –y 编译安装nginx cd /download/tools/ wget http://nginx.org/download/nginx-1.12.1.tar.gz tar zxf nginx-1.12.1.tar.gz cd nginx-1.12.1 ./configure --prefix=/app/nginx-1.12.1 make && make install [root@centos ~]# cd /app/ [root@centos app]# ln -s nginx-1.12.1 nginx [root@centos ~]# cd /app/nginx/conf/ [root@centos conf]# mkdir extra [root@centos conf]# cp nginx.conf nginx.conf.bak 在nginx.conf文件后增加下面的配置 include extra/*.conf; [root@centos conf]# cd extra/ oot@centos extra]# vim user.app.conf # # HTTPS server configuration # upstream userapp { server 10.0.0.4:8080; server 10.0.0.4:8081; } server { listen 80; server_name app.mingongge.com; location / { proxy_pass http://userapp; proxy_connect_timeout 600; proxy_read_timeout 600; proxy_send_timeout 600; } [root@centos conf]# cd extra/ [root@centos conf]# vim sj.app.conf # # HTTPS server configuration # upstream sjapp { server 10.0.0.5:8080; server 10.0.0.5:8081; } server { listen 80; server_name sjapp.mingongge.com; location / { proxy_pass http://sjapp; proxy_connect_timeout 600; proxy_read_timeout 600; proxy_send_timeout 600; } } 02后端APP服务器配置 后端APP服务器JAVA环境安装配置 [root@centos tools]# ll total 181168 -rw-r--r-- 1 root root 185515842 Sep 20 15:52 jdk-8u144-linux-x64.tar.gz [root@centos tools]# tar zxf jdk-8u144-linux-x64.tar.gz -C /usr/local/ [root@centos tools]# ln -s /usr/local/jdk1.8.0_144 /usr/local/jdk [root@centos tools]# cat >>/etc/profile<<EOF export JAVA_HOME=/usr/local/jdk export CLASSPATH=.CLASSPATH:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export PATH=$JAVA_HOME/bin:$PATH EOF [root@centos tools]# tail -3 /etc/profile export JAVA_HOME=/usr/local/jdk export CLASSPATH=.CLASSPATH:/lib/dt.jar:/lib/tools.jar export PATH=$JAVA_HOME/bin:$PATH [root@centos tools]# source /etc/profile [root@centos tools]# java -version java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) 后端tomcat 配置 wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-8/v8.5.20/bin/apache-tomcat-8.5.20.tar.gz [root@centos tools]# tar zxf apache-tomcat-8.5.20.tar.gz -C /usr/local/ [root@centos tools]# ln -s /usr/local/apache-tomcat-8.5.20 /usr/local/tomcat [root@centos tools]# cd /usr/local/apache-tomcat-8.5.20/conf/ [root@centos conf]# vim server.xml -------------此处省略N行-------------- <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b" /> <Context path="" docBase="/www/userapp" debug="0" reloadable="true" crossContext="true" /> #增加上述站点目录 [root@centos conf]# mkdir /www/userapp -p echo "this is the frist userapp server" >/www/userapp/index.html [root@centos conf]# ../bin/startup.sh Using CATALINA_BASE: /usr/local/apache-tomcat-8.5.20 Using CATALINA_HOME: /usr/local/apache-tomcat-8.5.20 Using CATALINA_TMPDIR: /usr/local/apache-tomcat-8.5.20/temp Using JRE_HOME:/usr/local/jdk Using CLASSPATH:/usr/local/apache-tomcat-8.5.20/bin/bootstrap.jar:/usr/local/apache-tomcat-8.5.20/bin/tomcat-juli.jar Tomcat started. [root@centos conf]# lsof -i :8080 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME java 1587 root48u IPv618137 0t0TCP *:webcache (LISTEN) 另外一台用户APP 服务器按上述的配置进行 [root@centos conf]# mkdir /www/userapp -p echo "this is the second userapp ">/www/userapp/index.html 商家APP环境配置请参考上面的配置 [root@centos conf]# mkdir /www/sjapp -p echo "this is the frist sjapp ">/www/userapp/index.html echo "this is the second sjapp ">/www/userapp/index.html 接下来测试下负载均衡 前端负载均衡测试 [root@centos conf]# curl http://10.0.0.1 this is the userapp server [root@centos conf]# curl http://10.0.0.1 this is the second userapp [root@centos conf]# curl http://app.mingongge.com this is the userapp server [root@centos conf]# curl http://app.mingongge.com this is the second userapp [root@centos extra]# curl http://sjapp.mingongge.com this is the first sjapp server [root@centos extra]# curl http://sjapp.mingongge.com this is the second sjapp 浏览器访问测试 本地浏览器测试需要配置hosts文件 10.0.0.1 app.mingongge.com 10.0.0.1 sjapp.mingongge.com 03官网与图片服务器配置 基本的架构也是一样使用反向代理,为了后期整体架构扩展 Nginx FTP的安装就不再描述了,太简单了,扯多了累 前面反向代理配置如下 [root@centos extra]# vim web.mingongge.conf # # HTTPS server configuration # server { listen 80; server_name www.mingongge.com; location / { proxy_pass http://10.0.0.8; proxy_connect_timeout 600; proxy_read_timeout 600; proxy_send_timeout 600; } } [root@centos extra]# vim ftp.mingongge.com # # HTTPS server configuration # server { listen 80; server_name ftp.mingongge.com; location / { proxy_pass http://10.0.0.8:88; proxy_connect_timeout 600; proxy_read_timeout 600; proxy_send_timeout 600; } } 后端WEB服务器配置 [root@centos html]# vim index.html welcome to mingongge.s web stie!!!!!!!!!!!!! [root@centos ~]# /usr/local/nginx/sbin/nginx -t nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful [root@centos ~]# /usr/local/nginx/sbin/nginx [root@centos ~]# curl 10.0.0.8 welcome to mingongge.s web stie!!!!!!!!!!!!! FTP这块的配置其实是就是管理后台通过应用程序上传图片,前面用户通过nginx能访问到正确的页面即可,由于线下测试环境,不可能拿生产代码来做实验,因此管理后台上传图片无法模拟,过程就是后台上传图片是通过FTP的功能上传到指定的目录,然后前端通过nginx来调用这个图片去显示 因此就配置下访问图片即可 [root@centos conf]# cd extra/ [root@centos extra]# vim ftp.mingongge.conf server { listen 88; server_name localhost; location / { root /www/ftp; } 上传图片进行测试 通过前端反向代理直接访问域名来读取图,来实现应用程序调用图片的功能在其它前台页面展示的功能 发现也是可以正常访问的 写在最后 此次项目实战的所有文章,凡是每篇都转发三个渠道或以上的朋友(转发后可截图保存等整个项目文档发布结束后发给我),我会在整个项目文档完成之后将文档整理发送给他,并且会抽取其中某篇文章留言点赞前十(需超过20个赞)的朋友,我提供此项目线下测试环境搭建的过程中全程问题解答!!!!!

优秀的个人博客,低调大师

监控系统项目实施--安装与部署-- MySQL数据库

在后续的安装中出现了很多问题,多为账号,还有字符集导致的。安装zabbix,需要使用之前的密码设置格式,还有最重要的字符集是utf8。 主机配置 [root@zabbix-mysql01 ~]# cat /etc/hosts 10.10.10.201 zabbix-mysql01 10.10.10.202 zabbix-mysql02 安装mysql [root@zabbix-mysql01 ~]#rpm -ivh http://repo.mysql.com/yum/mysql-8.0-community/el/7/x86_64/mysql80-community-release-el7-3.noarch.rpm [root@zabbix-mysql01 ~]# yum -y install mysql-community-server 配置Mysql [root@zabbix-mysql01 ~]# cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql symbolic-links=0 character-set-server=utf8 innodb_file_per_table=1 innodb_data_file_path=ibdata1:10M:autoextend server_id=1 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid [root@zabbix-mysql02 ~]# cat /etc/my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql symbolic-links=0 character-set-server=utf8 innodb_file_per_table=1 innodb_data_file_path=ibdata1:10M:autoextend server_id=2 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid 启动数据库 先启动主节点,备节点暂时不启动。 [root@zabbix-mysql01 ~]# systemctl start mysqld [root@zabbix-mysql01 ~]# 修改密码 首先查找临时密码 tail -100 /var/log/messages Mar 19 22:30:11 zabbix-mysql01 mysqld_pre_systemd: 2021-03-19T14:30:11.846201Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.23) initializing of server in progress as process 3341 Mar 19 22:30:11 zabbix-mysql01 mysqld_pre_systemd: 2021-03-19T14:30:11.847519Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous. Mar 19 22:30:11 zabbix-mysql01 mysqld_pre_systemd: 2021-03-19T14:30:11.851720Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. Mar 19 22:30:12 zabbix-mysql01 mysqld_pre_systemd: 2021-03-19T14:30:12.117691Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. Mar 19 22:30:12 zabbix-mysql01 mysqld_pre_systemd: 2021-03-19T14:30:12.680672Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: Viop6I6:eWS! [root@zabbix-mysql01 ~]# mysql -uroot -p Enter password: mysql> alter user 'root'@'localhost' identified by 'Root@123456'; mysql> FLUSH PRIVILEGES; 注意zabbix的数据库应该用 utf8,而不应用utf8mb4; 设置密码应该采用 #mysql> create database zabbix character set utf8mb4; mysql> create database zabbix character set utf8; mysql> select host,user from mysql.user; mysql> CREATE USER 'zabbix'@'%' IDENTIFIED BY 'Root@123456'; mysql> grant all privileges on *.* to 'zabbix'@'%' ; mysql> FLUSH PRIVILEGES; mysql> select host,user from mysql.user; mysql> CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'Root@123456'; mysql> CREATE USER 'zabbix'@'127.0.0.1' IDENTIFIED BY 'Root@123456'; mysql> grant all privileges on *.* to 'zabbix'@'localhost' ; mysql> grant all privileges on *.* to 'zabbix'@'127.0.0.1' ; mysql> FLUSH PRIVILEGES; 设置密码应该采用mysql_native_password方式 alter user 'zabbix'@'%' identified with mysql_native_password by 'Root@123456'; alter user 'zabbix'@'127.0.0.1' identified with mysql_native_password by 'Root@123456'; alter user 'zabbix'@'localhost' identified with mysql_native_password by 'Root@123456'; 导入数据库文件 导入数据库文件,该文件需要安装zabbix插件,可参考之前安装的步骤进行操作 wget http://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm rpm -ivh zabbix-release-4.0-2.el7.noarch.rpm 安装 yum -y install gcc make openldap-devel libssh2-devel net-snmp-devel curl-devel unixODBC-devel OpenIPMI-devel java-devel net-snmp-devel openldap-devel gnutls-devel sqlite-devel sqlite-devel curl-devel libxml2-devel libevent-devel openssl-devel yum install -y httpd php php-mysql yum -y install zabbix-server-mysql yum -y install zabbix-agent 安装这些以后,就能有create.sql.gz包 cd /usr/share/doc/zabbix-server-mysql-4.0.29 gunzip create.sql.gz mysql -uzabbix -pRoot@123456 -h127.0.0.1 use zabbix source create.sql Mysql数据库主库配置 以下操作在主服务器上进行 停止Mysql主库服务 systemctl stop mysqld 同步主库文件到从库 [root@zabbix-mysql01 ~]# rsync -av -e "ssh -p 22" /var/lib/mysql/ root@10.10.10.202:/var/lib/mysql/ 启动主库服务 [root@zabbix-mysql01 ~]# systemctl start mysqld 主库上配置复制数据库用户 [root@zabbix-mysql01 ~]# mysql -uroot -pRoot@123456 mysql> create user 'repl'@'%' identified with mysql_native_password by 'Root@123456'; Query OK, 0 rows affected (0.00 sec) mysql> grant replication client,replication slave on *.* to 'repl'@'%'; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> 查看主库运行状态 mysql> show master status\G *************************** 1. row *************************** File: binlog.000004 Position: 846 Binlog_Do_DB: Binlog_Ignore_DB: Executed_Gtid_Set: 1 row in set (0.00 sec) MYSQL 数据库从库的配置 启动从节点 需要从节点的/var/lib/mysql/auto.cnf [root@zabbix-mysql02 mysql]# systemctl start mysqld 连接主库 change master to master_host='10.10.10.201', MASTER_USER='repl', master_password='Root@123456', master_port=3306, master_log_file='binlog.000004', master_log_pos=846, master_connect_retry=10; 查看状态 mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: 10.10.10.201 Master_User: repl Master_Port: 3306 Connect_Retry: 10 Master_Log_File: binlog.000004 Read_Master_Log_Pos: 846 Relay_Log_File: zabbix-mysql02-relay-bin.000003 Relay_Log_Pos: 321 Relay_Master_Log_File: binlog.000004 Slave_IO_Running: Yes Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 846 Relay_Log_Space: 539 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: 0 Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 0 Last_IO_Error: Last_SQL_Errno: 0 Last_SQL_Error: Replicate_Ignore_Server_Ids: Master_Server_Id: 1 Master_UUID: 9d590336-88bf-11eb-905e-000c29a5e8a0 Master_Info_File: mysql.slave_master_info SQL_Delay: 0 SQL_Remaining_Delay: NULL Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates Master_Retry_Count: 86400 Master_Bind: Last_IO_Error_Timestamp: Last_SQL_Error_Timestamp: Master_SSL_Crl: Master_SSL_Crlpath: Retrieved_Gtid_Set: Executed_Gtid_Set: Auto_Position: 0 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: Master_public_key_path: Get_master_public_key: 0 Network_Namespace: 1 row in set, 1 warning (0.00 sec) 如果不删除从节点的auto.cnf文件,则会报错 mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Master_Host: 10.10.10.201 Master_User: repl Master_Port: 3306 Connect_Retry: 10 Master_Log_File: binlog.000004 Read_Master_Log_Pos: 846 Relay_Log_File: zabbix-mysql02-relay-bin.000001 Relay_Log_Pos: 4 Relay_Master_Log_File: binlog.000004 Slave_IO_Running: No Slave_SQL_Running: Yes Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 0 Last_Error: Skip_Counter: 0 Exec_Master_Log_Pos: 846 Relay_Log_Space: 156 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: NULL Master_SSL_Verify_Server_Cert: No Last_IO_Errno: 13117 Last_IO_Error: Fatal error: The slave I/O thread stops because master and slave have equal MySQL server UUIDs; these UUIDs must be different for replication to work. Last_SQL_Errno: 0 Last_SQL_Error: Replicate_Ignore_Server_Ids: Master_Server_Id: 1 Master_UUID: Master_Info_File: mysql.slave_master_info SQL_Delay: 0 SQL_Remaining_Delay: NULL Slave_SQL_Running_State: Slave has read all relay log; waiting for more updates Master_Retry_Count: 86400 Master_Bind: Last_IO_Error_Timestamp: 210320 00:34:09 Last_SQL_Error_Timestamp: Master_SSL_Crl: Master_SSL_Crlpath: Retrieved_Gtid_Set: Executed_Gtid_Set: Auto_Position: 0 Replicate_Rewrite_DB: Channel_Name: Master_TLS_Version: Master_public_key_path: Get_master_public_key: 0 Network_Namespace: 1 row in set, 1 warning (0.01 sec)

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Nacos

Nacos

Nacos /nɑ:kəʊs/ 是 Dynamic Naming and Configuration Service 的首字母简称,一个易于构建 AI Agent 应用的动态服务发现、配置管理和AI智能体管理平台。Nacos 致力于帮助您发现、配置和管理微服务及AI智能体应用。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据、流量管理。Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

用户登录
用户注册