docker-compose down cd /root/harbor ./prepare ## 过期替换证书要重新执行prepare 否则只重启替换证书不生效 客户端仍然报证书过期 docker-compose up -d ...
分类:
其他好文 时间:
2021-01-19 11:55:36
阅读次数:
0
环境变量设置 设置root用户的密码 端口映射 处理用户远程连接登录异常 create user 'taishi'@'%' identified by 'aransfar@123'; grant all privileges on *.* to 'taishi'@'%' with grant opt ...
分类:
数据库 时间:
2021-01-19 11:46:37
阅读次数:
0
114. 二叉树展开为链表 给定一个二叉树,原地将它展开为一个单链表。 例如,给定二叉树 1 / \ 2 5 / \ \ 3 4 6 将其展开为: 1 \ 2 \ 3 \ 4 \ 5 \ 6 方法一:递归先序遍历保存进List public void flatten(TreeNode root) { ...
分类:
其他好文 时间:
2021-01-19 11:40:59
阅读次数:
0
1. 配置双主: 双机名 win89.inno.com win88.inno.com 准备账号 SET SQL_LOG_BIN=0; set password for 'root'@'localhost'='123456'; grant all privileges on *.* to root@' ...
分类:
数据库 时间:
2021-01-18 11:43:38
阅读次数:
0
2、第一个Mybatis程序 思路:搭建环境 >导入Mybatis >编写代码 >测试! 2.1、搭建环境 搭建数据库 CREATE DATABASE `mybatis`; USE `mybatis`; CREATE TABLE `user`( `id` INT(20) NOT NULL PRIMA ...
分类:
其他好文 时间:
2021-01-18 11:37:37
阅读次数:
0
首选,确认是用root用户登录系统的。 输入命令: id ,查看登录用户信息。3若修改root自己的密码,直接输入 passwd . 输入两遍,新密码即可。 4若修改其他用户,如oracle 的密码,可直接输入passwd oracle. 输入两遍性新密码即可。 5这样就修改成功了。 centos7 ...
分类:
系统相关 时间:
2021-01-18 11:27:39
阅读次数:
0
一、xray的安装和配置 1.下载linux下的xray可执行文件 [root@instance-7q32v011 opt]# wget https://github.com/chaitin/xray/releases/download/0.21.8/xray_linux_amd64.zip 2.解 ...
分类:
其他好文 时间:
2021-01-18 11:18:35
阅读次数:
0
词频统计: 要求:统计Harry Potter.txt文件中出现最多单词前十位 内容样例: 代码及结果: @Test//词频统计 def WordCount(): Unit ={ val conf=new SparkConf().setMaster("local[6]").setAppName("w ...
分类:
其他好文 时间:
2021-01-18 11:17:13
阅读次数:
0
Given a string , determine if it is?valid. A string is?valid?if, starting with an empty string , you can?transform into after performing the following ...
分类:
其他好文 时间:
2021-01-18 11:15:29
阅读次数:
0
Centos7 安装Elasticsearch 安装 因为ES启动不能用root账号,手工安装配置较繁琐,故直接用rpm进行安装。根据官网的6.8安装提示 rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch vi /etc/ ...
分类:
其他好文 时间:
2021-01-18 11:04:46
阅读次数:
0