1.创建网络会话实例 查看网络信息和网络状态 nmcli connection show 使用con-name 参数指定公司的网络名称company nmcli connection add con-name company ifname ens33 autoconnect no type 192. ...
分类:
系统相关 时间:
2019-11-27 21:56:30
阅读次数:
91
创建网络会话实例 查看网络信息和网络状态 nmcli connection show 使用con-name 参数指定公司的网络名称company nmcli connection add con-name company ifname ens33 autoconnect no type 192.16 ...
分类:
系统相关 时间:
2019-11-27 20:45:42
阅读次数:
82
Redis集合的常用操作指令 Sets常用操作指令 SADD 将指定的元素添加到集合。如果集合中存在该元素,则忽略。 如果集合不存在,会先创建一个集合然后在添加元素。 SMEMBERS SCARD SDIFF 将第一个集合与后面的集合进行比较,取出 第一个集合中 不在后面的集合中存在的元素。 SDI ...
分类:
其他好文 时间:
2019-11-27 19:14:37
阅读次数:
87
失败原因: The connection pool usually has a wrapper around the real connection instance, that's why your cast fails. 连接池通常包装了一个真实的真实的Connection实例。 解决方案: ...
分类:
数据库 时间:
2019-11-27 10:38:12
阅读次数:
194
/** * dopost请求 * @param url * @param msgEn * @return */ private String doPost(String url, String msgEn) throws Exception { URL urlServlet = null; Buff ...
分类:
其他好文 时间:
2019-11-27 10:32:17
阅读次数:
51
目录 "简介" "什么是JDBC" "几个重要的类" "使用中的注意事项" "使用例子" "需求" "工程环境" "主要步骤" "创建表" "创建项目" "引入依赖" "编写jdbc.prperties" "获得Connection对象" "使用Connection对象完成保存操作" "源码分析" ...
分类:
数据库 时间:
2019-11-26 20:04:23
阅读次数:
144
报错 TypeError: Cannot read property 'resetFields' of undefined resetForm(formName) { if (this.$refs[formName]!==undefined) { this.$refs[formName].reset ...
分类:
其他好文 时间:
2019-11-26 19:57:21
阅读次数:
63
1.git 创建和删除分支: 创建:git branch 分支名字 本地删除:git branch -D 分支名字 远程删除:git push origin :分支名字 2.git 回退到以前提交的版本 git log:查看提交的日志 git reset --hard commit_id(这个是提交 ...
分类:
其他好文 时间:
2019-11-26 12:00:34
阅读次数:
88
node.js代码: var mysql = require('mysql'); var connection = mysql.createConnection({ host : 'localhost',//本机数据库使用localhost user : 'root',//用户名 password ...
分类:
数据库 时间:
2019-11-26 10:44:12
阅读次数:
94
问题描述: 添加防火墙白名单后,仍然不能远程登录linux服务器 解决方法: /etc/hosts.allow 添加如下 all:x.x.x.x:allow ...
分类:
其他好文 时间:
2019-11-25 18:34:36
阅读次数:
69