IaaS 平台构建 1.关闭防火墙,禁止开机自启 systemctl stop firewalld systemctl disable firewalld 2.设置主机名 hostnamectl set-hostname controller 设置主机名compute 3.设置selinux,per ...
分类:
其他好文 时间:
2021-04-29 12:11:43
阅读次数:
0
https://www.alitajran.com/unable-to-install-nuget-provider-for-powershell/ 1.以管理员运行Powershell 2.运行Install-Module PowershellGet -Force报错 警告:无法从URI下载。 警 ...
分类:
系统相关 时间:
2021-04-29 12:03:00
阅读次数:
0
1. 安装ntpdate命令 [root@localhost ~]# yum install ntpdate -y 2. 用ntpdate命令对时 [root@localhost ~]# ntpdate ntp.aliyun.com 3. 写计划任务,每天进行一次对时 ...
分类:
其他好文 时间:
2021-04-29 11:52:40
阅读次数:
0
我使用的Oracle的图形工具是PL/SQL,在数据库中数据表格中手动创建一条记录时,表字段有一个timestamp(6)类型的字段,直接将其他记录的时间内容粘贴过来,保存表时报错:无效的月份。 经过查阅资料,才使用语句: UPDATE table set 字段名= to_timestamp('20 ...
分类:
数据库 时间:
2021-04-29 11:50:25
阅读次数:
0
1、利用ES6 Set去重 {}没去重 let arr = [1, 1, 'true', 'true', true, true, 15, 15, false, false, undefined, undefined, null, null, NaN, NaN, 'NaN', 'NaN', 0, 0, ...
分类:
编程语言 时间:
2021-04-29 11:48:15
阅读次数:
0
http://www.codingwhy.com/view/8733.html set MAVEN_OPTS="-Dfile.encoding=UTF-8" ...
分类:
其他好文 时间:
2021-04-29 11:41:35
阅读次数:
0
var sql = @"update [TABLE] WITH (ROWLOCK) SET 匹配方式 = '{0}' where ID in({1})"; //lissqls 是你要分组的泛型集合 var GroupList = lissqls.GroupBy(x => x.MatchType).S ...
pymysql连接数据库报错: 解决方法: 将db = pymysql.connect(“localhost”,“root”,“root”,“testdb” )修改为 db = pymysql.connect(host=“localhost”, user=“root”, password=“root ...
分类:
数据库 时间:
2021-04-28 12:07:51
阅读次数:
0
unique(arr) { const res = new Map(); return arr.filter( (arr) => !res.has(arr.strat_id) && res.set(arr.strat_id, 1) ); }, ...
分类:
编程语言 时间:
2021-04-28 12:04:33
阅读次数:
0
系统版本: [root@localhost modules]# rpm -q centos-release centos-release-7-5.1804.el7.centos.x86_64 一、yum安装PHP 1.检查当前安装的PHP包 yum list installed | grep php ...
分类:
Web程序 时间:
2021-04-28 12:02:43
阅读次数:
0