原因:这是由于系统默认会查找/usr/bin下的命令,如果这个命令不在这个目录下,当然会找不到命令,我们需要做的就是映射一个链接到/usr/bin目录下,相当于建立一个链接文件。 首先得知道mysql命令或mysqladmin命令的完整路径,比如mysql的路径是:/usr/local/mysql/ ...
分类:
数据库 时间:
2019-11-26 15:06:07
阅读次数:
90
Generating a new SSH key pair To generate a new SSH key pair, use the following command:Git Bash on Windows / GNU/Linux / macOS: The next step is to c ...
分类:
其他好文 时间:
2019-11-26 13:18:23
阅读次数:
72
@Autowired private RedisTemplate<String, Object> redisTemplate; /** * 获取分布式锁 - 过期时间 * @param key * @param expireTime 毫秒 * @return */ public Object get... ...
分类:
其他好文 时间:
2019-11-25 18:46:33
阅读次数:
48
FileSystem init() throws URISyntaxException, IOException, InterruptedException { Configuration conf=new Configuration(); conf.set("fs.defaultFS","hdfs ...
分类:
其他好文 时间:
2019-11-25 18:36:13
阅读次数:
79
Ad_Hoc临时命令的使用 1、使用场景: 所有的临时获取信息的都可以使用,比如节前健康检查、临时更新配置文件。 2、用法: ansible -i 主机 -m 模块 选项 3、常用的命令选项: -v 输出更详细的执行过程信息,-vvv可得到执行过程的所有信息 -i PATH,指定inventory信 ...
分类:
其他好文 时间:
2019-11-25 13:23:09
阅读次数:
63
io.lettuce.core.RedisCommandExecutionException: ERR unknown command 'GEOADD' at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFac ...
分类:
其他好文 时间:
2019-11-25 11:27:06
阅读次数:
227
1. Command-X:剪切; 2. Command-C:复制; 3. Command-V:粘贴; 4. Command-Z:撤销(Shift-Command-Z); 5. Command-A:全选; 6. Command-F:查找; 7. Command-G:再次查找; 8. Command-H ...
分类:
系统相关 时间:
2019-11-25 11:19:52
阅读次数:
78
注意:mac版本的,要把Ctrl换为Command。1.chrome浏览页面常用快捷键 Ctrl+N 打开新窗口。 Ctrl+T 打开新标签页。 Ctrl+W关闭当前标签 Ctrl + F4 关闭chrome浏览器 Ctrl+Tab 或 Ctrl+PgDown 切换到下一个标签页。 Ctrl+Shi ...
分类:
其他好文 时间:
2019-11-25 11:08:16
阅读次数:
549
报错: Mon Nov 25 01:09:48 CST 2019 There was an unexpected error (type=Internal Server Error, status=500). Command failed with error 13 (Unauthorized): ...
分类:
数据库 时间:
2019-11-25 09:39:51
阅读次数:
215
前言 在本地自己制作用过镜像后,上传到镜像仓库,这样方便在不同的机器上快速搭建同一套环境。 如果公开的话,别人也可以用你的镜像快速搭建环境,类似于 GitHub 本地代码上传到代码仓库,再从仓库拉取代码到本地。 新建镜像仓库 输入仓库名称和描述,可以选择公共 public 的仓库和私有 privat ...
分类:
Web程序 时间:
2019-11-24 19:57:32
阅读次数:
99