1、修改文件 # vi /etc/ssh/sshd_config # vi /etc/ssh/sshd_config 找到 #ClientAliveInterval 0#ClientAliveCountMax 3 修改为 ClientAliveInterval 60ClientAliveCountM ...
分类:
其他好文 时间:
2020-05-06 14:00:37
阅读次数:
64
有时候想启动docker的时候,同时也把docker里面的容器也设置成自动启动。可参看下面方法 创建容器时,设置自动启动容器 如果创建时未指定 restart=always ,可通过update 命令设置 ...
分类:
其他好文 时间:
2020-05-05 18:12:21
阅读次数:
266
Shell脚本——数组 普通数组 [root@wshile ~]# books=(linux shell awk openstack docker) [root@wshile ~]# echo ${books[1]} shell [root@wshile ~]# echo ${books[@]} / ...
分类:
编程语言 时间:
2020-05-04 15:17:49
阅读次数:
50
文件结构 1. redis sentinel 1 1. docker compose.yml 1 2. sentinel 1 2 1 docker compose.yml 1 2 2 sentinel.conf 1 2 3 sentinel1.conf 1 2 4 sentinel2.conf 1 ...
分类:
其他好文 时间:
2020-05-02 23:20:23
阅读次数:
133
拉取镜像 docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g 启动oracle镜像作为容器 docker run --restart=always -d -p 1521:1521 --name oracle11g regi ...
分类:
数据库 时间:
2020-05-02 21:14:34
阅读次数:
116
"OpenStack4j" 是一个OpenStack的Java SDK。 问题描述 在同一个代码处理线程中,首先获取了 projectA 的 OSClient 对象 OSClientA,然后又获取了 projectB 的 OSClient 对象 OSClientB。 后续在用 OSClientA 去 ...
分类:
其他好文 时间:
2020-05-02 18:42:36
阅读次数:
109
《Deep Propagation Based Image Matting 》 For What Question Innovation point Implement The structure of the paper 一、For What Question 为了实现基于深度传播的图像遮罩 以往 ...
分类:
其他好文 时间:
2020-05-02 16:59:28
阅读次数:
62
本文采用Eclipse及其对应的插件来编辑、管理、运行Robot Framework. https://www.eclipse.org/downloads/ 本文安装 Eclipse IDE 2020?03 64bit 下载得到文件: eclipse-inst-win64.exe 在windows上 ...
docker容器加入开机启动 1.> docker update --restart=always containers/ID 安装rancher-server: 1.> docker pull rancher/server:latest 2.> docker run -d --restart=un ...
分类:
其他好文 时间:
2020-05-01 21:05:48
阅读次数:
280
以下操作都是root用户,不是root用户加上sudo 1》dcoker 安装mysql,5.7是版本号 docker pull mysql:5.7 查看是否安装成功: docker images 创建实例并启动 docker run -p 3306:3306 --name mysql \ -v / ...
分类:
其他好文 时间:
2020-05-01 10:39:04
阅读次数:
61