一、xshell中新建连接,在该窗口添加公网IP,如图: 二、点击用户身份验证,用户名默认为root,密码为阿里云服务器的实例密码,输入完点击连接即可。 三、不知道实例密码在哪里?登录阿里云控制台--选中云服务器ESC--选中服务器--点击重置实例密码即可。 ...
分类:
系统相关 时间:
2021-05-23 23:00:50
阅读次数:
0
ssh基于key验证 1,在客户端生成公钥私钥对并将公钥拷到要连接的服务器上,验证是否成功 [root@localhost ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the k ...
分类:
其他好文 时间:
2021-05-23 22:59:40
阅读次数:
0
1. mount namespace mount namespace 通过隔离文件系统挂载点对隔离文件系统提供支持。使用 unshare 构造 mount namespace 如下: root@chunqiu:~/chunqiu/docker/mount# dd if=/dev/zero bs=1M ...
分类:
其他好文 时间:
2021-05-23 22:54:53
阅读次数:
0
方式一:通过mysql自带的客户端只限于root用户 方式二:通过windows自带的客户端 登录:mysql 【-h主机名 -P端口号 】-u用户名 -p密码 如果连接的是本地并且端口号是3306,可以简写。 退出:exit或ctrl+C ...
分类:
数据库 时间:
2021-05-04 16:36:20
阅读次数:
0
/* Optional 容器类常用方法 Optional.of(T t) 创建一个Optional实例 Optional.empty() 创建一个空的Optional实例 Optional.ofNullable(T t) 若t不为null,则创建Optional实例,否则创建空实例 isPresen ...
分类:
编程语言 时间:
2021-05-04 16:30:31
阅读次数:
0
题目链接 维护一个区间最小值同时维护一个区间最小值的减法 #include <bits/stdc++.h> using namespace std; const int N = 100010; int a[N]; int n,k; struct node{ int l,r; int v,add; } ...
分类:
其他好文 时间:
2021-05-04 16:06:56
阅读次数:
0
IDEA集成Docker部署微服务 回顾docker 。。 安装docker # 在192.168.204.141安装docker [root@A ~]# yum -y install docker # 启动docker [root@A ~]# systemctl start docker # 查看 ...
分类:
其他好文 时间:
2021-05-04 15:52:19
阅读次数:
0
首先我们一览flask的源码结构 total 92 drwxr-xr-x. 2 root root 70 Mar 4 22:42 artwork -rw-r--r--. 1 root root 47000 Mar 4 22:42 CHANGES.rst -rw-r--r--. 1 root root ...
分类:
其他好文 时间:
2021-05-03 13:01:10
阅读次数:
0
Prefix and Suffix Search (H) 题目 Design a special dictionary which has some words and allows you to search the words in it by a prefix and a suffix. Im ...
分类:
其他好文 时间:
2021-05-03 12:54:25
阅读次数:
0
1.首先创建一个自定义View类: public class CustomView extends ViewGroup { private int mleftMargin=20; private int mtopMargin=20; public CustomView(Context context ...
分类:
移动开发 时间:
2021-05-03 12:48:19
阅读次数:
0