![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码
文章平均质量分 51
王-��
这个作者很懒,什么都没留下…
展开
-
nacos主从实现切换
优点:主服务可以保留现场,以便排查jvm 、快照等 ,nacos 估计以后出此机制的功能。主服务器在发生雪崩时,从服务自动上线、主服务下线。主要使用nacos 的 api 能力。原创 2022-10-11 15:20:43 · 1168 阅读 · 1 评论 -
mac Terminal 标题优化
mac Terminal 标题优化选项卡 太多的时候分不清哪个是哪个 ,直接用命令 ,修改标题title='My first title'echo -n -e "\033]0;$title\007"或者echo -n -e "\033]0;My first title\007"原创 2022-05-24 17:01:31 · 311 阅读 · 3 评论 -
linux开机启动方式
centos 系统1.直接修改rc.local把启动程序的命令添加到/etc/rc.d/rc.local文件中ubuntu18.04设置通过服务开机启动ls /lib/systemd/system | grep rc 修改原有的服务sudo vi /lib/systemd/system/rc.local.service[Install] WantedBy=multi-user.target Alias=rc-local.service创建#!/bin/sh -e##原创 2021-03-05 14:16:54 · 95 阅读 · 0 评论 -
springboot打包错误分析:Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0
maven-resources-plugin介绍:copies the resources for the main source code to the main outputdirectory. This goal usually executes automatically, because it isbound by default to the process-resources life-cycle phase. Italways uses the project.build.reso原创 2021-03-18 11:38:34 · 2744 阅读 · 1 评论 -
Djava.ext.dirs启动问题
只要你得代码没问题 遇到以下错 :Caused by: java.security.NoSuchAlgorithmException: AES KeyGeneratornot available NoSuchAlgorithmException的错误,Caused by: java.lang.IllegalStateException: Unable to acquire AESalgorithm. This is required to function.Caused by: org.spr原创 2021-01-27 18:57:54 · 488 阅读 · 2 评论 -
Fish for mac安装 fish+on my fish ---(powerline主题)美化
Fish shell简介fish 可以根据输入自动匹配历史命令。它的一大特点是开箱即用,没有zsh那些繁琐的配置。官网:http://www.fishshell.com/。直接输入 brew install fish 等待安装完成即可sudo vim /etc/shells列表末尾加上/usr/local/bin/fish当前模式还是 bash shell 模式 直接输入 fish 就进入chsh -s /bin/bash --下次进来切换默认的shell我喜欢用第二种方法 在mac 里原创 2020-11-04 18:31:12 · 3481 阅读 · 0 评论