上一页 1 ··· 5 6 7 8 9
摘要: 一、安装docker 1、Docker 要求 CentOS 系统的内核版本高于 3.10 ,查看本页面的前提条件来验证你的CentOS 版本是否支持 Docker 。 root 用户登录操作! 通过 uname -r 命令查看你当前的内核版本 # uname -r 2、使用 root 权限登录 Ce 阅读全文
posted @ 2019-12-03 17:48 adao 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 查看表整体结构: desc 表名; show columns from 表名; show create table 表名; show full fields from 表名; 修改字段默认值语法: alter table 表名 alter column 字段名 drop default; (若本身存 阅读全文
posted @ 2019-11-29 10:58 adao 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 哈希表:设置秒中某个字段 HMSET KEY_NAME FIELD1 VALUE1 ...FIELDN VALUEN EX: 127.0.0.1:6380> hmset set_map LOGData '100'OK127.0.0.1:6380> hget set_map LOGData"100"1 阅读全文
posted @ 2019-11-29 10:54 adao 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 自由自在 闲话少叙... 1.查看原文件中的内容 [root@testvm02 ~]# cat nrpe.cfg #command[check_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ -c $ARG2$ #command[chec 阅读全文
posted @ 2019-09-11 16:59 adao 阅读(3328) 评论(0) 推荐(0) 编辑
摘要: 亲测客用 阅读全文
posted @ 2018-08-01 10:59 adao 阅读(3408) 评论(0) 推荐(0) 编辑
摘要: quartz任务执行报错 Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.quartz.impl.StdSchedulerFactory.<init>(StdSched 阅读全文
posted @ 2018-07-04 21:59 adao 阅读(880) 评论(0) 推荐(0) 编辑
摘要: MySQL密码正确却无法本地登录 报错如下: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 测试发现mysql库中的user表缺少一个root指向host:localhost的数 阅读全文
posted @ 2018-06-30 11:38 adao 阅读(19981) 评论(0) 推荐(0) 编辑
摘要: 自由自在 闲话少叙... 运算符优先级(从高到低列出) 运算符 描述 . [] () 字段访问、数组下标、函数调用以及表达式分组 ++ -- - ~ ! delete new typeof void 一元运算符、返回数据类型、对象创建、未定义值 * / % 乘法、除法、取模 + - + 加法、减法、 阅读全文
posted @ 2018-06-30 11:09 adao 阅读(55510) 评论(0) 推荐(1) 编辑
摘要: Document document = DocumentHelper.createDocument(); //创建root Element root = document.addElement("parameters"); //生成root的一个接点 Element param = root.add 阅读全文
posted @ 2018-05-29 16:37 adao 阅读(3194) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9