初始设置:启用root用户帐户 The root Account in Ubuntu is disabled by default because his password is not set. To use root priviledges, basically it's better to u ...
分类:
系统相关 时间:
2020-07-11 22:45:22
阅读次数:
84
redis 连接的常用命令 auth <password> 验证密码是否正确 echo <message> 打印字符串 ping 查看服务器是否运行 quit 关闭当前连接 select <index> 切换到指定数据库 java 使用Redis 驱动包使用的是 jedis.jar jedis依赖 ...
分类:
其他好文 时间:
2020-07-11 17:44:10
阅读次数:
83
1.SpringCloud简介 SpringCloud集成了很多组件,包括: Eureka: 服务治理,服务注册/发现 Zuul: 网关组件,提供智能路由,访问过滤功能 (集成了ribbon、hystrix) Ribbon:客户端负载均衡的服务调用组件(客户端负载) Fegin: 服务之间的调用组件 ...
分类:
编程语言 时间:
2020-07-11 17:06:36
阅读次数:
62
运行docker: sudo systemctl start docker 0.创建docker网络: docker network create --subnet=172.18.0.0/24 mxd 1. 复制配置文件到宿主机: # 创建宿主机目录结构 mkdir -p /www/docker/n ...
分类:
数据库 时间:
2020-07-11 14:27:26
阅读次数:
156
from selenium import webdriverfrom selenium.webdriver.support.wait import WebDriverWaitfrom selenium.webdriver.support import expected_conditionsclass ...
分类:
其他好文 时间:
2020-07-10 21:25:19
阅读次数:
87
#一.要求 web01,web02中的目录挂载到nfs的目录下下,并且把nfs的目录实时同步到backup中。 | 主机名 | 外网IP | 内网IP | 作用 | 要部署服务 | | | | | | | | web01 | 172.16.1.7 | 10.0.0.7 | rsync和nfs的客户端 ...
分类:
其他好文 时间:
2020-07-10 20:56:37
阅读次数:
75
前提:安装好了docker-ce。systemctlstartdockersystemctlenabledockeriptables-Xiptables-Fserviceiptablessave1、部署nginx:dockerrun-it-d-p80:80-v/usr/share/nginx/html/:/usr/share/nginx/html/-v/etc/nginx/conf.d/:/etc
分类:
其他好文 时间:
2020-07-10 09:36:54
阅读次数:
64
Spring Data 对于数据访问层,无论是 SQL(关系型数据库)还是 NOSQL(非关系型数据库),Spring Boot 底层都是采用 Spring Data 的方式进行统一处理。 Spring Data 也是 Spring 中与 Spring Boot、Spring Cloud 等齐名的知 ...
分类:
数据库 时间:
2020-07-10 00:38:02
阅读次数:
185
因为要接收反馈结果,cmd命令可以这样写 rtsp://user:password@ip:port -ss 00:00:01 -vframes 1 -f image2 -vcodec png image.png && echo succeeded ||echo failed 当ffmpeg执行正确时 ...
分类:
其他好文 时间:
2020-07-10 00:08:12
阅读次数:
95
1.常用的表单选择器 input:匹配所有input、textarea、select和button元素 text:匹配所有单行文本框 password:匹配所有密码框 radio:匹配所有单项按钮 checkbox:匹配所有复选框 submit:匹配所有提交按钮 image:匹配所有图像域 rese ...
分类:
其他好文 时间:
2020-07-09 22:42:32
阅读次数:
81