Centos 安装 wireguard
一、官网安装wireguard的三种方式 1.a signed module is available as built-in to CentOS's kernel-plus: sudo yum install yum-utils epel-release sudo yum-config-manager --setopt=centosp...
java中带参数的try(){}语法含义是什么
我们大多数用的是try{ }的形式 InputStream is = null; OutputStream os = null; try { //... } catch (IOException e) { //... }finally{ try { if(os!=null){ os.close(); } if(is!=null){ is...
MySQL数据库定时备份的几种实现方法
一、查看 MySQL 是否安装了 crontab yum -y install vixie-cron yum -y install crontabs 二、crontab 常用命令 # 查看进程是否正在进行 ps aux | grep crond # 查看运行状态 systemctl status ...
The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
JDBC连接SQLService时报错误:“驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接' 最近在服务器部署服务时,在启动服务时报了这个错: 当时在网上查找了几个解决办法: 1....
WordPress中添加音乐(非插件)
以网易云为例,其他音乐播放器添加规则类似。 网易云网站中打开你要的音乐,点击图片下方的“生成外链播放器” 复制html代码 引入音乐播放器 a.文章中引入音乐播放器 将复制的htm代码直接粘贴到...
Zookeeper 3.5启动8080端口占用
最近跟着尚硅谷的老师学习Zookeeper,下载了Zookeeper的最新版本3.5。启动以后显示: ZooKeeper JMX enabled by default Using config: /opt/zookeeper-3.5.4-beta/bin/../conf/zoo.cfg Startin...
三、Zookeeper客户端命令行
1 命令行语法 命令基本语法功能描述help显示所有操作命令ls path使用 ls 命令来查看当前 znode 的子节点 [可监听]-w 监听子节点变化-s 附加次级信息create普通创建-s 含有序列-e 临时(重启或者...
Spring Boot多数据源事务冲突的解决方案
一、跨库事物失效的原因 Spring@Transactional不支持跨数据源事物,Spring 事物控制是基于数据库链接进行的,当数据源切换后,数据库链接切换,事物回滚只能回退,当前持有的链接。 Spring开启...