? 在之前的操作中,我们已经实现了mysql机器的高可用,可以动态切换master,那么如果mycat崩溃了呢?我们应该如何处理呢?所以此时就需要搭建mycat的高可用集群了。 ? 在mycat的权威指南中,介绍了多种高可用的方案,在这里我们讲解一种使用最多的方案,使用HAProxy+Keepali ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 17:26:45   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    pip离线安装是重点,依赖的安装重点(下面有详细图解)vue在下 # 1 pip换源 》提高下载模块的速度() # 2 每个python项目,都应该有个requirement.txt >项目依赖的模块 >pip freeze >requirement.txt #生成 >pip install -r  ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 17:25:34   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    后台Response和异常和日志封装 1.在小luffyapi中新建utils包,包下创建response.py,代码如下 from rest_framework.response import Response class APIResponse(Response): def __init__(s ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 17:24:29   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                通过application类中的main方法里面的run方法 @SpringBootApplication @ServletComponentScan(basePackages = "com.sp") //可以自动将写的servlet扫描进去 配置扫描的包 @MapperScan("com.sp.m ...
                            
                            
                                分类:
编程语言   时间:
2021-07-05 17:22:51   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1. 远程配置文件 项目结构 依赖导入 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </depende ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 17:09:01   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    第十篇:Django之Ajax 一、Ajax简介 AJAX(Asynchronous Javascript And XML)翻译成中文就是“异步的Javascript和XML”。即使用Javascript语言与服务器进行异步交互,传输的数据为XML(当然,传输的数据不只是XML)。 AJAX 不是新 ...
                            
                            
                                分类:
Web程序   时间:
2021-07-05 17:07:01   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    基础命令 #查看系统configgit config --system --list #查看当前用户(global)配置git config --global --list 当你安装Git后首先要做的事情是设置你的用户名称和e-mail地址。这是非常重要的,因为每次Git提交都会使用该信息。它被永远 ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 16:58:20   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1.问题: Warning: Permanently added 'github.com' (RSA) to the list of known hosts. git@github.com: Permission denied (publickey). fatal: Could not read f ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 16:56:22   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    如何在本机实现分布式的效果 首先需要把Jmeter复制一份作为从机 从机需要配置bin目录下的j meter.properties文件 打开搜索 server_port 然后配置主机的bin目录下的jmeter.properties文件 打开从机bin目录下的jmeter-server.bat 等待 ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 16:54:56   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1、设置加速,修改/etc/apt/sources.list如下 deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi deb-src http://mirrors.tu ...
                            
                            
                                分类:
其他好文   时间:
2021-07-05 16:54:39   
                                阅读次数:
0